Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.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.001534/0.001534, allocations: 81.03 kB / 19.18 MB, free: 2.527 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.001657/0.001657, allocations: 163.2 kB / 22.46 MB, free: 5.359 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.372/1.372, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 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.04804/0.04804, allocations: 7.526 MB / 266.7 MB, free: 9.648 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.setSat,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat") translateModel(HelmholtzMedia.Examples.ConvergenceTest.setSat,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 392.2 MB, free: 10.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/1.99e-05, allocations: 2.281 kB / 392.2 MB, free: 10.4 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.02035/0.02037, allocations: 17.42 MB / 409.6 MB, free: 8.898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009286/0.02966, allocations: 8.36 MB / 418 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.02977, allocations: 4 kB / 418 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009131/0.03068, allocations: 394.8 kB / 418.4 MB, free: 124 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005697/0.03125, allocations: 278.2 kB / 418.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0103/0.04155, allocations: 4.81 MB / 423.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004603/0.04201, allocations: 417.6 kB / 423.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.007e-05/0.04206, allocations: 16.56 kB / 423.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003688/0.04243, allocations: 247.2 kB / 424.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.04259, allocations: 83.77 kB / 424.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.0426, allocations: 4 kB / 424.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008162/0.05076, allocations: 5.059 MB / 429.3 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.447e-05/0.0508, allocations: 23.84 kB / 429.3 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.05096, allocations: 75.8 kB / 429.4 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005071/0.05603, allocations: 3.195 MB / 432.6 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.05603, allocations: 0 / 432.6 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.05603, allocations: 0 / 432.6 MB, free: 1.902 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.05604, allocations: 0 / 432.6 MB, free: 1.902 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001339/0.05737, allocations: 0.7634 MB / 433.3 MB, free: 1.105 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.05741, allocations: 16.62 kB / 433.4 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000347/0.05775, allocations: 55.81 kB / 433.4 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.05789, allocations: 144.8 kB / 433.6 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.05791, allocations: 11.94 kB / 433.6 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.05793, allocations: 4 kB / 433.6 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004221/0.05835, allocations: 241.5 kB / 433.8 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.05836, allocations: 0 / 433.8 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.05838, allocations: 3.938 kB / 433.8 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.05839, allocations: 11.98 kB / 433.8 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004697/0.05886, allocations: 238.9 kB / 434.1 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003146/0.05918, allocations: 268.3 kB / 434.3 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.06018, allocations: 295.2 kB / 434.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000327/0.06051, allocations: 222 kB / 434.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04103/0.1015, allocations: 9.23 MB / 444.1 MB, free: 6.312 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.1016, allocations: 34.56 kB / 444.1 MB, free: 6.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 4.058e-06/0.1016, allocations: 4 kB / 444.1 MB, free: 6.266 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.001234/0.1028, allocations: 0.7293 MB / 444.8 MB, free: 5.535 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.1029, allocations: 55.41 kB / 444.9 MB, free: 5.469 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.092e-05/0.103, allocations: 113.8 kB / 445 MB, free: 5.348 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.103, allocations: 29.7 kB / 445 MB, free: 5.312 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.507e-05/0.103, allocations: 81.45 kB / 445.1 MB, free: 5.227 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.1032, allocations: 237.8 kB / 445.3 MB, free: 4.992 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.521e-05/0.1033, allocations: 61.67 kB / 445.4 MB, free: 4.926 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1034, allocations: 342.8 kB / 445.7 MB, free: 4.582 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.1037, allocations: 184.5 kB / 445.9 MB, free: 4.398 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000289/0.104, allocations: 187.2 kB / 446.1 MB, free: 4.219 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006497/0.1047, allocations: 458 kB / 446.5 MB, free: 3.766 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1047, allocations: 4 kB / 446.5 MB, free: 3.762 MB / 366.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007521/0.1054, allocations: 0.4961 MB / 447 MB, free: 3.258 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1054, allocations: 4 kB / 447 MB, free: 3.254 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1054, allocations: 0 / 447 MB, free: 3.254 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.1055, allocations: 4 kB / 447 MB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.1056, allocations: 27.91 kB / 447.1 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.237e-06/0.1056, allocations: 0 / 447.1 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.1058, allocations: 31.73 kB / 447.1 MB, free: 3.191 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.1058, allocations: 7.984 kB / 447.1 MB, free: 3.184 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (sat_dv.vap.phase,sat_dv.liq.phase,sat_dl.vap.phase,sat_dl.liq.phase,sat_p.vap.phase,sat_p.liq.phase,sat_T.vap.phase,sat_T.liq.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001301/0.1059, allocations: 141.7 kB / 447.2 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.183e-05/0.106, allocations: 23.84 kB / 447.3 MB, free: 3.012 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.1071, allocations: 0.8215 MB / 448.1 MB, free: 2.191 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.1071, allocations: 7.984 kB / 448.1 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1071, allocations: 0 / 448.1 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1071, allocations: 0 / 448.1 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003645/0.1075, allocations: 376.2 kB / 448.5 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1075, allocations: 0 / 448.5 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.1076, allocations: 27.92 kB / 448.5 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.1076, allocations: 3.984 kB / 448.5 MB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.1076, allocations: 4 kB / 448.5 MB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1076, allocations: 0 / 448.5 MB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1076, allocations: 320 / 448.5 MB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007776/0.1084, allocations: 0.5446 MB / 449 MB, free: 1.172 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.876e-05/0.1085, allocations: 47.66 kB / 449.1 MB, free: 1.125 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.1085, allocations: 0 / 449.1 MB, free: 1.125 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.1086, allocations: 15.92 kB / 449.1 MB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.1087, allocations: 11.97 kB / 449.1 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.1087, allocations: 8 kB / 449.1 MB, free: 1.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.628e-05/0.1087, allocations: 83.27 kB / 449.2 MB, free: 1.008 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1087, allocations: 0 / 449.2 MB, free: 1.008 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001585/0.1103, allocations: 0.7206 MB / 449.9 MB, free: 292 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (sat_T.liq.phase,sat_T.vap.phase,sat_p.liq.phase,sat_p.vap.phase,sat_dl.liq.phase,sat_dl.vap.phase,sat_dv.liq.phase,sat_dv.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.133/0.2433, allocations: 1.119 MB / 451 MB, free: 69.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007166/0.244, allocations: 425.5 kB / 451.5 MB, free: 69.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.244, allocations: 0 / 451.5 MB, free: 69.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002804/0.2443, allocations: 210.9 kB / 451.7 MB, free: 69.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.2455, allocations: 242.4 kB / 451.9 MB, free: 68.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007233/0.2462, allocations: 0.547 MB / 452.5 MB, free: 68.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.425e-05/0.2463, allocations: 145.7 kB / 452.6 MB, free: 68.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002849/0.2466, allocations: 200.8 kB / 452.8 MB, free: 68.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.46e-05/0.2467, allocations: 23.27 kB / 452.8 MB, free: 68.6 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2467, allocations: 0 / 452.8 MB, free: 68.6 MB / 366.1 MB Notification: Performance of Templates: time 0.0305/0.2772, allocations: 27.02 MB / 479.8 MB, free: 49.05 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.574613563716412] Failed to read output from testmodel.py, exit status != 0: 0.2848292477428913 0.29358966000000003 0.235410275 Calling exit ...