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.001724/0.001724, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 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.002407/0.002407, allocations: 209.8 kB / 22.25 MB, free: 5.086 MB / 14.72 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 1.483/1.483, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] 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.05158/0.05158, allocations: 9.119 MB / 321.6 MB, free: 10.46 MB / 254.1 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 0.001974/0.001974, allocations: 71.91 kB / 447.1 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1133, allocations: 54.95 MB / 0.4903 GB, free: 9.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.0172/0.1305, allocations: 13.38 MB / 0.5033 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2409/0.3714, allocations: 17.88 MB / 0.5208 GB, free: 7.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001929/0.3716, allocations: 1.438 kB / 0.5208 GB, free: 7.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002355/0.3718, allocations: 49.11 kB / 0.5208 GB, free: 7.262 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.372, allocations: 66.69 kB / 0.5209 GB, free: 7.262 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01845/0.3904, allocations: 6.754 MB / 0.5275 GB, free: 6.949 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002973/0.3907, allocations: 171.1 kB / 0.5277 GB, free: 6.891 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.355e-05/0.3908, allocations: 7.031 kB / 0.5277 GB, free: 6.891 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.3909, allocations: 71.89 kB / 0.5277 GB, free: 6.883 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.3911, allocations: 66.36 kB / 0.5278 GB, free: 6.867 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.3911, allocations: 4.719 kB / 0.5278 GB, free: 6.867 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02258/0.4137, allocations: 10.88 MB / 0.5384 GB, free: 5.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.234e-05/0.4137, allocations: 13.8 kB / 0.5384 GB, free: 5.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.4139, allocations: 65.45 kB / 0.5385 GB, free: 5.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01813/0.432, allocations: 6.098 MB / 0.5445 GB, free: 1.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.432, allocations: 1.094 kB / 0.5445 GB, free: 1.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.432, allocations: 0 / 0.5445 GB, free: 1.707 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.432, allocations: 0 / 0.5445 GB, free: 1.707 MB / 382.1 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.005858/0.4379, allocations: 1.327 MB / 0.5458 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.4379, allocations: 9.938 kB / 0.5458 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/0.4381, allocations: 28.23 kB / 0.5458 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.4384, allocations: 164.5 kB / 0.5459 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.4384, allocations: 7.375 kB / 0.546 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.4385, allocations: 12.78 kB / 0.546 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009007/0.4394, allocations: 321.7 kB / 0.5463 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.4394, allocations: 0 / 0.5463 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.4394, allocations: 7 kB / 0.5463 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.4394, allocations: 0 / 0.5463 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008845/0.4403, allocations: 317.4 kB / 0.5466 GB, free: 264 kB / 382.1 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.001127/0.4414, allocations: 1.022 MB / 0.5476 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008724/0.4423, allocations: 284.7 kB / 0.5478 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.4425, allocations: 91.45 kB / 0.5479 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4229/0.8654, allocations: 122.2 MB / 0.6673 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/0.8654, allocations: 34.5 kB / 0.6673 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 2.474e-06/0.8654, allocations: 4 kB / 0.6673 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.001962/0.8674, allocations: 493.2 kB / 0.6678 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.231e-05/0.8675, allocations: 106.8 kB / 0.6679 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.8676, allocations: 150.2 kB / 0.668 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.8677, allocations: 29.8 kB / 0.6681 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.39e-05/0.8677, allocations: 122.8 kB / 0.6682 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.8678, allocations: 43.58 kB / 0.6682 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.848e-05/0.8678, allocations: 41.7 kB / 0.6683 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.868, allocations: 318.8 kB / 0.6686 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.8682, allocations: 55.94 kB / 0.6686 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.8684, allocations: 115.3 kB / 0.6687 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000418/0.8688, allocations: 174.7 kB / 0.6689 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.8688, allocations: 0 / 0.6689 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005217/0.8694, allocations: 217.2 kB / 0.6691 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.8694, allocations: 8 kB / 0.6691 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.8694, allocations: 0 / 0.6691 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.8694, allocations: 9.453 kB / 0.6691 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.8696, allocations: 44.19 kB / 0.6692 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.8696, allocations: 4 kB / 0.6692 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.8698, allocations: 31.86 kB / 0.6692 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.8698, allocations: 4 kB / 0.6692 GB, free: 5.777 MB / 0.4981 GB 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 0.000107/0.8699, allocations: 126.7 kB / 0.6693 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.491e-05/0.87, allocations: 11.95 kB / 0.6693 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.8713, allocations: 1.197 MB / 0.6705 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-05/0.8714, allocations: 16.53 kB / 0.6705 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.8714, allocations: 0 / 0.6705 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.8714, allocations: 14.36 kB / 0.6705 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006909/0.8721, allocations: 0.5669 MB / 0.6711 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.8721, allocations: 4 kB / 0.6711 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.8722, allocations: 35.97 kB / 0.6711 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.8722, allocations: 0 / 0.6711 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.8723, allocations: 12.58 kB / 0.6711 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.8723, allocations: 7.938 kB / 0.6711 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8723, allocations: 0 / 0.6711 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.8733, allocations: 0.8735 MB / 0.672 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.789e-05/0.8734, allocations: 59.5 kB / 0.6721 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.8734, allocations: 3.938 kB / 0.6721 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.8737, allocations: 23.97 kB / 0.6721 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.112e-05/0.8737, allocations: 12.5 kB / 0.6721 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.8737, allocations: 11.98 kB / 0.6721 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.579e-05/0.8738, allocations: 115.1 kB / 0.6722 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.8738, allocations: 0 / 0.6722 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005954/0.8798, allocations: 1.45 MB / 0.6736 GB, free: 1.18 MB / 0.4981 GB 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.008721/0.8885, allocations: 1.709 MB / 0.6753 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008388/0.8893, allocations: 310.7 kB / 0.6756 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.8893, allocations: 0 / 0.6756 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004324/0.8898, allocations: 221.4 kB / 0.6758 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000665/0.8904, allocations: 49.64 kB / 0.6759 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.8916, allocations: 0.7715 MB / 0.6766 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.892, allocations: 0.7961 MB / 0.6774 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001803/0.8922, allocations: 108.6 kB / 0.6775 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.205e-05/0.8922, allocations: 27.42 kB / 0.6775 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of SimCode: time 7.82e-07/0.8922, allocations: 0 / 0.6775 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of Templates: time 0.2888/1.181, allocations: 51.64 MB / 0.7279 GB, free: 197.4 MB / 0.545 GB " [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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.24004657799378] Failed to read output from testmodel.py, exit status != 0: 1.188475001603365 1.201690252 0.766957458 Calling exit ...