Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_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.Parameter.SinglePhase_setState,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState") translateModel(HelmholtzMedia.Examples.Parameter.SinglePhase_setState,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_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.0009067/0.0009065, allocations: 180.9 kB / 15.43 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0467/0.0467, allocations: 9.313 MB / 25.49 MB, free: 3.438 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.473/1.473, allocations: 225.7 MB / 253.5 MB, free: 10.34 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.000813/0.0008131, allocations: 96 kB / 306.3 MB, free: 14.07 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000428/0.0004281, allocations: 5.469 kB / 369.1 MB, free: 53.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1114, allocations: 52.02 MB / 421.1 MB, free: 18.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.SinglePhase_setState): time 0.01944/0.1309, allocations: 19.28 MB / 440.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02178/0.1527, allocations: 17.99 MB / 458.4 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.153, allocations: 3.938 kB / 458.4 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009794/0.154, allocations: 252.5 kB / 458.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003324/0.1543, allocations: 103.4 kB / 458.7 MB, free: 12.17 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0223/0.1766, allocations: 5.749 MB / 464.5 MB, free: 6.402 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003233/0.177, allocations: 242.7 kB / 464.7 MB, free: 6.164 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.216e-05/0.177, allocations: 21.03 kB / 464.7 MB, free: 6.145 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.1772, allocations: 91.55 kB / 464.8 MB, free: 6.055 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.1774, allocations: 63.72 kB / 464.9 MB, free: 5.992 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.1774, allocations: 0 / 464.9 MB, free: 5.992 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01861/0.196, allocations: 8.312 MB / 473.2 MB, free: 13.66 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.638e-05/0.1961, allocations: 15.92 kB / 473.2 MB, free: 13.64 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.1962, allocations: 89.39 kB / 473.3 MB, free: 13.55 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01146/0.2077, allocations: 4.104 MB / 477.4 MB, free: 9.438 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2077, allocations: 3.938 kB / 477.4 MB, free: 9.434 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.2077, allocations: 0 / 477.4 MB, free: 9.434 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.2077, allocations: 0 / 477.4 MB, free: 9.434 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.002088/0.2098, allocations: 0.9397 MB / 478.4 MB, free: 8.445 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2099, allocations: 8.031 kB / 478.4 MB, free: 8.438 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.016e-05/0.2099, allocations: 19.89 kB / 478.4 MB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.2101, allocations: 174.8 kB / 478.6 MB, free: 8.207 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.2101, allocations: 12 kB / 478.6 MB, free: 8.195 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.2101, allocations: 0 / 478.6 MB, free: 8.195 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.2103, allocations: 113.7 kB / 478.7 MB, free: 8.078 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.2103, allocations: 0 / 478.7 MB, free: 8.078 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.2104, allocations: 0 / 478.7 MB, free: 8.078 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.2104, allocations: 7.984 kB / 478.7 MB, free: 8.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.61e-05/0.2105, allocations: 75.75 kB / 478.8 MB, free: 7.996 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002425/0.2107, allocations: 249.3 kB / 479 MB, free: 7.703 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.2109, allocations: 134.4 kB / 479.1 MB, free: 7.562 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.839e-05/0.211, allocations: 104.9 kB / 479.2 MB, free: 7.457 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3235/0.5345, allocations: 91.19 MB / 0.5571 GB, free: 33.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.5346, allocations: 31.12 kB / 0.5571 GB, free: 33.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 2.205e-06/0.5346, allocations: 0 / 0.5571 GB, free: 33.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.0004165/0.535, allocations: 335.1 kB / 0.5574 GB, free: 32.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.5351, allocations: 54.41 kB / 0.5575 GB, free: 32.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.609e-05/0.5352, allocations: 97.86 kB / 0.5576 GB, free: 32.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.268e-06/0.5352, allocations: 25.7 kB / 0.5576 GB, free: 32.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.023e-05/0.5352, allocations: 81.14 kB / 0.5577 GB, free: 32.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.531e-05/0.5353, allocations: 135.1 kB / 0.5578 GB, free: 32.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.5353, allocations: 2.531 kB / 0.5578 GB, free: 32.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.436e-05/0.5354, allocations: 322.8 kB / 0.5581 GB, free: 32.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.286e-05/0.5355, allocations: 75.97 kB / 0.5582 GB, free: 31.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.943e-05/0.5355, allocations: 79.75 kB / 0.5582 GB, free: 31.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.5357, allocations: 196.7 kB / 0.5584 GB, free: 31.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.5357, allocations: 0 / 0.5584 GB, free: 31.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002112/0.5359, allocations: 236.3 kB / 0.5587 GB, free: 31.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.5359, allocations: 4 kB / 0.5587 GB, free: 31.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.5359, allocations: 4 kB / 0.5587 GB, free: 31.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.536, allocations: 1.844 kB / 0.5587 GB, free: 31.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.536, allocations: 0 / 0.5587 GB, free: 31.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.536, allocations: 3.938 kB / 0.5587 GB, free: 31.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.778e-05/0.536, allocations: 15.75 kB / 0.5587 GB, free: 31.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.5361, allocations: 0 / 0.5587 GB, free: 31.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (state.phase,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 initialization (6): * Single equations (assignments): 0 * 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.231e-05/0.5361, allocations: 125 kB / 0.5588 GB, free: 31.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.5362, allocations: 15.8 kB / 0.5588 GB, free: 31.26 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003307/0.5365, allocations: 368.3 kB / 0.5592 GB, free: 30.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.5365, allocations: 14.23 kB / 0.5592 GB, free: 30.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.5365, allocations: 3.938 kB / 0.5592 GB, free: 30.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.5365, allocations: 0 / 0.5592 GB, free: 30.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.5367, allocations: 242.7 kB / 0.5594 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5367, allocations: 0 / 0.5594 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-07/0.5367, allocations: 2.812 kB / 0.5594 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.5367, allocations: 6.719 kB / 0.5594 GB, free: 30.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.892e-06/0.5367, allocations: 0 / 0.5594 GB, free: 30.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.5367, allocations: 0 / 0.5594 GB, free: 30.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5367, allocations: 3.938 kB / 0.5594 GB, free: 30.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.5369, allocations: 221.6 kB / 0.5596 GB, free: 30.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.537, allocations: 108.8 kB / 0.5598 GB, free: 30.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.537, allocations: 0 / 0.5598 GB, free: 30.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.991e-05/0.5371, allocations: 1.625 kB / 0.5598 GB, free: 30.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.556e-05/0.5371, allocations: 7.938 kB / 0.5598 GB, free: 30.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.5371, allocations: 0 / 0.5598 GB, free: 30.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.714e-05/0.5371, allocations: 100.7 kB / 0.5599 GB, free: 30.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5371, allocations: 0 / 0.5599 GB, free: 30.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003116/0.5403, allocations: 1.09 MB / 0.5609 GB, free: 29.19 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 (5): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.004969/0.5453, allocations: 1.631 MB / 0.5625 GB, free: 27.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002376/0.5455, allocations: 175.9 kB / 0.5627 GB, free: 27.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5455, allocations: 0 / 0.5627 GB, free: 27.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.345e-05/0.5456, allocations: 87.84 kB / 0.5628 GB, free: 27.49 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008191/0.5464, allocations: 152.3 kB / 0.5629 GB, free: 27.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004612/0.5469, allocations: 362.3 kB / 0.5633 GB, free: 26.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.547, allocations: 0.7209 MB / 0.564 GB, free: 26.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.815e-05/0.5471, allocations: 6.109 kB / 0.564 GB, free: 26.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.099e-05/0.5472, allocations: 15.44 kB / 0.564 GB, free: 26.2 MB / 378.7 MB Notification: Performance of SimCode: time 1.9e-07/0.5472, allocations: 0 / 0.564 GB, free: 26.2 MB / 378.7 MB Notification: Performance of Templates: time 0.03576/0.5829, allocations: 29.28 MB / 0.5926 GB, free: 13 MB / 394.7 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe 2>&1)