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.001421/0.001421, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001973/0.001973, allocations: 192.1 kB / 16.14 MB, free: 6.703 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.378/1.378, allocations: 205.1 MB / 222 MB, free: 4.98 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04294/0.04294, allocations: 9.094 MB / 278.4 MB, free: 12.62 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.001307/0.001307, allocations: 63.91 kB / 337.3 MB, free: 25.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1093, allocations: 48.18 MB / 385.5 MB, free: 9.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.0204/0.1297, allocations: 19.4 MB / 404.9 MB, free: 6.219 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009803/0.1396, allocations: 9.647 MB / 414.6 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002822/0.1399, allocations: 4 kB / 414.6 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001462/0.1414, allocations: 394.3 kB / 414.9 MB, free: 12.15 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009124/0.1424, allocations: 230.6 kB / 415.2 MB, free: 11.92 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01387/0.1563, allocations: 3.832 MB / 419 MB, free: 8.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006501/0.1569, allocations: 389.9 kB / 419.4 MB, free: 7.707 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.974e-05/0.157, allocations: 20.39 kB / 419.4 MB, free: 7.684 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003866/0.1574, allocations: 171.1 kB / 419.6 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.1576, allocations: 99.53 kB / 419.7 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.1576, allocations: 7.938 kB / 419.7 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01313/0.1707, allocations: 6.747 MB / 426.4 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.071e-05/0.1708, allocations: 19.86 kB / 426.4 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000246/0.1711, allocations: 115.4 kB / 426.6 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2462/0.4173, allocations: 3.143 MB / 429.7 MB, free: 20.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.4174, allocations: 0 / 429.7 MB, free: 20.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4174, allocations: 0 / 429.7 MB, free: 20.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.615e-06/0.4174, allocations: 0 / 429.7 MB, free: 20.32 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.00332/0.4207, allocations: 0.8125 MB / 430.5 MB, free: 19.74 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.4208, allocations: 9.75 kB / 430.5 MB, free: 19.74 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004242/0.4212, allocations: 64.62 kB / 430.6 MB, free: 19.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.4214, allocations: 186.3 kB / 430.8 MB, free: 19.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/0.4214, allocations: 2.188 kB / 430.8 MB, free: 19.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.4214, allocations: 8.781 kB / 430.8 MB, free: 19.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004612/0.4219, allocations: 229.4 kB / 431 MB, free: 19.49 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.4219, allocations: 2.094 kB / 431 MB, free: 19.49 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.422, allocations: 0.6875 kB / 431 MB, free: 19.49 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.422, allocations: 10.53 kB / 431 MB, free: 19.49 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004681/0.4225, allocations: 223.7 kB / 431.2 MB, free: 19.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.4228, allocations: 353.2 kB / 431.6 MB, free: 19.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.4239, allocations: 349.6 kB / 431.9 MB, free: 19.24 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003597/0.4243, allocations: 252.8 kB / 432.2 MB, free: 19.22 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05071/0.475, allocations: 28.61 MB / 460.8 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.4751, allocations: 30.56 kB / 460.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 4.779e-06/0.4751, allocations: 3.656 kB / 460.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.001316/0.4764, allocations: 0.6786 MB / 461.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.4765, allocations: 56.19 kB / 461.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.4766, allocations: 110.5 kB / 461.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.4767, allocations: 33.58 kB / 461.7 MB, free: 10.35 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.4767, allocations: 82.58 kB / 461.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.4769, allocations: 232.6 kB / 462 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.499e-05/0.4769, allocations: 58.36 kB / 462 MB, free: 10.1 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.4771, allocations: 346.9 kB / 462.4 MB, free: 9.777 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/0.4774, allocations: 165.5 kB / 462.5 MB, free: 9.773 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.4776, allocations: 178 kB / 462.7 MB, free: 9.762 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000582/0.4782, allocations: 427.2 kB / 463.1 MB, free: 9.727 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4782, allocations: 5.859 kB / 463.1 MB, free: 9.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007314/0.479, allocations: 476.5 kB / 463.6 MB, free: 9.648 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.479, allocations: 5.062 kB / 463.6 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.479, allocations: 1.25 kB / 463.6 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.479, allocations: 0 / 463.6 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.4792, allocations: 25.44 kB / 463.6 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.4792, allocations: 1.312 kB / 463.6 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.4795, allocations: 39.22 kB / 463.7 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.4795, allocations: 10.61 kB / 463.7 MB, free: 9.621 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.0001627/0.4797, allocations: 137.5 kB / 463.8 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.4797, allocations: 22.06 kB / 463.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009533/0.4807, allocations: 0.77 MB / 464.6 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.887e-05/0.4807, allocations: 10.84 kB / 464.6 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.4807, allocations: 2.625 kB / 464.6 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.4807, allocations: 6.094 kB / 464.6 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003609/0.4811, allocations: 428.9 kB / 465.1 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4811, allocations: 0 / 465.1 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.4813, allocations: 25.92 kB / 465.1 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.4813, allocations: 3.188 kB / 465.1 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.4813, allocations: 3.938 kB / 465.1 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.4813, allocations: 7.953 kB / 465.1 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4813, allocations: 3.625 kB / 465.1 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006224/0.4819, allocations: 0.5126 MB / 465.6 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.4821, allocations: 121.8 kB / 465.7 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.4821, allocations: 3.656 kB / 465.7 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.4822, allocations: 10.53 kB / 465.7 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.4823, allocations: 6.141 kB / 465.7 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.4823, allocations: 9.734 kB / 465.8 MB, free: 8.902 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.757e-05/0.4823, allocations: 88.02 kB / 465.8 MB, free: 8.828 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4823, allocations: 0 / 465.8 MB, free: 8.828 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003228/0.4856, allocations: 0.7104 MB / 466.6 MB, free: 8.711 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.003754/0.4893, allocations: 1.031 MB / 467.6 MB, free: 8.445 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008171/0.4902, allocations: 443.6 kB / 468 MB, free: 8.391 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4902, allocations: 0 / 468 MB, free: 8.391 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003235/0.4905, allocations: 257.5 kB / 468.3 MB, free: 8.359 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.4917, allocations: 225.3 kB / 468.5 MB, free: 8.281 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009288/0.4926, allocations: 0.6449 MB / 469.1 MB, free: 7.918 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.493, allocations: 0.751 MB / 469.9 MB, free: 7.199 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003138/0.4933, allocations: 191.1 kB / 470.1 MB, free: 7.117 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.088e-05/0.4934, allocations: 27.98 kB / 470.1 MB, free: 7.102 MB / 334.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4934, allocations: 3.938 kB / 470.1 MB, free: 7.098 MB / 334.1 MB Notification: Performance of Templates: time 0.0371/0.5305, allocations: 26.18 MB / 496.3 MB, free: 14.88 MB / 366.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.makefile (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)