Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.ConvergenceTest.setSat,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat") translateModel(HelmholtzMedia.Examples.ConvergenceTest.setSat,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007953/0.0007953, allocations: 97.8 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006015/0.006015, allocations: 170.2 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.4 MB / 222.4 MB, free: 5.805 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05099/0.05099, allocations: 9.071 MB / 279.8 MB, free: 12.39 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007033/0.0007034, allocations: 12.78 kB / 339.7 MB, free: 25.68 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1199, allocations: 49.19 MB / 388.9 MB, free: 8.438 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.02281/0.1428, allocations: 18.87 MB / 407.8 MB, free: 5.484 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.1532, allocations: 9.558 MB / 417.4 MB, free: 11.9 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002634/0.1535, allocations: 4 kB / 417.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.1549, allocations: 398.3 kB / 417.7 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006793/0.1555, allocations: 230.6 kB / 418 MB, free: 11.28 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01366/0.1692, allocations: 3.845 MB / 421.8 MB, free: 7.438 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006369/0.1699, allocations: 389.8 kB / 422.2 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.941e-05/0.17, allocations: 24.38 kB / 422.2 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004092/0.1704, allocations: 171.1 kB / 422.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.1706, allocations: 99.53 kB / 422.5 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.1706, allocations: 4 kB / 422.5 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2766/0.4472, allocations: 6.75 MB / 429.2 MB, free: 20.29 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.362e-05/0.4473, allocations: 14.84 kB / 429.3 MB, free: 20.29 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003352/0.4477, allocations: 139.9 kB / 429.4 MB, free: 20.26 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01388/0.4616, allocations: 3.142 MB / 432.5 MB, free: 20.24 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.4616, allocations: 0.9375 kB / 432.5 MB, free: 20.24 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.4616, allocations: 0 / 432.5 MB, free: 20.24 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.4617, allocations: 0 / 432.5 MB, free: 20.24 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.003391/0.4651, allocations: 0.7964 MB / 433.3 MB, free: 19.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.4651, allocations: 12.81 kB / 433.3 MB, free: 19.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004267/0.4655, allocations: 59.92 kB / 433.4 MB, free: 19.65 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.4657, allocations: 192.8 kB / 433.6 MB, free: 19.45 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.105e-05/0.4658, allocations: 3.469 kB / 433.6 MB, free: 19.45 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.4658, allocations: 6.156 kB / 433.6 MB, free: 19.45 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005197/0.4663, allocations: 233.2 kB / 433.8 MB, free: 19.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.4664, allocations: 2.875 kB / 433.8 MB, free: 19.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.4664, allocations: 0 / 433.8 MB, free: 19.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.674e-05/0.4664, allocations: 13.69 kB / 433.8 MB, free: 19.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005824/0.467, allocations: 228.6 kB / 434.1 MB, free: 19.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000441/0.4675, allocations: 359.3 kB / 434.4 MB, free: 19.19 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.4685, allocations: 349.7 kB / 434.8 MB, free: 19.16 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003782/0.4689, allocations: 261.5 kB / 435 MB, free: 19.14 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05026/0.5192, allocations: 27.88 MB / 462.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/0.5193, allocations: 34.44 kB / 462.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 4.658e-06/0.5193, allocations: 3.375 kB / 462.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.001367/0.5207, allocations: 0.6929 MB / 463.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/0.5208, allocations: 56.45 kB / 463.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.5209, allocations: 113.3 kB / 463.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.5209, allocations: 26.8 kB / 463.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.521, allocations: 89.98 kB / 463.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.5212, allocations: 223.2 kB / 464.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.834e-05/0.5213, allocations: 45 kB / 464.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.5214, allocations: 336.4 kB / 464.5 MB, free: 9.785 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004786/0.5219, allocations: 175.3 kB / 464.7 MB, free: 9.781 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003769/0.5223, allocations: 186.3 kB / 464.8 MB, free: 9.766 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008159/0.5231, allocations: 439.9 kB / 465.3 MB, free: 9.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.5232, allocations: 1.375 kB / 465.3 MB, free: 9.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009823/0.5241, allocations: 488 kB / 465.8 MB, free: 9.648 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.5242, allocations: 9.781 kB / 465.8 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.5242, allocations: 0 / 465.8 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.5242, allocations: 1.375 kB / 465.8 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.5244, allocations: 36.09 kB / 465.8 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.5244, allocations: 1.312 kB / 465.8 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/0.5247, allocations: 35.45 kB / 465.8 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.5247, allocations: 2.75 kB / 465.8 MB, free: 9.613 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (sat_dv.vap.phase,sat_dv.liq.phase,sat_dl.vap.phase,sat_dl.liq.phase,sat_p.vap.phase,sat_p.liq.phase,sat_T.vap.phase,sat_T.liq.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001758/0.5249, allocations: 138.9 kB / 466 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.947e-05/0.5249, allocations: 24.06 kB / 466 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/0.5261, allocations: 0.7811 MB / 466.8 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.304e-05/0.5261, allocations: 14.56 kB / 466.8 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.5261, allocations: 0 / 466.8 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.5262, allocations: 0 / 466.8 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006434/0.5268, allocations: 440.8 kB / 467.2 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.5268, allocations: 0 / 467.2 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.527, allocations: 36.09 kB / 467.3 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.527, allocations: 0 / 467.3 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.527, allocations: 7.344 kB / 467.3 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.527, allocations: 0 / 467.3 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.527, allocations: 0 / 467.3 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007801/0.5278, allocations: 0.5277 MB / 467.8 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/0.528, allocations: 127.4 kB / 467.9 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.5281, allocations: 3.875 kB / 467.9 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.5282, allocations: 14.98 kB / 467.9 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.385e-05/0.5283, allocations: 13.36 kB / 468 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.5283, allocations: 3.156 kB / 468 MB, free: 8.691 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.424e-05/0.5284, allocations: 91.47 kB / 468 MB, free: 8.613 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5284, allocations: 0 / 468 MB, free: 8.613 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.004117/0.5325, allocations: 0.706 MB / 468.8 MB, free: 8.477 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (sat_T.liq.phase,sat_T.vap.phase,sat_p.liq.phase,sat_p.vap.phase,sat_dl.liq.phase,sat_dl.vap.phase,sat_dv.liq.phase,sat_dv.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006738/0.5392, allocations: 1.026 MB / 469.8 MB, free: 8.141 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009198/0.5402, allocations: 457 kB / 470.2 MB, free: 8.082 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5402, allocations: 0 / 470.2 MB, free: 8.082 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000374/0.5406, allocations: 257.5 kB / 470.5 MB, free: 8.055 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.5419, allocations: 224.6 kB / 470.7 MB, free: 7.969 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009812/0.5429, allocations: 0.6572 MB / 471.3 MB, free: 7.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.5433, allocations: 0.7554 MB / 472.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003792/0.5437, allocations: 196 kB / 472.3 MB, free: 6.781 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.416e-05/0.5437, allocations: 23.3 kB / 472.3 MB, free: 6.77 MB / 334.1 MB Notification: Performance of SimCode: time 5.82e-07/0.5437, allocations: 0 / 472.3 MB, free: 6.77 MB / 334.1 MB Notification: Performance of Templates: time 0.04458/0.5883, allocations: 26.17 MB / 498.5 MB, free: 14.93 MB / 366.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.makefile Environment - environmentSimulation: (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe 2>&1) Environment - environmentSimulation: