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.001196/0.001196, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.0013/0.0013, allocations: 221.7 kB / 22.26 MB, free: 5.125 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.373/1.373, allocations: 230.6 MB / 256 MB, free: 7.984 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.1292/0.1292, allocations: 23.85 MB / 336.3 MB, free: 11.2 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.002119/0.002119, allocations: 78.84 kB / 471.7 MB, free: 7.188 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2844, allocations: 59.85 MB / 0.5191 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.012/0.2964, allocations: 14.95 MB / 0.5337 GB, free: 15.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05937/0.3558, allocations: 49.42 MB / 0.5819 GB, free: 9.211 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002725/0.3585, allocations: 46.78 kB / 0.582 GB, free: 9.188 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003068/0.3615, allocations: 1.101 MB / 0.583 GB, free: 8.324 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01048/0.372, allocations: 3.483 MB / 0.5864 GB, free: 4.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02245/0.3945, allocations: 7.06 MB / 0.5933 GB, free: 13.72 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007535/0.402, allocations: 4.506 MB / 0.5977 GB, free: 9.195 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002813/0.4048, allocations: 1.913 MB / 0.5996 GB, free: 7.227 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002929/0.4078, allocations: 2.096 MB / 0.6017 GB, free: 5.125 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003617/0.4114, allocations: 2.32 MB / 0.6039 GB, free: 2.797 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006012/0.412, allocations: 384 kB / 0.6043 GB, free: 2.422 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01791/0.4299, allocations: 5.585 MB / 0.6097 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001431/0.4313, allocations: 0.884 MB / 0.6106 GB, free: 11.94 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002791/0.4341, allocations: 1.96 MB / 0.6125 GB, free: 9.969 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02492/0.459, allocations: 10.24 MB / 0.6225 GB, free: 15.68 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.459, allocations: 4 kB / 0.6225 GB, free: 15.68 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.459, allocations: 0 / 0.6225 GB, free: 15.68 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.087e-05/0.4591, allocations: 4 kB / 0.6225 GB, free: 15.68 MB / 478.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.009298/0.4684, allocations: 4.744 MB / 0.6272 GB, free: 10.88 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.4684, allocations: 12.03 kB / 0.6272 GB, free: 10.86 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003992/0.4724, allocations: 0.9346 MB / 0.6281 GB, free: 9.926 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003017/0.4755, allocations: 1.543 MB / 0.6296 GB, free: 8.34 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001876/0.4756, allocations: 230.6 kB / 0.6298 GB, free: 8.113 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005054/0.4761, allocations: 324.3 kB / 0.6301 GB, free: 7.797 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007103/0.4832, allocations: 4.535 MB / 0.6346 GB, free: 3.191 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.352e-05/0.4833, allocations: 0 / 0.6346 GB, free: 3.191 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002933/0.4836, allocations: 124 kB / 0.6347 GB, free: 3.07 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.11e-05/0.4837, allocations: 76 kB / 0.6347 GB, free: 2.996 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009346/0.493, allocations: 6.478 MB / 0.6411 GB, free: 12.49 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.02131/0.5143, allocations: 12.64 MB / 0.6534 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007109/0.5214, allocations: 3.8 MB / 0.6571 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002019/0.5234, allocations: 1.179 MB / 0.6583 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0154/0.5388, allocations: 6.724 MB / 0.6648 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.5389, allocations: 56.06 kB / 0.6649 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 3.607e-06/0.5389, allocations: 0 / 0.6649 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=227): time 0.0446/0.5835, allocations: 9.407 MB / 0.6741 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.737e-05/0.5836, allocations: 136.8 kB / 0.6742 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004517/0.5881, allocations: 3.393 MB / 0.6775 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002206/0.5883, allocations: 61.7 kB / 0.6776 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001288/0.5896, allocations: 1.645 MB / 0.6792 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008613/0.5905, allocations: 0.8212 MB / 0.68 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001195/0.5917, allocations: 0.6994 MB / 0.6807 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.5918, allocations: 305.1 kB / 0.681 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002322/0.5941, allocations: 1.417 MB / 0.6823 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003399/0.5975, allocations: 2.515 MB / 0.6848 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005419/0.6029, allocations: 3.627 MB / 0.6883 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.96e-05/0.603, allocations: 12 kB / 0.6884 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.0139/0.6169, allocations: 5.051 MB / 0.6933 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.133e-05/0.6169, allocations: 20.19 kB / 0.6933 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.821e-05/0.6169, allocations: 36 kB / 0.6933 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005877/0.6228, allocations: 0.7074 MB / 0.694 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003033/0.6259, allocations: 0.8347 MB / 0.6948 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01698/0.6428, allocations: 10.95 MB / 0.7055 GB, free: 8.094 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002673/0.6455, allocations: 112 kB / 0.7056 GB, free: 7.984 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005236/0.646, allocations: 200 kB / 0.7058 GB, free: 7.789 MB / 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.001324/0.6474, allocations: 0.5479 MB / 0.7064 GB, free: 7.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007639/0.6481, allocations: 266.3 kB / 0.7066 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/0.6597, allocations: 3.215 MB / 0.7098 GB, free: 3.727 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.31e-05/0.6597, allocations: 24 kB / 0.7098 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.646e-05/0.6597, allocations: 11.94 kB / 0.7098 GB, free: 3.691 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.019e-05/0.6597, allocations: 11.95 kB / 0.7098 GB, free: 3.68 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004517/0.6643, allocations: 2.588 MB / 0.7123 GB, free: 1.004 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.116e-05/0.6643, allocations: 0 / 0.7123 GB, free: 1.004 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001758/0.666, allocations: 451.8 kB / 0.7128 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005782/0.6718, allocations: 0.6645 MB / 0.7134 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002263/0.672, allocations: 79.97 kB / 0.7135 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01605/0.6881, allocations: 10.68 MB / 0.7239 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.6881, allocations: 4 kB / 0.7239 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01324/0.7013, allocations: 4.153 MB / 0.728 GB, free: 212 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2068/0.9081, allocations: 248.8 kB / 0.7282 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008454/0.909, allocations: 55.38 kB / 0.7283 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/0.9106, allocations: 50.64 kB / 0.7283 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004636/0.9111, allocations: 205.5 kB / 0.7285 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002083/0.9113, allocations: 97.14 kB / 0.7286 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002585/0.9139, allocations: 2.393 MB / 0.7309 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.9139, allocations: 1.156 kB / 0.7309 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005348/0.9192, allocations: 2.11 MB / 0.733 GB, free: 174.1 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.003861/0.9231, allocations: 2.32 MB / 0.7353 GB, free: 174 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005504/0.9286, allocations: 3.645 MB / 0.7388 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.9286, allocations: 3.375 kB / 0.7388 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002505/0.9311, allocations: 1.771 MB / 0.7406 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002484/0.9336, allocations: 0.4995 MB / 0.741 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007554/0.9411, allocations: 5.227 MB / 0.7462 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001325/0.9424, allocations: 1.718 MB / 0.7478 GB, free: 168 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002216/0.9447, allocations: 0.6154 MB / 0.7484 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008049/0.9455, allocations: 407.2 kB / 0.7488 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of SimCode: time 8.32e-07/0.9455, allocations: 0 / 0.7488 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.07831/1.024, allocations: 72.95 MB / 0.8201 GB, free: 108.8 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.784694337984547] Failed to read output from testmodel.py, exit status != 0: 1.0319402029272169 1.0400755609999999 0.578806935 Calling exit ...