Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HelmholtzMedia with version (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState") translateModel(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.001151, allocations: 173.8 kB / 15.43 MB, free: 5.887 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04727/0.04727, allocations: 9.308 MB / 25.49 MB, free: 3.375 MB / 18.57 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 225.7 MB / 253.5 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008001/0.0008001, allocations: 104.2 kB / 306.3 MB, free: 14.05 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003636, allocations: 8 kB / 369.1 MB, free: 53.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08934/0.08973, allocations: 52.02 MB / 421.1 MB, free: 18.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState): time 0.01315/0.1029, allocations: 18.83 MB / 439.9 MB, free: 15.42 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01613/0.1191, allocations: 18.63 MB / 458.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.1193, allocations: 0 / 458.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006897/0.12, allocations: 254.8 kB / 458.8 MB, free: 12.02 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004566/0.1205, allocations: 203.1 kB / 459 MB, free: 11.82 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01535/0.1358, allocations: 5.822 MB / 464.8 MB, free: 5.973 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003873/0.1362, allocations: 282.4 kB / 465.1 MB, free: 5.695 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.87e-05/0.1363, allocations: 9.688 kB / 465.1 MB, free: 5.688 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002447/0.1366, allocations: 123.3 kB / 465.2 MB, free: 5.566 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.1367, allocations: 63.72 kB / 465.3 MB, free: 5.504 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.1367, allocations: 8 kB / 465.3 MB, free: 5.496 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01646/0.1532, allocations: 8.371 MB / 473.7 MB, free: 13.11 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.1533, allocations: 15.88 kB / 473.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001996/0.1535, allocations: 105.3 kB / 473.8 MB, free: 12.98 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01255/0.166, allocations: 4.225 MB / 478 MB, free: 8.746 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1661, allocations: 0 / 478 MB, free: 8.746 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1661, allocations: 0 / 478 MB, free: 8.746 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.1661, allocations: 4 kB / 478 MB, free: 8.742 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.00208/0.1682, allocations: 0.9824 MB / 479 MB, free: 7.711 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1682, allocations: 12.03 kB / 479 MB, free: 7.699 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.221e-05/0.1683, allocations: 15.81 kB / 479 MB, free: 7.684 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.1684, allocations: 182.7 kB / 479.2 MB, free: 7.465 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.1685, allocations: 0 / 479.2 MB, free: 7.465 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.1685, allocations: 4 kB / 479.2 MB, free: 7.461 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/0.1688, allocations: 172.4 kB / 479.4 MB, free: 7.281 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1688, allocations: 4 kB / 479.4 MB, free: 7.277 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1688, allocations: 4 kB / 479.4 MB, free: 7.273 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.1689, allocations: 7.984 kB / 479.4 MB, free: 7.266 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002359/0.1691, allocations: 111.9 kB / 479.5 MB, free: 7.156 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006344/0.1697, allocations: 0.5473 MB / 480.1 MB, free: 6.555 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.17, allocations: 134.5 kB / 480.2 MB, free: 6.414 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.1702, allocations: 136.8 kB / 480.3 MB, free: 6.277 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2872/0.4573, allocations: 83.47 MB / 0.5506 GB, free: 40.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.4574, allocations: 30.56 kB / 0.5506 GB, free: 40.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 2.675e-06/0.4574, allocations: 2 kB / 0.5506 GB, free: 40.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005926/0.458, allocations: 372.4 kB / 0.551 GB, free: 40.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.4581, allocations: 51.41 kB / 0.551 GB, free: 39.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.604e-05/0.4581, allocations: 121.7 kB / 0.5511 GB, free: 39.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.4582, allocations: 29.7 kB / 0.5512 GB, free: 39.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.4582, allocations: 92.41 kB / 0.5513 GB, free: 39.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.536e-05/0.4583, allocations: 126.2 kB / 0.5514 GB, free: 39.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-06/0.4583, allocations: 4 kB / 0.5514 GB, free: 39.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.679e-05/0.4583, allocations: 326.8 kB / 0.5517 GB, free: 39.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.4585, allocations: 89.7 kB / 0.5518 GB, free: 39.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.4586, allocations: 125.8 kB / 0.5519 GB, free: 39.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.4589, allocations: 243.2 kB / 0.5521 GB, free: 38.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.4589, allocations: 4 kB / 0.5521 GB, free: 38.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003404/0.4593, allocations: 279.7 kB / 0.5524 GB, free: 38.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.4593, allocations: 8 kB / 0.5524 GB, free: 38.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.4593, allocations: 0 / 0.5524 GB, free: 38.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.4593, allocations: 3.281 kB / 0.5524 GB, free: 38.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.572e-05/0.4594, allocations: 15.98 kB / 0.5524 GB, free: 38.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.4594, allocations: 0 / 0.5524 GB, free: 38.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.4595, allocations: 27.69 kB / 0.5525 GB, free: 38.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.4596, allocations: 4.703 kB / 0.5525 GB, free: 38.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (state_dT.phase,state_pd.phase,state_ph.phase,state_ps.phase,state_Ts.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 7.207e-05/0.4596, allocations: 135.4 kB / 0.5526 GB, free: 38.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.4597, allocations: 15.81 kB / 0.5526 GB, free: 38.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004542/0.4601, allocations: 306.6 kB / 0.5529 GB, free: 38.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.4602, allocations: 15.8 kB / 0.5529 GB, free: 38.03 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.4602, allocations: 0 / 0.5529 GB, free: 38.03 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.4602, allocations: 0 / 0.5529 GB, free: 38.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.4604, allocations: 272.5 kB / 0.5532 GB, free: 37.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.4604, allocations: 0.875 kB / 0.5532 GB, free: 37.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.919e-05/0.4605, allocations: 11.98 kB / 0.5532 GB, free: 37.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.4605, allocations: 0 / 0.5532 GB, free: 37.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.4605, allocations: 4 kB / 0.5532 GB, free: 37.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.4605, allocations: 4 kB / 0.5532 GB, free: 37.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4605, allocations: 3.312 kB / 0.5532 GB, free: 37.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.4609, allocations: 386.7 kB / 0.5536 GB, free: 37.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.958e-05/0.4609, allocations: 108.8 kB / 0.5537 GB, free: 37.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.4609, allocations: 0 / 0.5537 GB, free: 37.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.461, allocations: 15.72 kB / 0.5537 GB, free: 37.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.4611, allocations: 7.984 kB / 0.5537 GB, free: 37.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.4611, allocations: 0 / 0.5537 GB, free: 37.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.083e-05/0.4611, allocations: 95.31 kB / 0.5538 GB, free: 37.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4611, allocations: 0 / 0.5538 GB, free: 37.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002042/0.4632, allocations: 1.104 MB / 0.5549 GB, free: 36.13 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (state_dT.phase,state_pd.phase,state_ph.phase,state_ps.phase,state_Ts.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.004253/0.4675, allocations: 1.668 MB / 0.5565 GB, free: 34.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004016/0.4679, allocations: 264.4 kB / 0.5567 GB, free: 34.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4679, allocations: 4 kB / 0.5567 GB, free: 34.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.4681, allocations: 153.8 kB / 0.5569 GB, free: 34.22 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008283/0.4689, allocations: 151.6 kB / 0.557 GB, free: 34.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004745/0.4694, allocations: 420.9 kB / 0.5574 GB, free: 33.63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.4695, allocations: 0.725 MB / 0.5581 GB, free: 32.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.382e-05/0.4696, allocations: 15.09 kB / 0.5582 GB, free: 32.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/0.4696, allocations: 15.44 kB / 0.5582 GB, free: 32.85 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4696, allocations: 0 / 0.5582 GB, free: 32.85 MB / 378.7 MB Notification: Performance of Templates: time 0.03357/0.5032, allocations: 29.61 MB / 0.5871 GB, free: 3.324 MB / 378.7 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe 2>&1)