Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState.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.001086/0.001086, allocations: 79.7 kB / 20.86 MB, free: 3.602 MB / 18.57 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.001304/0.001304, allocations: 168.5 kB / 24.3 MB, free: 176 kB / 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.9379/0.9379, allocations: 177.2 MB / 204.7 MB, free: 5.402 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.04725/0.04725, allocations: 11.7 MB / 272.9 MB, free: 1.836 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.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.Validation.Convergence.TwoPhase_setState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState") translateModel(HelmholtzMedia.Validation.Convergence.TwoPhase_setState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 292.2 MB, free: 16.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.938e-06/1.211e-05, allocations: 3.281 kB / 292.2 MB, free: 16.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Convergence.TwoPhase_setState): time 0.03826/0.03827, allocations: 58.95 MB / 351.1 MB, free: 13.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02358/0.06185, allocations: 33.7 MB / 384.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.06197, allocations: 0 / 384.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005271/0.0625, allocations: 235.3 kB / 385.1 MB, free: 11 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003747/0.06288, allocations: 230.6 kB / 385.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03225/0.09513, allocations: 18.12 MB / 403.4 MB, free: 8.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002996/0.09543, allocations: 310.2 kB / 403.7 MB, free: 8.266 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/0.09547, allocations: 14.45 kB / 403.7 MB, free: 8.25 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/0.09569, allocations: 183.4 kB / 403.9 MB, free: 8.07 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.012e-05/0.09577, allocations: 51.84 kB / 404 MB, free: 8.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.09579, allocations: 8 kB / 404 MB, free: 8.012 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02764/0.1234, allocations: 19.31 MB / 423.3 MB, free: 4.672 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.923e-05/0.1235, allocations: 19.84 kB / 423.3 MB, free: 4.652 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.1236, allocations: 55.88 kB / 423.4 MB, free: 4.598 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01578/0.1394, allocations: 8.902 MB / 432.3 MB, free: 11.67 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1394, allocations: 0 / 432.3 MB, free: 11.67 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.051e-06/0.1394, allocations: 0 / 432.3 MB, free: 11.67 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1394, allocations: 0 / 432.3 MB, free: 11.67 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001571/0.141, allocations: 1.508 MB / 433.8 MB, free: 10.13 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.141, allocations: 8.031 kB / 433.8 MB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.141, allocations: 16.67 kB / 433.8 MB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.594e-05/0.1411, allocations: 137.9 kB / 433.9 MB, free: 9.949 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1411, allocations: 4 kB / 433.9 MB, free: 9.945 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.1411, allocations: 8 kB / 433.9 MB, free: 9.938 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.1413, allocations: 115.8 kB / 434 MB, free: 9.809 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.1413, allocations: 0 / 434 MB, free: 9.809 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.1413, allocations: 4 kB / 434 MB, free: 9.805 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.1413, allocations: 3.984 kB / 434.1 MB, free: 9.801 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.586e-05/0.1413, allocations: 43.5 kB / 434.1 MB, free: 9.758 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003007/0.1416, allocations: 353.8 kB / 434.4 MB, free: 9.391 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.334e-05/0.1417, allocations: 98.48 kB / 434.5 MB, free: 9.285 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.901e-05/0.1417, allocations: 36.86 kB / 434.6 MB, free: 9.246 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.182/0.3237, allocations: 57.25 MB / 491.8 MB, free: 74.89 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.3237, allocations: 38.55 kB / 491.9 MB, free: 74.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 1.764e-06/0.3237, allocations: 2.578 kB / 491.9 MB, free: 74.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=42): time 0.0001867/0.3239, allocations: 210 kB / 492.1 MB, free: 74.63 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.378e-06/0.3239, allocations: 51.41 kB / 492.1 MB, free: 74.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.818e-05/0.324, allocations: 133.3 kB / 492.2 MB, free: 74.44 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.3e-06/0.324, allocations: 25.7 kB / 492.3 MB, free: 74.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.66e-05/0.324, allocations: 95.53 kB / 492.4 MB, free: 74.31 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.324, allocations: 141 kB / 492.5 MB, free: 74.19 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.3241, allocations: 45.66 kB / 492.5 MB, free: 74.14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.311e-05/0.3241, allocations: 326.8 kB / 492.9 MB, free: 73.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.362e-05/0.3241, allocations: 31.17 kB / 492.9 MB, free: 73.79 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.037e-05/0.3242, allocations: 55.83 kB / 493 MB, free: 73.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.521e-05/0.3242, allocations: 114.8 kB / 493.1 MB, free: 73.62 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3242, allocations: 3.75 kB / 493.1 MB, free: 73.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 9.364e-05/0.3243, allocations: 149.9 kB / 493.2 MB, free: 73.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.3243, allocations: 12 kB / 493.2 MB, free: 73.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.3243, allocations: 0 / 493.2 MB, free: 73.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3244, allocations: 4 kB / 493.2 MB, free: 73.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.061e-05/0.3244, allocations: 9.859 kB / 493.2 MB, free: 73.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-06/0.3244, allocations: 4 kB / 493.2 MB, free: 73.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.764e-05/0.3244, allocations: 15.84 kB / 493.3 MB, free: 73.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.3245, allocations: 8 kB / 493.3 MB, free: 73.43 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (state_Ts.phase,state_ps.phase,state_ph.phase,state_pd.phase,state_dT.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 4.226e-05/0.3245, allocations: 116.2 kB / 493.4 MB, free: 73.31 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.3245, allocations: 7.984 kB / 493.4 MB, free: 73.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.3247, allocations: 194.2 kB / 493.6 MB, free: 73.11 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3247, allocations: 0 / 493.6 MB, free: 73.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3247, allocations: 0 / 493.6 MB, free: 73.11 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.724e-05/0.3247, allocations: 39.61 kB / 493.6 MB, free: 73.08 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.819e-06/0.3247, allocations: 0 / 493.6 MB, free: 73.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.494e-05/0.3248, allocations: 0 / 493.6 MB, free: 73.08 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.598e-05/0.3248, allocations: 15.36 kB / 493.6 MB, free: 73.07 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.814e-05/0.3249, allocations: 253.7 kB / 493.9 MB, free: 72.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001028/0.325, allocations: 360.9 kB / 494.2 MB, free: 72.45 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.689e-05/0.325, allocations: 53.92 kB / 494.3 MB, free: 72.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.447e-05/0.325, allocations: 21.72 kB / 494.3 MB, free: 72.38 MB / 394.7 MB Notification: Performance of Backend: time 4.11e-07/0.325, allocations: 0 / 494.3 MB, free: 72.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0048/0.3298, allocations: 4.045 MB / 498.4 MB, free: 68.93 MB / 394.7 MB Notification: Performance of SimCode: time 0.0005828/0.3304, allocations: 0.8244 MB / 499.2 MB, free: 68.07 MB / 394.7 MB Notification: Performance of Templates: time 0.08652/0.4169, allocations: 70.04 MB / 0.5559 GB, free: 14.37 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState.sim & ./HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.759379646740854]