Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Convergence.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.0009955/0.0009955, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001381/0.002376, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001021/0.001021, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009804/0.002001, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.8883/0.8883, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07715/0.9655, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo): time 0.04728/0.04728, allocations: 11.71 MB / 255.7 MB, free: 3.922 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004792/0.05207, allocations: 3.085 MB / 258.8 MB, free: 0.8281 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-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.SinglePhase_setState_b_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Convergence.SinglePhase_setState_b_Water") translateModel(HelmholtzMedia.Validation.Convergence.SinglePhase_setState_b_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Convergence.SinglePhase_setState_b_Water") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 260 MB, free: 15.56 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.287e-05, allocations: 2.312 kB / 260 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Convergence.SinglePhase_setState_b_Water): time 0.01038/0.0104, allocations: 13.35 MB / 273.4 MB, free: 2.152 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1208/0.1312, allocations: 17.42 MB / 290.8 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.1313, allocations: 1.188 kB / 290.8 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.1314, allocations: 48.8 kB / 290.8 MB, free: 15.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.1315, allocations: 68.34 kB / 290.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0114/0.1429, allocations: 6.136 MB / 297 MB, free: 11.34 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.1431, allocations: 177.1 kB / 297.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.239e-05/0.1431, allocations: 14.72 kB / 297.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.1433, allocations: 102.2 kB / 297.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.439e-05/0.1433, allocations: 57.33 kB / 297.4 MB, free: 11.15 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.1433, allocations: 4.781 kB / 297.4 MB, free: 11.15 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01217/0.1555, allocations: 11.11 MB / 308.5 MB, free: 2.98 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.448e-05/0.1555, allocations: 15.88 kB / 308.5 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.383e-05/0.1556, allocations: 39.94 kB / 308.6 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00651/0.1621, allocations: 5.934 MB / 314.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.143e-05/0.1621, allocations: 3.984 kB / 314.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1621, allocations: 4 kB / 314.5 MB, free: 12.97 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.1621, allocations: 0 / 314.5 MB, free: 12.97 MB / 298.7 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.002583/0.1647, allocations: 1.805 MB / 316.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.613e-05/0.1647, allocations: 12.03 kB / 316.3 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.955e-05/0.1648, allocations: 28.91 kB / 316.3 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.1649, allocations: 161.5 kB / 316.5 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.165, allocations: 8.375 kB / 316.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.165, allocations: 8.375 kB / 316.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004146/0.1654, allocations: 303.9 kB / 316.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.1654, allocations: 5.25 kB / 316.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.1654, allocations: 7.938 kB / 316.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.1654, allocations: 4 kB / 316.8 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003077/0.1657, allocations: 194.1 kB / 317 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.1661, allocations: 0.6999 MB / 317.7 MB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/0.1665, allocations: 237.7 kB / 318 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.1665, allocations: 38.52 kB / 318 MB, free: 9.316 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4995/0.666, allocations: 240.5 MB / 0.5455 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.666, allocations: 41.92 kB / 0.5455 GB, free: 15.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.903e-06/0.666, allocations: 0 / 0.5455 GB, free: 15.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008203/0.6668, allocations: 389 kB / 0.5459 GB, free: 14.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.6669, allocations: 106.8 kB / 0.546 GB, free: 14.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.288e-05/0.667, allocations: 152.6 kB / 0.5461 GB, free: 14.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.667, allocations: 29.7 kB / 0.5461 GB, free: 14.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.667, allocations: 113 kB / 0.5462 GB, free: 14.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.667, allocations: 49 kB / 0.5463 GB, free: 14.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.6671, allocations: 46.03 kB / 0.5463 GB, free: 14.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.876e-05/0.6672, allocations: 319.8 kB / 0.5466 GB, free: 13.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.939e-05/0.6672, allocations: 12 kB / 0.5467 GB, free: 13.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.829e-05/0.6672, allocations: 72.94 kB / 0.5467 GB, free: 13.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.447e-05/0.6673, allocations: 102.5 kB / 0.5468 GB, free: 13.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.6673, allocations: 7.75 kB / 0.5468 GB, free: 13.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001021/0.6674, allocations: 96 kB / 0.5469 GB, free: 13.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.6674, allocations: 8 kB / 0.5469 GB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.6674, allocations: 3.984 kB / 0.5469 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.6674, allocations: 4 kB / 0.5469 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.6676, allocations: 49.2 kB / 0.547 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.6676, allocations: 8 kB / 0.547 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.231e-05/0.6676, allocations: 18.36 kB / 0.547 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.6676, allocations: 7.984 kB / 0.547 GB, free: 13.5 MB / 410.7 MB 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_dT.phase,state_ph.phase,state.phase,state_ps.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 7.136e-05/0.6677, allocations: 129.1 kB / 0.5471 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.85e-05/0.6678, allocations: 15.98 kB / 0.5472 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004976/0.6683, allocations: 0.6591 MB / 0.5478 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.6683, allocations: 19.97 kB / 0.5478 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.6683, allocations: 0 / 0.5478 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.6683, allocations: 0 / 0.5478 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/0.6686, allocations: 317.2 kB / 0.5481 GB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.6686, allocations: 0 / 0.5481 GB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.531e-05/0.6687, allocations: 35.92 kB / 0.5482 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.6687, allocations: 51.56 kB / 0.5482 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.6687, allocations: 0 / 0.5482 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.6687, allocations: 9.203 kB / 0.5482 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.6687, allocations: 4 kB / 0.5482 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.6687, allocations: 3.469 kB / 0.5482 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003345/0.669, allocations: 0.6149 MB / 0.5488 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.6691, allocations: 7.984 kB / 0.5488 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.723e-05/0.6691, allocations: 8 kB / 0.5488 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.6692, allocations: 15.97 kB / 0.5488 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.6692, allocations: 5.031 kB / 0.5489 GB, free: 11.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.444e-05/0.6692, allocations: 39.38 kB / 0.5489 GB, free: 11.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6692, allocations: 3.562 kB / 0.5489 GB, free: 11.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002671/0.6719, allocations: 1.458 MB / 0.5503 GB, free: 10.12 MB / 410.7 MB 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.003798/0.6757, allocations: 2.081 MB / 0.5524 GB, free: 8.207 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.6758, allocations: 125.7 kB / 0.5525 GB, free: 8.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.6758, allocations: 0 / 0.5525 GB, free: 8.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.255e-05/0.6759, allocations: 109.2 kB / 0.5526 GB, free: 7.988 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.6763, allocations: 77 kB / 0.5526 GB, free: 7.918 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/0.6788, allocations: 0.7017 MB / 0.5533 GB, free: 7.211 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.835e-05/0.6789, allocations: 107.2 kB / 0.5534 GB, free: 7.086 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.679, allocations: 123.4 kB / 0.5536 GB, free: 6.973 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.311e-05/0.6791, allocations: 83.36 kB / 0.5536 GB, free: 6.891 MB / 410.7 MB Notification: Performance of SimCode: time 8.22e-07/0.6791, allocations: 0 / 0.5536 GB, free: 6.891 MB / 410.7 MB Notification: Performance of Templates: time 0.1362/0.8153, allocations: 59.01 MB / 0.6113 GB, free: 93.84 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Convergence.SinglePhase_setState_b_Water.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Convergence.SinglePhase_setState_b_Water.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Convergence.SinglePhase_setState_b_Water.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Convergence.SinglePhase_setState_b_Water.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Convergence.SinglePhase_setState_b_Water.sim & ./HelmholtzMedia_HelmholtzMedia.Validation.Convergence.SinglePhase_setState_b_Water -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Validation.Convergence.SinglePhase_setState_b_Water.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.87367099057883]