Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009383/0.0009383, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 177 kB / 23.36 MB, free: 1.125 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9901/0.9901, allocations: 177.2 MB / 203.8 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.03069/0.03069, allocations: 7.522 MB / 267.8 MB, free: 5.855 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 285.9 MB, free: 3.773 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.094e-05, allocations: 2.312 kB / 285.9 MB, free: 3.77 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.1242/0.1242, allocations: 13.29 MB / 299.1 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01337/0.1376, allocations: 17.34 MB / 316.5 MB, free: 2.539 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.1378, allocations: 4 kB / 316.5 MB, free: 2.535 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.138, allocations: 43.67 kB / 316.5 MB, free: 2.492 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.1381, allocations: 71.33 kB / 316.6 MB, free: 2.422 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01471/0.1528, allocations: 6.158 MB / 322.8 MB, free: 12.25 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000234/0.153, allocations: 184.3 kB / 322.9 MB, free: 12.07 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.487e-05/0.1531, allocations: 6.344 kB / 322.9 MB, free: 12.06 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.1533, allocations: 79.86 kB / 323 MB, free: 11.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.917e-05/0.1533, allocations: 51.83 kB / 323.1 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.1533, allocations: 4 kB / 323.1 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01685/0.1702, allocations: 11.1 MB / 334.2 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.421e-05/0.1702, allocations: 23.84 kB / 334.2 MB, free: 0.793 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.544e-05/0.1703, allocations: 47.92 kB / 334.3 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0142/0.1845, allocations: 7.784 MB / 342 MB, free: 8.945 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1845, allocations: 4 kB / 342 MB, free: 8.941 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1845, allocations: 0 / 342 MB, free: 8.941 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1845, allocations: 0 / 342 MB, free: 8.941 MB / 298.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.003205/0.1878, allocations: 1.317 MB / 343.4 MB, free: 7.594 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1878, allocations: 12.62 kB / 343.4 MB, free: 7.582 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.1879, allocations: 27.11 kB / 343.4 MB, free: 7.559 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.1881, allocations: 157.5 kB / 343.5 MB, free: 7.379 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1881, allocations: 8.375 kB / 343.6 MB, free: 7.371 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.1881, allocations: 12.38 kB / 343.6 MB, free: 7.359 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000529/0.1886, allocations: 301.9 kB / 343.9 MB, free: 7.039 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1886, allocations: 3.938 kB / 343.9 MB, free: 7.035 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.1886, allocations: 8 kB / 343.9 MB, free: 7.027 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1887, allocations: 4 kB / 343.9 MB, free: 7.023 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003789/0.189, allocations: 195.7 kB / 344.1 MB, free: 6.832 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005292/0.1896, allocations: 0.7037 MB / 344.8 MB, free: 6.094 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004381/0.19, allocations: 227.6 kB / 345 MB, free: 5.844 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.048e-05/0.19, allocations: 38.56 kB / 345 MB, free: 5.797 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6634/0.8534, allocations: 240.5 MB / 0.5718 GB, free: 137.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.8534, allocations: 41.25 kB / 0.5718 GB, free: 137.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 2.625e-06/0.8534, allocations: 1.219 kB / 0.5719 GB, free: 137.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.001057/0.8545, allocations: 394.2 kB / 0.5722 GB, free: 137.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.8545, allocations: 107.9 kB / 0.5723 GB, free: 137.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.886e-05/0.8546, allocations: 158.8 kB / 0.5725 GB, free: 137.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.8546, allocations: 31.03 kB / 0.5725 GB, free: 137.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.8547, allocations: 108.2 kB / 0.5726 GB, free: 137.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.8547, allocations: 48.33 kB / 0.5727 GB, free: 137.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.8547, allocations: 43 kB / 0.5727 GB, free: 137.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.803e-05/0.8548, allocations: 320.3 kB / 0.573 GB, free: 136.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.997e-05/0.8548, allocations: 11.56 kB / 0.573 GB, free: 136.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.828e-05/0.8549, allocations: 71.89 kB / 0.5731 GB, free: 136.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.676e-05/0.855, allocations: 101.4 kB / 0.5732 GB, free: 136.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.855, allocations: 1.781 kB / 0.5732 GB, free: 136.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001351/0.8551, allocations: 103.7 kB / 0.5733 GB, free: 136.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.8551, allocations: 10.91 kB / 0.5733 GB, free: 136.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.8551, allocations: 1.969 kB / 0.5733 GB, free: 136.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.8551, allocations: 7.406 kB / 0.5733 GB, free: 136.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.8553, allocations: 41.89 kB / 0.5733 GB, free: 136.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.8553, allocations: 4.062 kB / 0.5733 GB, free: 136.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.979e-05/0.8554, allocations: 20.62 kB / 0.5734 GB, free: 136.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.8554, allocations: 9.406 kB / 0.5734 GB, free: 136.6 MB / 410.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_dT.phase,state_ph.phase,state.phase,state_ps.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 5.984e-05/0.8554, allocations: 122.6 kB / 0.5735 GB, free: 136.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.882e-05/0.8555, allocations: 14.58 kB / 0.5735 GB, free: 136.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006484/0.8561, allocations: 0.6596 MB / 0.5741 GB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-05/0.8562, allocations: 19.52 kB / 0.5742 GB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.8562, allocations: 1.75 kB / 0.5742 GB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.8562, allocations: 2.547 kB / 0.5742 GB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003752/0.8565, allocations: 320.8 kB / 0.5745 GB, free: 136.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.8565, allocations: 0.8438 kB / 0.5745 GB, free: 136.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.252e-05/0.8566, allocations: 33.12 kB / 0.5745 GB, free: 136.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.8566, allocations: 1.906 kB / 0.5745 GB, free: 136.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.8566, allocations: 6.875 kB / 0.5745 GB, free: 136.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.8566, allocations: 1.656 kB / 0.5745 GB, free: 136.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.8566, allocations: 1.469 kB / 0.5745 GB, free: 136.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.857, allocations: 0.6267 MB / 0.5751 GB, free: 135.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.725e-05/0.857, allocations: 51.92 kB / 0.5752 GB, free: 135.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.8571, allocations: 7.828 kB / 0.5752 GB, free: 135.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.8572, allocations: 10.78 kB / 0.5752 GB, free: 135.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.8572, allocations: 17.58 kB / 0.5752 GB, free: 135.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.8572, allocations: 4.438 kB / 0.5752 GB, free: 135.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.59e-05/0.8573, allocations: 35.86 kB / 0.5753 GB, free: 135.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.8573, allocations: 0 / 0.5753 GB, free: 135.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003248/0.8605, allocations: 1.454 MB / 0.5767 GB, free: 135.8 MB / 410.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.005544/0.8661, allocations: 2.055 MB / 0.5787 GB, free: 135.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002668/0.8663, allocations: 126.7 kB / 0.5788 GB, free: 135.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/0.8663, allocations: 1.281 kB / 0.5788 GB, free: 135.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.8664, allocations: 108.9 kB / 0.5789 GB, free: 135.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.8668, allocations: 52.19 kB / 0.579 GB, free: 135.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.8678, allocations: 0.6915 MB / 0.5796 GB, free: 135.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.361e-05/0.8679, allocations: 107.4 kB / 0.5797 GB, free: 135.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001429/0.868, allocations: 123.4 kB / 0.5799 GB, free: 135.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.8682, allocations: 91.67 kB / 0.5799 GB, free: 135.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/0.8682, allocations: 0 / 0.5799 GB, free: 135.1 MB / 410.7 MB Notification: Performance of Templates: time 0.05661/0.9248, allocations: 58.92 MB / 0.6375 GB, free: 84.3 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.149613733869046]