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.000954/0.000954, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.001795/0.001795, allocations: 169 kB / 23.02 MB, free: 1.551 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.9966/0.9966, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.0404/0.0404, allocations: 7.522 MB / 267.5 MB, free: 5.988 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 2.194e-06/2.194e-06, allocations: 0 / 338.6 MB, free: 11 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.454e-05, allocations: 4.844 kB / 338.6 MB, free: 11 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.009607/0.009631, allocations: 13.27 MB / 351.9 MB, free: 13.68 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01416/0.0238, allocations: 17.42 MB / 369.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.02395, allocations: 0 / 369.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.02416, allocations: 47.67 kB / 369.4 MB, free: 12.15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.02429, allocations: 79.33 kB / 369.4 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01395/0.03824, allocations: 6.778 MB / 376.2 MB, free: 5.266 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.03848, allocations: 182.8 kB / 376.4 MB, free: 5.086 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.704e-05/0.03853, allocations: 9.625 kB / 376.4 MB, free: 5.074 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.0387, allocations: 99.7 kB / 376.5 MB, free: 4.977 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.253e-05/0.03877, allocations: 51.91 kB / 376.6 MB, free: 4.926 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.03879, allocations: 7.938 kB / 376.6 MB, free: 4.918 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01437/0.05316, allocations: 10.35 MB / 386.9 MB, free: 10.55 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.272e-05/0.0532, allocations: 11.92 kB / 386.9 MB, free: 10.54 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.907e-05/0.05329, allocations: 51.84 kB / 387 MB, free: 10.49 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01639/0.06968, allocations: 7.788 MB / 394.8 MB, free: 2.688 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.06969, allocations: 0 / 394.8 MB, free: 2.688 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.06969, allocations: 3.938 kB / 394.8 MB, free: 2.684 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.0697, allocations: 4 kB / 394.8 MB, free: 2.68 MB / 314.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.003923/0.07362, allocations: 1.399 MB / 396.2 MB, free: 1.238 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.07366, allocations: 12.62 kB / 396.2 MB, free: 1.227 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.07382, allocations: 32.83 kB / 396.2 MB, free: 1.195 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.07401, allocations: 168.3 kB / 396.4 MB, free: 1.004 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.07403, allocations: 8.375 kB / 396.4 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.07405, allocations: 16.31 kB / 396.4 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008218/0.07487, allocations: 315.4 kB / 396.7 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.07488, allocations: 7.938 kB / 396.7 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.0749, allocations: 8 kB / 396.7 MB, free: 0.625 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.0749, allocations: 3.938 kB / 396.7 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003736/0.07528, allocations: 226.4 kB / 397 MB, free: 412 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007216/0.076, allocations: 1.056 MB / 398 MB, free: 15.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004483/0.07645, allocations: 269.1 kB / 398.3 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.293e-05/0.07651, allocations: 54.98 kB / 398.3 MB, free: 14.92 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3389/0.4154, allocations: 123.2 MB / 0.5093 GB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.4155, allocations: 41.39 kB / 0.5094 GB, free: 13.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.943e-06/0.4155, allocations: 0 / 0.5094 GB, free: 13.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.001041/0.4165, allocations: 424.2 kB / 0.5098 GB, free: 13.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.4166, allocations: 109.4 kB / 0.5099 GB, free: 12.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.4167, allocations: 211.1 kB / 0.5101 GB, free: 12.72 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.4167, allocations: 29.7 kB / 0.5101 GB, free: 12.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.956e-05/0.4168, allocations: 167.1 kB / 0.5103 GB, free: 12.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.4168, allocations: 35.69 kB / 0.5103 GB, free: 12.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/0.4169, allocations: 51.56 kB / 0.5103 GB, free: 12.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.417, allocations: 0.4962 MB / 0.5108 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.707e-05/0.417, allocations: 15.98 kB / 0.5108 GB, free: 11.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.239e-05/0.4171, allocations: 100.8 kB / 0.5109 GB, free: 11.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.4172, allocations: 125.8 kB / 0.5111 GB, free: 11.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.4172, allocations: 2.438 kB / 0.5111 GB, free: 11.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000177/0.4174, allocations: 142.4 kB / 0.5112 GB, free: 11.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.4174, allocations: 10.91 kB / 0.5112 GB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.4174, allocations: 4 kB / 0.5112 GB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.4174, allocations: 4 kB / 0.5112 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.4176, allocations: 39.08 kB / 0.5113 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.4176, allocations: 4 kB / 0.5113 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.04e-05/0.4176, allocations: 24.09 kB / 0.5113 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.4176, allocations: 15.28 kB / 0.5113 GB, free: 11.41 MB / 378.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 8.886e-05/0.4177, allocations: 160.6 kB / 0.5114 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.616e-05/0.4178, allocations: 19.89 kB / 0.5115 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006143/0.4184, allocations: 0.7222 MB / 0.5122 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.4184, allocations: 19.97 kB / 0.5122 GB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4184, allocations: 4 kB / 0.5122 GB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.4184, allocations: 0 / 0.5122 GB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003477/0.4188, allocations: 387.2 kB / 0.5126 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4188, allocations: 0 / 0.5126 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.443e-05/0.4188, allocations: 27.97 kB / 0.5126 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.4189, allocations: 0 / 0.5126 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.4189, allocations: 8 kB / 0.5126 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.4189, allocations: 10.2 kB / 0.5126 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.4189, allocations: 3.25 kB / 0.5126 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005144/0.4194, allocations: 0.789 MB / 0.5134 GB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.297e-05/0.4194, allocations: 67.45 kB / 0.5134 GB, free: 9.156 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.4195, allocations: 7.984 kB / 0.5135 GB, free: 9.148 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9e-05/0.4196, allocations: 15.5 kB / 0.5135 GB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.4196, allocations: 15.97 kB / 0.5135 GB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.4196, allocations: 8 kB / 0.5135 GB, free: 9.113 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.981e-05/0.4197, allocations: 148.7 kB / 0.5136 GB, free: 8.969 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4197, allocations: 0 / 0.5136 GB, free: 8.969 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003258/0.4229, allocations: 1.454 MB / 0.5151 GB, free: 7.512 MB / 378.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.005943/0.4289, allocations: 1.927 MB / 0.5169 GB, free: 5.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003168/0.4292, allocations: 153.7 kB / 0.5171 GB, free: 5.598 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4292, allocations: 0 / 0.5171 GB, free: 5.598 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.4293, allocations: 141.4 kB / 0.5172 GB, free: 5.465 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.4297, allocations: 53.8 kB / 0.5173 GB, free: 5.418 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.4309, allocations: 0.6884 MB / 0.5179 GB, free: 4.699 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.337e-05/0.4309, allocations: 105.8 kB / 0.518 GB, free: 4.574 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001292/0.4311, allocations: 116.7 kB / 0.5182 GB, free: 4.469 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.619e-05/0.4311, allocations: 28.5 kB / 0.5182 GB, free: 4.441 MB / 378.7 MB Notification: Performance of SimCode: time 1.393e-06/0.4311, allocations: 0 / 0.5182 GB, free: 4.441 MB / 378.7 MB Notification: Performance of Templates: time 0.1907/0.6218, allocations: 61.85 MB / 0.5786 GB, free: 123.2 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 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.051290350034833]