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.001413/0.001413, 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.001609/0.001609, allocations: 208.1 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.474/1.474, allocations: 230.6 MB / 256 MB, free: 8.023 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.05179/0.05179, allocations: 9.13 MB / 321.6 MB, free: 10.44 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 0.002044/0.002044, allocations: 71.89 kB / 447.1 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1147, allocations: 54.93 MB / 0.4902 GB, free: 9.512 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.02464/0.1393, allocations: 19.35 MB / 0.5091 GB, free: 6.082 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2142/0.3534, allocations: 9.389 MB / 0.5183 GB, free: 7.398 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002394/0.3537, allocations: 1.531 kB / 0.5183 GB, free: 7.398 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009398/0.3546, allocations: 491.7 kB / 0.5188 GB, free: 7.398 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000585/0.3552, allocations: 291.3 kB / 0.5191 GB, free: 7.387 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01199/0.3672, allocations: 4.8 MB / 0.5237 GB, free: 7.297 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006823/0.3679, allocations: 399 kB / 0.5241 GB, free: 7.199 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.068e-05/0.3679, allocations: 19.75 kB / 0.5241 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003534/0.3683, allocations: 182 kB / 0.5243 GB, free: 7.164 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.3685, allocations: 99.61 kB / 0.5244 GB, free: 7.137 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.3685, allocations: 4.875 kB / 0.5244 GB, free: 7.137 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01352/0.382, allocations: 7.85 MB / 0.5321 GB, free: 6.754 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.918e-05/0.382, allocations: 23.78 kB / 0.5321 GB, free: 6.742 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000254/0.3823, allocations: 121.5 kB / 0.5322 GB, free: 6.703 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006807/0.3891, allocations: 3.281 MB / 0.5354 GB, free: 5.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3891, allocations: 0 / 0.5354 GB, free: 5.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3891, allocations: 0 / 0.5354 GB, free: 5.852 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.3891, allocations: 1.094 kB / 0.5354 GB, free: 5.852 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001556/0.3907, allocations: 0.756 MB / 0.5362 GB, free: 5.277 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.3907, allocations: 9.219 kB / 0.5362 GB, free: 5.277 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003443/0.3911, allocations: 64.3 kB / 0.5362 GB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.658e-05/0.3912, allocations: 140.8 kB / 0.5364 GB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.3912, allocations: 3.219 kB / 0.5364 GB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.3912, allocations: 7.156 kB / 0.5364 GB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003586/0.3916, allocations: 246.6 kB / 0.5366 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3916, allocations: 0 / 0.5366 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.3916, allocations: 4.438 kB / 0.5366 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.3916, allocations: 11.17 kB / 0.5366 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003755/0.392, allocations: 233.9 kB / 0.5369 GB, free: 4.973 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002736/0.3922, allocations: 329.1 kB / 0.5372 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008573/0.3931, allocations: 308.1 kB / 0.5375 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.3934, allocations: 215.7 kB / 0.5377 GB, free: 4.645 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03789/0.4312, allocations: 9.212 MB / 0.5467 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.4313, allocations: 31.94 kB / 0.5467 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.084e-06/0.4313, allocations: 0 / 0.5467 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.001058/0.4323, allocations: 0.7189 MB / 0.5474 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.4324, allocations: 57.78 kB / 0.5475 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.719e-05/0.4324, allocations: 117 kB / 0.5476 GB, free: 428 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.4324, allocations: 33.64 kB / 0.5476 GB, free: 388 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.281e-05/0.4325, allocations: 81.45 kB / 0.5477 GB, free: 300 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.957e-05/0.4326, allocations: 244.1 kB / 0.5479 GB, free: 84 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.173e-05/0.4326, allocations: 59.61 kB / 0.548 GB, free: 40 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4328, allocations: 336.2 kB / 0.5483 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.4331, allocations: 184.7 kB / 0.5485 GB, free: 15.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002702/0.4333, allocations: 189.2 kB / 0.5486 GB, free: 15.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005832/0.4339, allocations: 455.3 kB / 0.5491 GB, free: 15.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4339, allocations: 0 / 0.5491 GB, free: 15.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006698/0.4346, allocations: 0.4893 MB / 0.5496 GB, free: 15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.4346, allocations: 9.406 kB / 0.5496 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.4346, allocations: 0.5625 kB / 0.5496 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.4346, allocations: 0 / 0.5496 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.4348, allocations: 32.75 kB / 0.5496 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.4348, allocations: 3.094 kB / 0.5496 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.435, allocations: 38.7 kB / 0.5496 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.435, allocations: 4.062 kB / 0.5496 GB, free: 14.95 MB / 398.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.0001255/0.4351, allocations: 137.1 kB / 0.5498 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.115e-05/0.4351, allocations: 20.78 kB / 0.5498 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.4362, allocations: 0.8239 MB / 0.5506 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/0.4362, allocations: 14.11 kB / 0.5506 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4362, allocations: 0 / 0.5506 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.4362, allocations: 3.984 kB / 0.5506 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003863/0.4366, allocations: 425 kB / 0.551 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.4366, allocations: 8.562 kB / 0.551 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.4367, allocations: 29.5 kB / 0.5511 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.4367, allocations: 0 / 0.5511 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.4368, allocations: 7.078 kB / 0.5511 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.4368, allocations: 3.938 kB / 0.5511 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4368, allocations: 0 / 0.5511 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007354/0.4375, allocations: 0.5468 MB / 0.5516 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.066e-05/0.4376, allocations: 38.47 kB / 0.5516 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.4376, allocations: 2.156 kB / 0.5516 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.4377, allocations: 17.27 kB / 0.5517 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.4378, allocations: 11.89 kB / 0.5517 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.4378, allocations: 10.83 kB / 0.5517 GB, free: 13.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.479e-05/0.4378, allocations: 81.84 kB / 0.5518 GB, free: 13.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4378, allocations: 0 / 0.5518 GB, free: 13.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00221/0.44, allocations: 0.7192 MB / 0.5525 GB, free: 12.92 MB / 398.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.00253/0.4426, allocations: 1.054 MB / 0.5535 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006947/0.4433, allocations: 419.7 kB / 0.5539 GB, free: 11.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.4433, allocations: 0 / 0.5539 GB, free: 11.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003195/0.4436, allocations: 208.5 kB / 0.5541 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.4447, allocations: 232.5 kB / 0.5543 GB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008968/0.4456, allocations: 0.5685 MB / 0.5549 GB, free: 10.53 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.4459, allocations: 0.7533 MB / 0.5556 GB, free: 9.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003131/0.4463, allocations: 200 kB / 0.5558 GB, free: 9.559 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.731e-05/0.4463, allocations: 23.44 kB / 0.5558 GB, free: 9.535 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4463, allocations: 0 / 0.5558 GB, free: 9.535 MB / 398.1 MB Notification: Performance of Templates: time 0.04004/0.4864, allocations: 26.87 MB / 0.582 GB, free: 14.84 MB / 430.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: 7.294055721722543] Failed to read output from testmodel.py, exit status != 0: 0.4939846587367356 0.508831907 0.11657468200000001 Calling exit ...