Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.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.SinglePhase_setState_psine_Tramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 180 kB / 15.43 MB, free: 5.777 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.07908/0.07908, allocations: 9.308 MB / 25.49 MB, free: 3.25 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.372/1.372, allocations: 225.7 MB / 253.5 MB, free: 10.08 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.0007916/0.0007916, allocations: 99.89 kB / 306.3 MB, free: 14.05 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003511, allocations: 10.88 kB / 369.1 MB, free: 53.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08668/0.08705, allocations: 52.02 MB / 421.1 MB, free: 18.76 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.01534/0.1024, allocations: 19.02 MB / 440.1 MB, free: 15.23 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01921/0.1217, allocations: 19.46 MB / 459.6 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001977/0.1219, allocations: 4 kB / 459.6 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006867/0.1226, allocations: 264.3 kB / 459.9 MB, free: 10.92 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004682/0.1231, allocations: 211.1 kB / 460.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01541/0.1385, allocations: 5.99 MB / 466 MB, free: 4.699 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003969/0.1389, allocations: 338.3 kB / 466.4 MB, free: 4.367 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.075e-05/0.139, allocations: 20.3 kB / 466.4 MB, free: 4.352 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002832/0.1393, allocations: 147.2 kB / 466.5 MB, free: 4.207 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.1394, allocations: 107.5 kB / 466.6 MB, free: 4.102 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.1394, allocations: 4 kB / 466.7 MB, free: 4.098 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0153/0.1547, allocations: 8.776 MB / 475.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.097e-05/0.1548, allocations: 19.86 kB / 475.4 MB, free: 11.28 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001877/0.155, allocations: 117.2 kB / 475.6 MB, free: 11.16 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.1654, allocations: 4.311 MB / 479.9 MB, free: 6.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1655, allocations: 0 / 479.9 MB, free: 6.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1655, allocations: 0 / 479.9 MB, free: 6.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1655, allocations: 0 / 479.9 MB, free: 6.84 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.002426/0.1679, allocations: 1.095 MB / 481 MB, free: 5.695 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.168, allocations: 8.031 kB / 481 MB, free: 5.688 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.168, allocations: 23.72 kB / 481 MB, free: 5.664 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.1682, allocations: 190.7 kB / 481.2 MB, free: 5.438 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.1682, allocations: 0 / 481.2 MB, free: 5.438 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.1682, allocations: 12 kB / 481.2 MB, free: 5.426 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003772/0.1686, allocations: 180.2 kB / 481.4 MB, free: 5.246 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1686, allocations: 0 / 481.4 MB, free: 5.246 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.1687, allocations: 0 / 481.4 MB, free: 5.246 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.1687, allocations: 15.98 kB / 481.4 MB, free: 5.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004244/0.1691, allocations: 184.2 kB / 481.6 MB, free: 5.051 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002638/0.1694, allocations: 282.1 kB / 481.8 MB, free: 4.727 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.1697, allocations: 194.9 kB / 482 MB, free: 4.527 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002593/0.17, allocations: 173.7 kB / 482.2 MB, free: 4.355 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3025/0.4725, allocations: 91.75 MB / 0.5605 GB, free: 29.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.4726, allocations: 34.56 kB / 0.5605 GB, free: 29.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 2.746e-06/0.4726, allocations: 0 / 0.5605 GB, free: 29.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.0009197/0.4735, allocations: 0.5006 MB / 0.561 GB, free: 28.97 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.4736, allocations: 55.41 kB / 0.5611 GB, free: 28.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.602e-05/0.4737, allocations: 136.8 kB / 0.5612 GB, free: 28.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.4737, allocations: 29.7 kB / 0.5612 GB, free: 28.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.888e-05/0.4737, allocations: 93.12 kB / 0.5613 GB, free: 28.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.356e-05/0.4738, allocations: 154.6 kB / 0.5615 GB, free: 28.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.4738, allocations: 0 / 0.5615 GB, free: 28.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.999e-05/0.4739, allocations: 326.8 kB / 0.5618 GB, free: 28.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.4741, allocations: 139.6 kB / 0.5619 GB, free: 28.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.4743, allocations: 133.4 kB / 0.562 GB, free: 27.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00043/0.4747, allocations: 311.3 kB / 0.5623 GB, free: 27.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4748, allocations: 0 / 0.5623 GB, free: 27.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005092/0.4753, allocations: 362.6 kB / 0.5627 GB, free: 27.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.4753, allocations: 4 kB / 0.5627 GB, free: 27.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.4753, allocations: 0 / 0.5627 GB, free: 27.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.4753, allocations: 4 kB / 0.5627 GB, free: 27.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.4755, allocations: 23.98 kB / 0.5627 GB, free: 27.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.4755, allocations: 7.922 kB / 0.5627 GB, free: 27.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.4757, allocations: 39.61 kB / 0.5628 GB, free: 27.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.4757, allocations: 4 kB / 0.5628 GB, free: 27.18 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 (12): * Single equations (assignments): 6 * 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.79e-05/0.4758, allocations: 121.8 kB / 0.5629 GB, free: 27.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.4758, allocations: 19.72 kB / 0.5629 GB, free: 27.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006567/0.4765, allocations: 434.5 kB / 0.5633 GB, free: 26.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.4765, allocations: 15.91 kB / 0.5633 GB, free: 26.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.4765, allocations: 3.938 kB / 0.5633 GB, free: 26.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4765, allocations: 0 / 0.5633 GB, free: 26.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.4767, allocations: 281.7 kB / 0.5636 GB, free: 26.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4767, allocations: 0 / 0.5636 GB, free: 26.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.4768, allocations: 42.56 kB / 0.5636 GB, free: 26.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4768, allocations: 0 / 0.5636 GB, free: 26.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.4769, allocations: 0 / 0.5636 GB, free: 26.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.4769, allocations: 4 kB / 0.5637 GB, free: 26.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.4769, allocations: 4.75 kB / 0.5637 GB, free: 26.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000577/0.4775, allocations: 395.6 kB / 0.564 GB, free: 25.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.13e-05/0.4775, allocations: 116.7 kB / 0.5641 GB, free: 25.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.4776, allocations: 3.844 kB / 0.5641 GB, free: 25.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.4777, allocations: 19.98 kB / 0.5642 GB, free: 25.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.4778, allocations: 15.92 kB / 0.5642 GB, free: 25.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.4778, allocations: 7.984 kB / 0.5642 GB, free: 25.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.375e-05/0.4778, allocations: 104.2 kB / 0.5643 GB, free: 25.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4778, allocations: 7.938 kB / 0.5643 GB, free: 25.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002149/0.48, allocations: 1.114 MB / 0.5654 GB, free: 24.59 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: 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 simulation (12): * Single equations (assignments): 6 * 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.004225/0.4842, allocations: 1.683 MB / 0.567 GB, free: 23.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005725/0.4848, allocations: 327.3 kB / 0.5673 GB, free: 22.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.4848, allocations: 0 / 0.5673 GB, free: 22.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002684/0.4851, allocations: 180.3 kB / 0.5675 GB, free: 22.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007516/0.4859, allocations: 152.7 kB / 0.5677 GB, free: 22.44 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006665/0.4865, allocations: 0.5084 MB / 0.5682 GB, free: 21.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.4867, allocations: 0.7332 MB / 0.5689 GB, free: 21.15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.4868, allocations: 15.11 kB / 0.5689 GB, free: 21.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.4868, allocations: 20.59 kB / 0.5689 GB, free: 21.12 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4868, allocations: 0 / 0.5689 GB, free: 21.12 MB / 378.7 MB Notification: Performance of Templates: time 0.03905/0.5259, allocations: 30.35 MB / 0.5985 GB, free: 6.848 MB / 394.7 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe 2>&1)