Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.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_b_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, 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.08001/0.08001, allocations: 9.314 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.539/1.539, allocations: 225.7 MB / 253.5 MB, free: 10.23 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.0007498/0.00075, allocations: 90.44 kB / 306.3 MB, free: 14.06 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003938/0.0003942, allocations: 13.89 kB / 369.1 MB, free: 53.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08179/0.08221, allocations: 52.02 MB / 421.1 MB, free: 18.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.0126/0.09485, allocations: 15.75 MB / 436.9 MB, free: 2.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02249/0.1174, allocations: 26.38 MB / 463.2 MB, free: 5.922 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.1175, allocations: 4 kB / 463.2 MB, free: 5.918 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.1178, allocations: 55.77 kB / 463.3 MB, free: 5.863 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.1179, allocations: 55.53 kB / 463.4 MB, free: 5.809 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01491/0.1328, allocations: 5.292 MB / 468.6 MB, free: 0.5 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.1331, allocations: 166.9 kB / 468.8 MB, free: 344 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.37e-05/0.1332, allocations: 9.125 kB / 468.8 MB, free: 336 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.1333, allocations: 59.77 kB / 468.9 MB, free: 276 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.1334, allocations: 59.72 kB / 468.9 MB, free: 216 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.1335, allocations: 4 kB / 468.9 MB, free: 212 kB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01808/0.1515, allocations: 10.33 MB / 479.3 MB, free: 5.867 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.722e-05/0.1516, allocations: 19.91 kB / 479.3 MB, free: 5.848 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.1517, allocations: 89.38 kB / 479.4 MB, free: 5.754 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01217/0.1639, allocations: 6.074 MB / 485.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1639, allocations: 0 / 485.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1639, allocations: 0 / 485.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.1639, allocations: 0 / 485.4 MB, free: 15.67 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.003696/0.1676, allocations: 1.33 MB / 486.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.1677, allocations: 8.031 kB / 486.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.154e-05/0.1678, allocations: 20.73 kB / 486.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.1679, allocations: 184.1 kB / 487 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.1679, allocations: 12.38 kB / 487 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.1679, allocations: 16.12 kB / 487 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008801/0.1688, allocations: 327.1 kB / 487.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.1689, allocations: 0 / 487.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.1689, allocations: 8 kB / 487.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1689, allocations: 0 / 487.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000972/0.1699, allocations: 344.9 kB / 487.7 MB, free: 13.33 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009377/0.1708, allocations: 1.071 MB / 488.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008358/0.1717, allocations: 303.6 kB / 489 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/0.1719, allocations: 94.52 kB / 489.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5417/0.7136, allocations: 184.9 MB / 0.6582 GB, free: 5.426 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.7137, allocations: 30.56 kB / 0.6582 GB, free: 5.387 MB / 458.7 MB Notification: Performance of pre-optimization done (n=12): time 2.555e-06/0.7137, allocations: 4 kB / 0.6582 GB, free: 5.383 MB / 458.7 MB Notification: Performance of matching and sorting (n=12): time 0.001832/0.7155, allocations: 0.5224 MB / 0.6588 GB, free: 4.871 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.96e-05/0.7156, allocations: 114.2 kB / 0.6589 GB, free: 4.738 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.7158, allocations: 151.8 kB / 0.659 GB, free: 4.586 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.7158, allocations: 29.7 kB / 0.659 GB, free: 4.551 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/0.7159, allocations: 114.7 kB / 0.6591 GB, free: 4.449 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/0.7159, allocations: 46.39 kB / 0.6592 GB, free: 4.41 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.045e-06/0.7159, allocations: 0 / 0.6592 GB, free: 4.41 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.89e-05/0.716, allocations: 322.8 kB / 0.6595 GB, free: 4.086 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.7162, allocations: 71.94 kB / 0.6596 GB, free: 4.016 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.7164, allocations: 134.1 kB / 0.6597 GB, free: 3.863 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003931/0.7169, allocations: 204.2 kB / 0.6599 GB, free: 3.648 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.7169, allocations: 0 / 0.6599 GB, free: 3.648 MB / 458.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000531/0.7174, allocations: 231.7 kB / 0.6601 GB, free: 3.418 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.7174, allocations: 8 kB / 0.6601 GB, free: 3.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.7174, allocations: 0 / 0.6601 GB, free: 3.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.7175, allocations: 7.844 kB / 0.6601 GB, free: 3.406 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.7177, allocations: 51.97 kB / 0.6602 GB, free: 3.355 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.7177, allocations: 11.44 kB / 0.6602 GB, free: 3.348 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.7179, allocations: 42.98 kB / 0.6602 GB, free: 3.309 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.7179, allocations: 8 kB / 0.6602 GB, free: 3.301 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (state_ps.phase,state.phase,state_ph.phase,state_dT.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 9.11e-05/0.718, allocations: 122.4 kB / 0.6604 GB, free: 3.172 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.7181, allocations: 15.89 kB / 0.6604 GB, free: 3.156 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.7191, allocations: 1.14 MB / 0.6615 GB, free: 2.02 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/0.7192, allocations: 15.97 kB / 0.6615 GB, free: 2.004 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.7192, allocations: 14.25 kB / 0.6615 GB, free: 1.992 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.7192, allocations: 0 / 0.6615 GB, free: 1.992 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005705/0.7198, allocations: 0.5786 MB / 0.6621 GB, free: 1.363 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.7198, allocations: 4 kB / 0.6621 GB, free: 1.359 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.7199, allocations: 35.97 kB / 0.6621 GB, free: 1.324 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.72, allocations: 3.984 kB / 0.6621 GB, free: 1.32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.72, allocations: 8 kB / 0.6621 GB, free: 1.312 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.72, allocations: 0 / 0.6621 GB, free: 1.312 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.72, allocations: 7.938 kB / 0.6621 GB, free: 1.305 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000862/0.7209, allocations: 0.8707 MB / 0.663 GB, free: 424 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.958e-05/0.721, allocations: 124.5 kB / 0.6631 GB, free: 280 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.721, allocations: 8 kB / 0.6631 GB, free: 272 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.7213, allocations: 31.88 kB / 0.6631 GB, free: 240 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.7213, allocations: 19.92 kB / 0.6632 GB, free: 220 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.7213, allocations: 7.984 kB / 0.6632 GB, free: 212 kB / 458.7 MB Notification: Performance of sorting global known variables: time 6.632e-05/0.7214, allocations: 105.5 kB / 0.6633 GB, free: 108 kB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7214, allocations: 0 / 0.6633 GB, free: 108 kB / 458.7 MB Notification: Performance of remove unused functions: time 0.003425/0.7248, allocations: 1.436 MB / 0.6647 GB, free: 14.71 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * 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.006658/0.7315, allocations: 1.704 MB / 0.6663 GB, free: 13.15 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006411/0.7322, allocations: 326.7 kB / 0.6666 GB, free: 12.84 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.7322, allocations: 0 / 0.6666 GB, free: 12.84 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003842/0.7326, allocations: 289.3 kB / 0.6669 GB, free: 12.55 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006164/0.7332, allocations: 53.95 kB / 0.667 GB, free: 12.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009941/0.7342, allocations: 0.9079 MB / 0.6679 GB, free: 11.57 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.7345, allocations: 0.7922 MB / 0.6686 GB, free: 10.75 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000178/0.7347, allocations: 108.9 kB / 0.6687 GB, free: 10.64 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.154e-05/0.7348, allocations: 19.44 kB / 0.6688 GB, free: 10.62 MB / 474.7 MB Notification: Performance of SimCode: time 2.91e-07/0.7348, allocations: 0 / 0.6688 GB, free: 10.62 MB / 474.7 MB Notification: Performance of Templates: time 0.2311/0.9659, allocations: 51.06 MB / 0.7186 GB, free: 151.6 MB / 474.7 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe 2>&1)