Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.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_Transport,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009359/0.0009359, allocations: 178.8 kB / 15.43 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04738/0.04738, allocations: 9.311 MB / 25.49 MB, free: 3.258 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.359/1.359, allocations: 225.7 MB / 253.5 MB, free: 8.984 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.0007638/0.0007638, allocations: 87.94 kB / 306.3 MB, free: 14.07 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003437, allocations: 10.03 kB / 369.1 MB, free: 52.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09431/0.09468, allocations: 52.02 MB / 421.1 MB, free: 18.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.01282/0.1075, allocations: 18.36 MB / 439.5 MB, free: 16 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01048/0.1181, allocations: 11.63 MB / 451.1 MB, free: 3.898 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.1183, allocations: 0 / 451.1 MB, free: 3.898 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007349/0.119, allocations: 252.1 kB / 451.4 MB, free: 3.652 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003468/0.1194, allocations: 127.7 kB / 451.5 MB, free: 3.527 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/Transport/thermalConductivity_dilute.mo:2:1-75:31:writable] Warning: Pure function ‘HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.Medium.Transport.thermalConductivity_dilute‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.01209/0.1315, allocations: 4.795 MB / 456.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.1317, allocations: 151.2 kB / 456.4 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.722e-05/0.1317, allocations: 9.406 kB / 456.4 MB, free: 14.55 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.1319, allocations: 79.58 kB / 456.5 MB, free: 14.48 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.175e-05/0.132, allocations: 51.77 kB / 456.6 MB, free: 14.43 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.1321, allocations: 4 kB / 456.6 MB, free: 14.42 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0126/0.1447, allocations: 7.775 MB / 464.3 MB, free: 6.625 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.669e-05/0.1447, allocations: 11.92 kB / 464.3 MB, free: 6.613 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.141e-05/0.1448, allocations: 73.44 kB / 464.4 MB, free: 6.535 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007198/0.152, allocations: 3.344 MB / 467.8 MB, free: 3.184 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1521, allocations: 4 kB / 467.8 MB, free: 3.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1521, allocations: 0 / 467.8 MB, free: 3.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1521, allocations: 0 / 467.8 MB, free: 3.18 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001372/0.1535, allocations: 0.8031 MB / 468.6 MB, free: 2.328 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.1535, allocations: 8.031 kB / 468.6 MB, free: 2.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.1536, allocations: 11.84 kB / 468.6 MB, free: 2.309 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.1537, allocations: 186.8 kB / 468.8 MB, free: 2.086 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.1537, allocations: 0 / 468.8 MB, free: 2.086 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.1537, allocations: 4 kB / 468.8 MB, free: 2.082 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003131/0.154, allocations: 137.5 kB / 468.9 MB, free: 1.941 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.1541, allocations: 0 / 468.9 MB, free: 1.941 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1541, allocations: 0 / 468.9 MB, free: 1.941 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1541, allocations: 0 / 468.9 MB, free: 1.941 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000411/0.1545, allocations: 171.9 kB / 469.1 MB, free: 1.773 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000464/0.155, allocations: 344.8 kB / 469.4 MB, free: 1.387 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.1553, allocations: 126.5 kB / 469.5 MB, free: 1.254 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/0.1555, allocations: 108.8 kB / 469.6 MB, free: 1.145 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01033/0.1658, allocations: 8.238 MB / 477.9 MB, free: 7.371 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.1659, allocations: 34.56 kB / 477.9 MB, free: 7.328 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 3.967e-06/0.1659, allocations: 3.984 kB / 477.9 MB, free: 7.324 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007718/0.1667, allocations: 325.3 kB / 478.2 MB, free: 7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.1667, allocations: 55.41 kB / 478.3 MB, free: 6.934 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.942e-05/0.1668, allocations: 135.3 kB / 478.4 MB, free: 6.793 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.1669, allocations: 29.7 kB / 478.5 MB, free: 6.758 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.1669, allocations: 92.34 kB / 478.5 MB, free: 6.664 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.167, allocations: 39.45 kB / 478.6 MB, free: 6.625 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.167, allocations: 0 / 478.6 MB, free: 6.625 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1671, allocations: 322.8 kB / 478.9 MB, free: 6.301 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.1673, allocations: 95.88 kB / 479 MB, free: 6.207 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.1675, allocations: 87.94 kB / 479.1 MB, free: 6.121 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003954/0.1679, allocations: 193.2 kB / 479.3 MB, free: 5.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1679, allocations: 0 / 479.3 MB, free: 5.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004471/0.1684, allocations: 221.5 kB / 479.5 MB, free: 5.707 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.1684, allocations: 8 kB / 479.5 MB, free: 5.699 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1684, allocations: 0 / 479.5 MB, free: 5.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1684, allocations: 4 kB / 479.5 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.1686, allocations: 31.91 kB / 479.5 MB, free: 5.664 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1686, allocations: 0 / 479.5 MB, free: 5.664 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.1687, allocations: 27.83 kB / 479.6 MB, free: 5.637 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.1687, allocations: 3.984 kB / 479.6 MB, free: 5.633 MB / 346.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: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 8.902e-05/0.1688, allocations: 121.8 kB / 479.7 MB, free: 5.504 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.1689, allocations: 11.91 kB / 479.7 MB, free: 5.492 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006038/0.1695, allocations: 250.2 kB / 479.9 MB, free: 5.242 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.1695, allocations: 0 / 479.9 MB, free: 5.242 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1695, allocations: 3.938 kB / 479.9 MB, free: 5.238 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-06/0.1695, allocations: 8 kB / 479.9 MB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.1697, allocations: 221.5 kB / 480.2 MB, free: 4.965 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1698, allocations: 3.938 kB / 480.2 MB, free: 4.961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.1699, allocations: 27.97 kB / 480.2 MB, free: 4.934 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1699, allocations: 0 / 480.2 MB, free: 4.934 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.1699, allocations: 4 kB / 480.2 MB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1699, allocations: 0 / 480.2 MB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1699, allocations: 3.984 kB / 480.2 MB, free: 4.926 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005082/0.1705, allocations: 327.6 kB / 480.5 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.163e-05/0.1705, allocations: 100.8 kB / 480.6 MB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.1706, allocations: 4 kB / 480.6 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.1707, allocations: 23.98 kB / 480.6 MB, free: 4.445 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.1708, allocations: 11.92 kB / 480.7 MB, free: 4.434 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.1708, allocations: 0 / 480.7 MB, free: 4.434 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.41e-05/0.1708, allocations: 105.1 kB / 480.8 MB, free: 4.332 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1708, allocations: 0 / 480.8 MB, free: 4.332 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001685/0.1725, allocations: 0.7184 MB / 481.5 MB, free: 3.613 MB / 346.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: 1 (state.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): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002979/0.1755, allocations: 1.237 MB / 482.7 MB, free: 2.383 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005032/0.176, allocations: 203.9 kB / 482.9 MB, free: 2.184 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1761, allocations: 0 / 482.9 MB, free: 2.184 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.1763, allocations: 107.9 kB / 483 MB, free: 2.078 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.1767, allocations: 39.89 kB / 483.1 MB, free: 2.039 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006689/0.1774, allocations: 327 kB / 483.4 MB, free: 1.691 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.1778, allocations: 0.7043 MB / 484.1 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.388e-05/0.1778, allocations: 7.938 kB / 484.1 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.923e-05/0.1779, allocations: 15.44 kB / 484.1 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1779, allocations: 0 / 484.1 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of Templates: time 0.03246/0.2104, allocations: 23.61 MB / 0.4958 GB, free: 9.316 MB / 378.7 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe 2>&1)