Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.00158/0.00158, allocations: 104.3 kB / 19.7 MB, free: 2.152 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.001902/0.001902, allocations: 216.2 kB / 22.99 MB, free: 4.965 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1446/0.1446, allocations: 23.88 MB / 337.1 MB, free: 11 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.GasSolubility_NIST") translateModel(Chemical.Obsolete.Examples.GasSolubility_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002024/0.002024, allocations: 63.91 kB / 472.4 MB, free: 7.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.359, allocations: 59.86 MB / 0.5197 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.0128/0.3718, allocations: 12.93 MB / 0.5324 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.06049/0.4323, allocations: 43.18 MB / 0.5745 GB, free: 1.566 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00324/0.4356, allocations: 43.62 kB / 0.5746 GB, free: 1.523 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003304/0.4389, allocations: 0.9986 MB / 0.5756 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01186/0.4507, allocations: 3.434 MB / 0.5789 GB, free: 13.06 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02252/0.4732, allocations: 7.075 MB / 0.5858 GB, free: 5.949 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008588/0.4818, allocations: 4.494 MB / 0.5902 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003131/0.485, allocations: 1.925 MB / 0.5921 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003762/0.4887, allocations: 2.096 MB / 0.5941 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004942/0.4937, allocations: 2.324 MB / 0.5964 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001432/0.4951, allocations: 384 kB / 0.5968 GB, free: 10.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02096/0.5161, allocations: 5.374 MB / 0.602 GB, free: 5.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001649/0.5177, allocations: 0.8801 MB / 0.6029 GB, free: 4.387 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002629/0.5203, allocations: 1.65 MB / 0.6045 GB, free: 2.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03056/0.5509, allocations: 10.21 MB / 0.6145 GB, free: 8.473 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.5509, allocations: 0 / 0.6145 GB, free: 8.473 MB / 462.1 MB Notification: Performance of FrontEnd: time 6.532e-06/0.5509, allocations: 3.984 kB / 0.6145 GB, free: 8.469 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001645/0.5511, allocations: 0 / 0.6145 GB, free: 8.469 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.01313/0.5642, allocations: 4.725 MB / 0.6191 GB, free: 3.684 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.5642, allocations: 12.03 kB / 0.6191 GB, free: 3.672 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004563/0.5688, allocations: 0.9386 MB / 0.62 GB, free: 2.73 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003524/0.5723, allocations: 1.547 MB / 0.6215 GB, free: 1.141 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002074/0.5725, allocations: 234.5 kB / 0.6218 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006732/0.5732, allocations: 324.3 kB / 0.6221 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008055/0.5813, allocations: 4.523 MB / 0.6265 GB, free: 12 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.066e-05/0.5813, allocations: 4 kB / 0.6265 GB, free: 12 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003393/0.5817, allocations: 128 kB / 0.6266 GB, free: 11.87 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.585e-05/0.5817, allocations: 76 kB / 0.6267 GB, free: 11.8 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01018/0.5919, allocations: 6.415 MB / 0.6329 GB, free: 5.355 MB / 478.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.02313/0.615, allocations: 10.47 MB / 0.6432 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007464/0.6225, allocations: 3.727 MB / 0.6468 GB, free: 6.988 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002265/0.6248, allocations: 1.167 MB / 0.6479 GB, free: 5.812 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01639/0.6412, allocations: 6.301 MB / 0.6541 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.386e-05/0.6412, allocations: 52.06 kB / 0.6541 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 4.649e-06/0.6412, allocations: 4 kB / 0.6541 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=227): time 0.04824/0.6895, allocations: 9.394 MB / 0.6633 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.6896, allocations: 128.8 kB / 0.6634 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004447/0.694, allocations: 3.284 MB / 0.6667 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003821/0.6944, allocations: 65.7 kB / 0.6667 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00129/0.6957, allocations: 1.652 MB / 0.6683 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001001/0.6967, allocations: 0.833 MB / 0.6691 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001076/0.6978, allocations: 0.6878 MB / 0.6698 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.6979, allocations: 304.9 kB / 0.6701 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00223/0.7001, allocations: 1.424 MB / 0.6715 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003526/0.7037, allocations: 2.512 MB / 0.6739 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005586/0.7093, allocations: 3.623 MB / 0.6775 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-05/0.7093, allocations: 15.94 kB / 0.6775 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01452/0.7238, allocations: 5.035 MB / 0.6824 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.532e-05/0.7238, allocations: 20 kB / 0.6824 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.454e-05/0.7239, allocations: 36 kB / 0.6825 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006589/0.7305, allocations: 0.7037 MB / 0.6832 GB, free: 480 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003205/0.7337, allocations: 0.8386 MB / 0.684 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01697/0.7507, allocations: 10.72 MB / 0.6944 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00311/0.7538, allocations: 123.9 kB / 0.6946 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000462/0.7542, allocations: 195.9 kB / 0.6947 GB, free: 3.992 MB / 0.5294 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.001304/0.7555, allocations: 0.5476 MB / 0.6953 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007354/0.7563, allocations: 250.4 kB / 0.6955 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01166/0.7679, allocations: 3.193 MB / 0.6986 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.249e-05/0.768, allocations: 20 kB / 0.6987 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.768, allocations: 4 kB / 0.6987 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.998e-05/0.768, allocations: 15.89 kB / 0.6987 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003706/0.7717, allocations: 1.941 MB / 0.7006 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/0.7717, allocations: 7.984 kB / 0.7006 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001772/0.7735, allocations: 443.4 kB / 0.701 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006237/0.7797, allocations: 0.6647 MB / 0.7017 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002491/0.78, allocations: 83.95 kB / 0.7017 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01582/0.7958, allocations: 10.44 MB / 0.7119 GB, free: 1.652 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.758e-06/0.7958, allocations: 4 kB / 0.7119 GB, free: 1.648 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01286/0.8087, allocations: 4.137 MB / 0.716 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008337/0.8095, allocations: 238.2 kB / 0.7162 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004576/0.8099, allocations: 51.98 kB / 0.7162 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/0.8114, allocations: 56 kB / 0.7163 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004445/0.8119, allocations: 205.5 kB / 0.7165 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002023/0.8121, allocations: 91.97 kB / 0.7166 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002905/0.815, allocations: 2.27 MB / 0.7188 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.815, allocations: 3.938 kB / 0.7188 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006896/0.8219, allocations: 2.107 MB / 0.7209 GB, free: 8.391 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.005286/0.8271, allocations: 2.308 MB / 0.7231 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006934/0.8341, allocations: 3.643 MB / 0.7267 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.8341, allocations: 384 / 0.7267 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003142/0.8372, allocations: 1.773 MB / 0.7284 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002732/0.84, allocations: 485.3 kB / 0.7289 GB, free: 40 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2286/1.069, allocations: 5.223 MB / 0.734 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00159/1.07, allocations: 1.162 MB / 0.7351 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002467/1.073, allocations: 0.5937 MB / 0.7357 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000982/1.074, allocations: 395.6 kB / 0.7361 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.192e-06/1.074, allocations: 0.5 kB / 0.7361 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.0914/1.165, allocations: 75.08 MB / 0.8094 GB, free: 118.6 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.sim & ./Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.237483977994998] Failed to read output from testmodel.py, exit status != 0: 1.1740776750084478 1.1821799100000001 0.628881904 Calling exit ...