Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001956/0.001956, allocations: 107.9 kB / 16.45 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002394/0.002394, allocations: 210.4 kB / 19.43 MB, free: 3.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.607/1.607, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.165/0.165, allocations: 23.89 MB / 332.7 MB, free: 12.3 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Obsolete.Examples.GasSolubility_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST") translateModel(Chemical.Obsolete.Examples.GasSolubility_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 71.88 kB / 466.5 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3736, allocations: 59.83 MB / 0.514 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.01421/0.3878, allocations: 14.86 MB / 0.5285 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0657/0.4535, allocations: 49.31 MB / 0.5767 GB, free: 9.062 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003685/0.4571, allocations: 46.97 kB / 0.5767 GB, free: 9.039 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004446/0.4616, allocations: 1.106 MB / 0.5778 GB, free: 8.172 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01281/0.4744, allocations: 3.447 MB / 0.5812 GB, free: 5.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02334/0.4977, allocations: 6.998 MB / 0.588 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008838/0.5066, allocations: 4.506 MB / 0.5924 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004087/0.5107, allocations: 1.909 MB / 0.5943 GB, free: 8.566 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00441/0.5151, allocations: 2.1 MB / 0.5963 GB, free: 6.461 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004716/0.5198, allocations: 2.309 MB / 0.5986 GB, free: 4.145 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001709/0.5215, allocations: 380 kB / 0.599 GB, free: 3.773 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02193/0.5434, allocations: 5.589 MB / 0.6044 GB, free: 14.17 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001672/0.5451, allocations: 0.8917 MB / 0.6053 GB, free: 13.28 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003958/0.5491, allocations: 1.956 MB / 0.6072 GB, free: 11.31 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02848/0.5775, allocations: 10.24 MB / 0.6172 GB, free: 1.027 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.5775, allocations: 0 / 0.6172 GB, free: 1.027 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.268e-06/0.5775, allocations: 4 kB / 0.6172 GB, free: 1.023 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002547/0.5778, allocations: 0 / 0.6172 GB, free: 1.023 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 791 * Number of variables: 791 Notification: Performance of Generate backend data structure: time 0.01197/0.5898, allocations: 4.812 MB / 0.6219 GB, free: 12.13 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.5898, allocations: 12.03 kB / 0.6219 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004528/0.5943, allocations: 0.9347 MB / 0.6228 GB, free: 11.18 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003536/0.5979, allocations: 1.623 MB / 0.6244 GB, free: 9.508 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002452/0.5981, allocations: 234.6 kB / 0.6246 GB, free: 9.277 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008675/0.599, allocations: 324.3 kB / 0.6249 GB, free: 8.961 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0103/0.6093, allocations: 4.461 MB / 0.6293 GB, free: 4.43 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001048/0.6094, allocations: 3.938 kB / 0.6293 GB, free: 4.426 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005829/0.61, allocations: 127.9 kB / 0.6294 GB, free: 4.301 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-05/0.6101, allocations: 76 kB / 0.6295 GB, free: 4.227 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01205/0.6221, allocations: 6.365 MB / 0.6357 GB, free: 13.83 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02711/0.6492, allocations: 12.66 MB / 0.6481 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008679/0.6579, allocations: 4.479 MB / 0.6525 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002738/0.6607, allocations: 1.171 MB / 0.6536 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02142/0.6821, allocations: 12.2 MB / 0.6655 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.374e-05/0.6821, allocations: 48.25 kB / 0.6655 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=182): time 4.558e-06/0.6821, allocations: 4 kB / 0.6656 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=227): time 0.04794/0.7301, allocations: 9.881 MB / 0.6752 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.7302, allocations: 124.8 kB / 0.6753 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005393/0.7356, allocations: 3.323 MB / 0.6786 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004815/0.736, allocations: 65.7 kB / 0.6786 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001489/0.7375, allocations: 1.637 MB / 0.6802 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00113/0.7387, allocations: 0.8407 MB / 0.681 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001161/0.7398, allocations: 0.6878 MB / 0.6817 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002095/0.74, allocations: 301.1 kB / 0.682 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002375/0.7424, allocations: 1.381 MB / 0.6834 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003509/0.7459, allocations: 2.488 MB / 0.6858 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005582/0.7515, allocations: 3.584 MB / 0.6893 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.489e-05/0.7515, allocations: 8 kB / 0.6893 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01431/0.7658, allocations: 4.976 MB / 0.6942 GB, free: 14.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.271e-05/0.7659, allocations: 20 kB / 0.6942 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.046e-05/0.766, allocations: 36 kB / 0.6942 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00582/0.7718, allocations: 0.7114 MB / 0.6949 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003323/0.7751, allocations: 0.8503 MB / 0.6957 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01782/0.7929, allocations: 11.55 MB / 0.707 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003104/0.796, allocations: 116 kB / 0.7071 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006033/0.7966, allocations: 195.9 kB / 0.7073 GB, free: 388 kB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 159 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (440): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001355/0.798, allocations: 0.5474 MB / 0.7078 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008197/0.7988, allocations: 274.3 kB / 0.7081 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01166/0.8105, allocations: 3.207 MB / 0.7112 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.031e-05/0.8105, allocations: 24 kB / 0.7113 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.948e-05/0.8105, allocations: 7.984 kB / 0.7113 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-05/0.8106, allocations: 7.969 kB / 0.7113 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004985/0.8156, allocations: 2.617 MB / 0.7138 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/0.8156, allocations: 0 / 0.7138 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001929/0.8175, allocations: 451.8 kB / 0.7143 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005847/0.8233, allocations: 0.6644 MB / 0.7149 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004523/0.8238, allocations: 79.95 kB / 0.715 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.266/1.09, allocations: 11.28 MB / 0.726 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.09, allocations: 7.969 kB / 0.726 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01277/1.103, allocations: 4.164 MB / 0.7301 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008203/1.103, allocations: 333.8 kB / 0.7304 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005224/1.104, allocations: 51.94 kB / 0.7304 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00159/1.106, allocations: 51.81 kB / 0.7305 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005299/1.106, allocations: 197.5 kB / 0.7307 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002058/1.106, allocations: 100.8 kB / 0.7308 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002789/1.109, allocations: 2.34 MB / 0.7331 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.109, allocations: 0 / 0.7331 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007378/1.116, allocations: 2.111 MB / 0.7351 GB, free: 169.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (water_solution_37degC1.temperature,CO2_0.logn,O2_0.logn,water_0.logn,water_solution_37degC.temperature,CO2_37.logn,O2_37.logn,water_37.logn,water_solution_25degC.temperature,CO2_25.logn,O2_25.logn,water_25.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (236): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005986/1.122, allocations: 2.314 MB / 0.7374 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007487/1.13, allocations: 3.605 MB / 0.7409 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/1.13, allocations: 4.656 kB / 0.7409 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003362/1.133, allocations: 1.773 MB / 0.7426 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003343/1.137, allocations: 0.4999 MB / 0.7431 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/1.147, allocations: 5.223 MB / 0.7482 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001962/1.149, allocations: 1.711 MB / 0.7499 GB, free: 163 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003034/1.152, allocations: 0.6113 MB / 0.7505 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/1.153, allocations: 405.4 kB / 0.7509 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.352e-06/1.153, allocations: 0 / 0.7509 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.08565/1.239, allocations: 70.77 MB / 0.82 GB, free: 104.4 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.sim & ./Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.431034496985376] Failed to read output from testmodel.py, exit status != 0: 1.2488499898463488 1.258242473 0.677981381 Calling exit ...