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.000909/0.000909, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001082/0.001082, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.755/1.755, allocations: 205.4 MB / 222.1 MB, free: 5.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05331/0.05331, allocations: 9.077 MB / 279.5 MB, free: 12.36 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.0008502/0.0008502, allocations: 12 kB / 339.1 MB, free: 26.02 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.136, allocations: 49.19 MB / 388.3 MB, free: 8.781 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.0236/0.1597, allocations: 17.76 MB / 406.1 MB, free: 6.953 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009479/0.1692, allocations: 8.824 MB / 414.9 MB, free: 14.11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002839/0.1696, allocations: 4 kB / 414.9 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.1707, allocations: 358.5 kB / 415.3 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000633/0.1713, allocations: 218.6 kB / 415.5 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01195/0.1833, allocations: 3.665 MB / 419.1 MB, free: 9.871 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005968/0.1839, allocations: 377.9 kB / 419.5 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.632e-05/0.184, allocations: 20.39 kB / 419.5 MB, free: 9.477 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003471/0.1844, allocations: 163.2 kB / 419.7 MB, free: 9.316 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.1846, allocations: 99.53 kB / 419.8 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.1846, allocations: 4 kB / 419.8 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01273/0.1973, allocations: 6.099 MB / 425.9 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.693e-05/0.1974, allocations: 19.86 kB / 425.9 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.1976, allocations: 77.58 kB / 426 MB, free: 3 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004253/0.2019, allocations: 1.824 MB / 427.8 MB, free: 1.172 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.2019, allocations: 0 / 427.8 MB, free: 1.172 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.531e-06/0.2019, allocations: 0 / 427.8 MB, free: 1.172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.2019, allocations: 7.938 kB / 427.8 MB, free: 1.164 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.001805/0.2038, allocations: 0.7913 MB / 428.6 MB, free: 332 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.2038, allocations: 8.031 kB / 428.6 MB, free: 324 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003395/0.2042, allocations: 67.56 kB / 428.7 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.2043, allocations: 182.8 kB / 428.9 MB, free: 32 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.2044, allocations: 12 kB / 428.9 MB, free: 20 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.2044, allocations: 4 kB / 428.9 MB, free: 16 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2388/0.4432, allocations: 231.9 kB / 429.1 MB, free: 46.14 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.4432, allocations: 0 / 429.1 MB, free: 46.14 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.4433, allocations: 2.625 kB / 429.1 MB, free: 46.14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.342e-05/0.4433, allocations: 10.19 kB / 429.1 MB, free: 46.14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004606/0.4438, allocations: 232.1 kB / 429.3 MB, free: 46.14 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.4441, allocations: 349.7 kB / 429.7 MB, free: 45.94 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008674/0.445, allocations: 351.1 kB / 430 MB, free: 45.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/0.4453, allocations: 255 kB / 430.3 MB, free: 45.89 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03954/0.4848, allocations: 27.88 MB / 458.2 MB, free: 19.81 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.4849, allocations: 34 kB / 458.2 MB, free: 19.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 2.294e-06/0.4849, allocations: 0 / 458.2 MB, free: 19.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.0011/0.486, allocations: 0.6878 MB / 458.9 MB, free: 19.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.4861, allocations: 52.56 kB / 458.9 MB, free: 19.35 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.897e-05/0.4862, allocations: 111.8 kB / 459 MB, free: 19.24 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.4862, allocations: 28.14 kB / 459.1 MB, free: 19.21 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.359e-05/0.4862, allocations: 87.61 kB / 459.1 MB, free: 19.12 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.4864, allocations: 227.5 kB / 459.4 MB, free: 18.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.859e-06/0.4864, allocations: 4 kB / 459.4 MB, free: 18.93 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.028e-05/0.4865, allocations: 341.5 kB / 459.7 MB, free: 18.6 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.4868, allocations: 181.3 kB / 459.9 MB, free: 18.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.487, allocations: 178.6 kB / 460.1 MB, free: 18.4 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.4873, allocations: 210.1 kB / 460.3 MB, free: 18.29 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4873, allocations: 0 / 460.3 MB, free: 18.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006608/0.488, allocations: 479.1 kB / 460.7 MB, free: 18.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.488, allocations: 10.38 kB / 460.7 MB, free: 18.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.488, allocations: 0 / 460.7 MB, free: 18.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.488, allocations: 1.469 kB / 460.7 MB, free: 18.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.4882, allocations: 32.31 kB / 460.8 MB, free: 18.01 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.4882, allocations: 3.953 kB / 460.8 MB, free: 18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.4884, allocations: 44.98 kB / 460.8 MB, free: 17.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.4884, allocations: 7.906 kB / 460.8 MB, free: 17.97 MB / 318.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_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 initialization (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.959e-05/0.4885, allocations: 137.1 kB / 461 MB, free: 17.85 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.4885, allocations: 23.22 kB / 461 MB, free: 17.84 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000912/0.4894, allocations: 0.7758 MB / 461.8 MB, free: 17.36 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.4895, allocations: 13.53 kB / 461.8 MB, free: 17.36 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.4895, allocations: 0 / 461.8 MB, free: 17.36 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.4895, allocations: 0 / 461.8 MB, free: 17.36 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003067/0.4898, allocations: 432 kB / 462.2 MB, free: 16.99 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4898, allocations: 1.125 kB / 462.2 MB, free: 16.99 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.49, allocations: 34.81 kB / 462.2 MB, free: 16.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.49, allocations: 3.938 kB / 462.2 MB, free: 16.97 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.49, allocations: 2.75 kB / 462.2 MB, free: 16.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.49, allocations: 0 / 462.2 MB, free: 16.97 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.49, allocations: 0 / 462.2 MB, free: 16.97 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006209/0.4906, allocations: 0.5239 MB / 462.8 MB, free: 16.64 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.326e-05/0.4907, allocations: 120.7 kB / 462.9 MB, free: 16.52 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.4907, allocations: 1.688 kB / 462.9 MB, free: 16.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.4909, allocations: 15.16 kB / 462.9 MB, free: 16.51 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.4909, allocations: 12.12 kB / 462.9 MB, free: 16.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.4909, allocations: 9.719 kB / 462.9 MB, free: 16.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.642e-05/0.491, allocations: 79.72 kB / 463 MB, free: 16.43 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.491, allocations: 0 / 463 MB, free: 16.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001977/0.493, allocations: 0.7057 MB / 463.7 MB, free: 16.37 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002303/0.4953, allocations: 1.037 MB / 464.7 MB, free: 15.99 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006191/0.4959, allocations: 453.4 kB / 465.2 MB, free: 15.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4959, allocations: 4 kB / 465.2 MB, free: 15.74 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00027/0.4962, allocations: 256.6 kB / 465.4 MB, free: 15.6 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.4972, allocations: 226.6 kB / 465.7 MB, free: 15.5 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006897/0.4979, allocations: 0.6434 MB / 466.3 MB, free: 15.02 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.4981, allocations: 0.7537 MB / 467.1 MB, free: 14.24 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002804/0.4983, allocations: 198.2 kB / 467.2 MB, free: 14.05 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.866e-05/0.4984, allocations: 19.44 kB / 467.3 MB, free: 14.03 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4984, allocations: 0 / 467.3 MB, free: 14.03 MB / 318.1 MB Notification: Performance of Templates: time 0.03097/0.5294, allocations: 25.93 MB / 493.2 MB, free: 4.137 MB / 334.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: