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.001624/0.001624, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001579/0.001579, allocations: 157.1 kB / 23.01 MB, free: 4.605 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.467/1.467, allocations: 177.2 MB / 203.4 MB, free: 8.996 MB / 190.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.04971/0.04971, allocations: 7.538 MB / 267.3 MB, free: 9.625 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.002057/0.002057, allocations: 67.89 kB / 392.7 MB, free: 11.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1096, allocations: 54.91 MB / 447.7 MB, free: 4.656 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.0192/0.1288, allocations: 12.16 MB / 459.8 MB, free: 8.449 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02318/0.152, allocations: 15.63 MB / 475.4 MB, free: 8.766 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001746/0.1522, allocations: 4 kB / 475.4 MB, free: 8.762 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002329/0.1524, allocations: 47.67 kB / 475.5 MB, free: 8.715 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.1526, allocations: 63.47 kB / 475.5 MB, free: 8.652 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01925/0.1718, allocations: 6.723 MB / 482.3 MB, free: 1.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003049/0.1721, allocations: 171 kB / 482.4 MB, free: 1.762 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.71e-05/0.1722, allocations: 5.688 kB / 482.4 MB, free: 1.754 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.1724, allocations: 71.7 kB / 482.5 MB, free: 1.684 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.1725, allocations: 59.72 kB / 482.6 MB, free: 1.625 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.1725, allocations: 4 kB / 482.6 MB, free: 1.621 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2502/0.4227, allocations: 10.33 MB / 492.9 MB, free: 46.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.089e-05/0.4228, allocations: 16.75 kB / 492.9 MB, free: 46.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.67e-05/0.4228, allocations: 52.28 kB / 493 MB, free: 46.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01347/0.4363, allocations: 6.081 MB / 499 MB, free: 46.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4363, allocations: 3.219 kB / 499.1 MB, free: 46.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4363, allocations: 3.469 kB / 499.1 MB, free: 46.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.677e-06/0.4363, allocations: 3.094 kB / 499.1 MB, free: 46.2 MB / 446.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.004629/0.441, allocations: 1.308 MB / 0.4886 GB, free: 45.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.441, allocations: 8.719 kB / 0.4886 GB, free: 45.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.4412, allocations: 25.61 kB / 0.4887 GB, free: 45.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.4415, allocations: 164.4 kB / 0.4888 GB, free: 45.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.4415, allocations: 10.97 kB / 0.4888 GB, free: 45.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.4415, allocations: 14.53 kB / 0.4889 GB, free: 45.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008943/0.4424, allocations: 324 kB / 0.4892 GB, free: 45.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.4424, allocations: 4.781 kB / 0.4892 GB, free: 45.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.4424, allocations: 3.375 kB / 0.4892 GB, free: 45.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.4424, allocations: 4.516 kB / 0.4892 GB, free: 45.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009355/0.4434, allocations: 311 kB / 0.4895 GB, free: 45.25 MB / 446.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.0007186/0.4441, allocations: 0.7856 MB / 0.4902 GB, free: 44.63 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008317/0.4449, allocations: 285.2 kB / 0.4905 GB, free: 44.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.4451, allocations: 82.33 kB / 0.4906 GB, free: 44.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4414/0.8865, allocations: 122.7 MB / 0.6104 GB, free: 1.801 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.036e-05/0.8866, allocations: 37.94 kB / 0.6104 GB, free: 1.758 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 2.244e-06/0.8866, allocations: 4.562 kB / 0.6105 GB, free: 1.754 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.002253/0.8889, allocations: 492.3 kB / 0.6109 GB, free: 1.273 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.975e-05/0.8889, allocations: 110.8 kB / 0.611 GB, free: 1.141 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.8891, allocations: 152 kB / 0.6112 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.8892, allocations: 40.89 kB / 0.6112 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.686e-05/0.8892, allocations: 114.5 kB / 0.6113 GB, free: 0.832 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/0.8893, allocations: 38.94 kB / 0.6114 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-05/0.8894, allocations: 45.69 kB / 0.6114 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.8895, allocations: 318.8 kB / 0.6117 GB, free: 436 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.8897, allocations: 56.56 kB / 0.6118 GB, free: 380 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/0.89, allocations: 113.9 kB / 0.6119 GB, free: 244 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004646/0.8905, allocations: 180.1 kB / 0.612 GB, free: 48 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.8905, allocations: 0 / 0.612 GB, free: 48 kB / 494.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000605/0.8911, allocations: 203 kB / 0.6122 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.8911, allocations: 11.22 kB / 0.6122 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.8911, allocations: 6.5 kB / 0.6123 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.8911, allocations: 4 kB / 0.6123 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.8914, allocations: 47.89 kB / 0.6123 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.8914, allocations: 7.281 kB / 0.6123 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.8915, allocations: 30.5 kB / 0.6123 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.8916, allocations: 8 kB / 0.6123 GB, free: 15.75 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.0001217/0.8917, allocations: 121.8 kB / 0.6125 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.381e-05/0.8918, allocations: 15.95 kB / 0.6125 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/0.8934, allocations: 1.198 MB / 0.6136 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.827e-05/0.8934, allocations: 19.91 kB / 0.6137 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.8934, allocations: 3.844 kB / 0.6137 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.8934, allocations: 0 / 0.6137 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007877/0.8942, allocations: 0.5034 MB / 0.6142 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.8942, allocations: 4 kB / 0.6142 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.8944, allocations: 34.69 kB / 0.6142 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.8944, allocations: 0 / 0.6142 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.8944, allocations: 8 kB / 0.6142 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.8944, allocations: 0 / 0.6142 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.8944, allocations: 3.938 kB / 0.6142 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.8956, allocations: 0.8882 MB / 0.6151 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.8957, allocations: 55.55 kB / 0.6151 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.8957, allocations: 5.875 kB / 0.6151 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.896, allocations: 18.61 kB / 0.6152 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.012e-05/0.896, allocations: 23.91 kB / 0.6152 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.8961, allocations: 4 kB / 0.6152 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.701e-05/0.8961, allocations: 116 kB / 0.6153 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.8961, allocations: 4 kB / 0.6153 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005002/0.9012, allocations: 1.45 MB / 0.6167 GB, free: 11.24 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.008153/0.9093, allocations: 1.708 MB / 0.6184 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000835/0.9101, allocations: 306.4 kB / 0.6187 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.9101, allocations: 4.062 kB / 0.6187 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000445/0.9106, allocations: 220.5 kB / 0.6189 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006805/0.9113, allocations: 58.78 kB / 0.6189 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.9125, allocations: 0.7722 MB / 0.6197 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.9127, allocations: 186.3 kB / 0.6199 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002081/0.9129, allocations: 111.7 kB / 0.62 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.175e-05/0.913, allocations: 20.5 kB / 0.62 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.913, allocations: 0 / 0.62 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of Templates: time 0.07812/0.9911, allocations: 51.31 MB / 0.6701 GB, free: 4.828 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 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.144240276073106] Failed to read output from testmodel.py, exit status != 0: 0.999926610966213 1.015356617 0.575624103 Calling exit ...