Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.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.Ancillary_StartValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues") translateModel(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.001139, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001331/0.001331, allocations: 168.7 kB / 15.95 MB, free: 204 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.754/1.754, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04541/0.04541, allocations: 9.067 MB / 279.5 MB, free: 12.25 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.0006126/0.0006127, allocations: 12 kB / 339.1 MB, free: 25.99 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.127, allocations: 49.2 MB / 388.3 MB, free: 8.742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.02597/0.153, allocations: 16.74 MB / 405.1 MB, free: 7.938 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01639/0.1695, allocations: 10.38 MB / 415.4 MB, free: 13.53 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001926/0.1697, allocations: 0 / 415.4 MB, free: 13.53 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.844e-05/0.1698, allocations: 11.92 kB / 415.5 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001462/0.1713, allocations: 286.5 kB / 415.7 MB, free: 13.24 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0194/0.1907, allocations: 4.259 MB / 420 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.191, allocations: 131.3 kB / 420.1 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.028e-05/0.1911, allocations: 4 kB / 420.1 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002927/0.1914, allocations: 79.62 kB / 420.2 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.1915, allocations: 47.83 kB / 420.3 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.1915, allocations: 8 kB / 420.3 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01773/0.2093, allocations: 6.746 MB / 427 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.588e-05/0.2094, allocations: 15.97 kB / 427 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.2095, allocations: 41.64 kB / 427.1 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.226/0.4355, allocations: 1.913 MB / 429 MB, free: 24.35 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.798e-06/0.4356, allocations: 1.688 kB / 429 MB, free: 24.35 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.4356, allocations: 0.8438 kB / 429 MB, free: 24.35 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.166e-06/0.4356, allocations: 0 / 429 MB, free: 24.35 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.003006/0.4387, allocations: 0.8018 MB / 429.8 MB, free: 23.85 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.4387, allocations: 9.531 kB / 429.8 MB, free: 23.85 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.4389, allocations: 14.11 kB / 429.8 MB, free: 23.84 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.439, allocations: 175.9 kB / 430 MB, free: 23.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.439, allocations: 2.75 kB / 430 MB, free: 23.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.4391, allocations: 3.5 kB / 430 MB, free: 23.64 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003682/0.4394, allocations: 118.2 kB / 430.1 MB, free: 23.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.4395, allocations: 1.375 kB / 430.1 MB, free: 23.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.4395, allocations: 1.062 kB / 430.1 MB, free: 23.61 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.4395, allocations: 3.109 kB / 430.1 MB, free: 23.61 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004207/0.4399, allocations: 132.8 kB / 430.2 MB, free: 23.61 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005444/0.4405, allocations: 328.6 kB / 430.6 MB, free: 23.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000465/0.4409, allocations: 118.1 kB / 430.7 MB, free: 23.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.4412, allocations: 83.38 kB / 430.7 MB, free: 23.31 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02277/0.464, allocations: 15.64 MB / 446.4 MB, free: 8.996 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.52e-05/0.4641, allocations: 33.16 kB / 446.4 MB, free: 8.957 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 6.062e-06/0.4641, allocations: 0 / 446.4 MB, free: 8.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.001286/0.4654, allocations: 256.9 kB / 446.7 MB, free: 8.918 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.4655, allocations: 55.28 kB / 446.7 MB, free: 8.855 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.4657, allocations: 131.7 kB / 446.9 MB, free: 8.758 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.4657, allocations: 26.89 kB / 446.9 MB, free: 8.727 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.4658, allocations: 98.02 kB / 447 MB, free: 8.641 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.4658, allocations: 26.53 kB / 447 MB, free: 8.621 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-06/0.4658, allocations: 1.062 kB / 447 MB, free: 8.621 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.729e-05/0.4659, allocations: 323.6 kB / 447.3 MB, free: 8.305 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.4661, allocations: 62.92 kB / 447.4 MB, free: 8.301 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.4663, allocations: 72.81 kB / 447.5 MB, free: 8.297 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.4665, allocations: 61.23 kB / 447.5 MB, free: 8.297 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4665, allocations: 2.188 kB / 447.5 MB, free: 8.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004798/0.467, allocations: 170.7 kB / 447.7 MB, free: 8.258 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.4671, allocations: 8.203 kB / 447.7 MB, free: 8.258 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4671, allocations: 0 / 447.7 MB, free: 8.258 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.4671, allocations: 1.125 kB / 447.7 MB, free: 8.258 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.4673, allocations: 32.44 kB / 447.7 MB, free: 8.258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.4673, allocations: 5.641 kB / 447.7 MB, free: 8.258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.4674, allocations: 35.09 kB / 447.8 MB, free: 8.246 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.4674, allocations: 2.688 kB / 447.8 MB, free: 8.246 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 8.284e-05/0.4675, allocations: 117.8 kB / 447.9 MB, free: 8.129 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.744e-05/0.4676, allocations: 10 kB / 447.9 MB, free: 8.125 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007837/0.4684, allocations: 424.3 kB / 448.3 MB, free: 8.059 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.4684, allocations: 2.547 kB / 448.3 MB, free: 8.059 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.4684, allocations: 3.047 kB / 448.3 MB, free: 8.059 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.4684, allocations: 1.375 kB / 448.3 MB, free: 8.059 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.4687, allocations: 286 kB / 448.6 MB, free: 7.859 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.4687, allocations: 3.469 kB / 448.6 MB, free: 7.859 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.4689, allocations: 36.39 kB / 448.6 MB, free: 7.855 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.4689, allocations: 2.25 kB / 448.6 MB, free: 7.855 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.4689, allocations: 4.609 kB / 448.6 MB, free: 7.855 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4689, allocations: 0 / 448.6 MB, free: 7.855 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4689, allocations: 1.375 kB / 448.6 MB, free: 7.855 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007365/0.4697, allocations: 453.9 kB / 449.1 MB, free: 7.699 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.4698, allocations: 113.4 kB / 449.2 MB, free: 7.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.4698, allocations: 6.391 kB / 449.2 MB, free: 7.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.47, allocations: 24.52 kB / 449.2 MB, free: 7.59 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.675e-05/0.4701, allocations: 13.52 kB / 449.2 MB, free: 7.586 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.4701, allocations: 2.562 kB / 449.2 MB, free: 7.586 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.131e-05/0.4702, allocations: 105.9 kB / 449.3 MB, free: 7.508 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4702, allocations: 0 / 449.3 MB, free: 7.508 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002266/0.4725, allocations: 447.1 kB / 449.8 MB, free: 7.43 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: 3 ($cse1.liq.phase,$cse1.vap.phase,$cse2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002107/0.4746, allocations: 0.7002 MB / 450.5 MB, free: 7.242 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005861/0.4752, allocations: 218.8 kB / 450.7 MB, free: 7.238 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4752, allocations: 0 / 450.7 MB, free: 7.238 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003089/0.4755, allocations: 183.2 kB / 450.9 MB, free: 7.227 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.4759, allocations: 32.05 kB / 450.9 MB, free: 7.227 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006632/0.4766, allocations: 437.4 kB / 451.3 MB, free: 6.996 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/0.4768, allocations: 0.7187 MB / 452 MB, free: 6.301 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.4769, allocations: 19.69 kB / 452.1 MB, free: 6.297 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.4769, allocations: 17.94 kB / 452.1 MB, free: 6.293 MB / 318.1 MB Notification: Performance of SimCode: time 1.042e-06/0.477, allocations: 1.094 kB / 452.1 MB, free: 6.293 MB / 318.1 MB Notification: Performance of Templates: time 0.02148/0.4984, allocations: 14.06 MB / 466.1 MB, free: 1.781 MB / 318.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.makefile Environment - environmentSimulation: (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe 2>&1) Environment - environmentSimulation: