Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.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.001989/0.001989, allocations: 85.48 kB / 19.44 MB, free: 348 kB / 13.93 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.002191/0.002191, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 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 1.687/1.687, allocations: 177.1 MB / 203.1 MB, free: 5.555 MB / 186.7 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.05988/0.05988, allocations: 7.519 MB / 267.1 MB, free: 6.039 MB / 250.7 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.Validation.Derivatives_SaturationBoundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary") translateModel(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0 / 338 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.978e-05, allocations: 2.312 kB / 338 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.02192/0.02195, allocations: 19.81 MB / 357.8 MB, free: 7.406 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.024/0.04594, allocations: 17.23 MB / 375 MB, free: 6.121 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005846/0.04653, allocations: 4 kB / 375 MB, free: 6.117 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.04833, allocations: 0.5257 MB / 375.5 MB, free: 5.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01755/0.06588, allocations: 5.627 MB / 381.2 MB, free: 15.94 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00355/0.06943, allocations: 1.111 MB / 382.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001446/0.07088, allocations: 0.8209 MB / 383.1 MB, free: 14 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.07098, allocations: 29.91 kB / 383.1 MB, free: 13.96 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000758/0.07174, allocations: 482.7 kB / 383.6 MB, free: 13.49 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00044/0.07218, allocations: 235.3 kB / 383.8 MB, free: 13.26 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.169e-05/0.07224, allocations: 28 kB / 383.9 MB, free: 13.23 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01731/0.08955, allocations: 6.649 MB / 390.5 MB, free: 6.566 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.08972, allocations: 95.52 kB / 390.6 MB, free: 6.473 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005079/0.09023, allocations: 199.5 kB / 390.8 MB, free: 6.277 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01295/0.1032, allocations: 3.966 MB / 394.8 MB, free: 2.301 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1032, allocations: 0 / 394.8 MB, free: 2.301 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1032, allocations: 0 / 394.8 MB, free: 2.301 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.1032, allocations: 3.938 kB / 394.8 MB, free: 2.297 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.003268/0.1065, allocations: 1.272 MB / 396 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.1065, allocations: 8.625 kB / 396 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006507/0.1072, allocations: 167.2 kB / 396.2 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003894/0.1076, allocations: 171.4 kB / 396.4 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.927e-05/0.1076, allocations: 20.66 kB / 396.4 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.124e-05/0.1077, allocations: 24 kB / 396.4 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.1089, allocations: 0.6132 MB / 397 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.1089, allocations: 4 kB / 397 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.583e-05/0.109, allocations: 8 kB / 397 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.66e-05/0.109, allocations: 27.89 kB / 397.1 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001951/0.111, allocations: 1.238 MB / 398.3 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002283/0.1132, allocations: 1.402 MB / 399.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.1146, allocations: 0.5811 MB / 400.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008191/0.1154, allocations: 0.508 MB / 400.8 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01973/0.1352, allocations: 3.751 MB / 404.5 MB, free: 8.375 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.247e-05/0.1352, allocations: 38.05 kB / 404.6 MB, free: 8.328 MB / 330.7 MB Notification: Performance of pre-optimization done (n=185): time 3.336e-06/0.1352, allocations: 4 kB / 404.6 MB, free: 8.324 MB / 330.7 MB Notification: Performance of matching and sorting (n=185): time 0.00401/0.1393, allocations: 2.07 MB / 406.7 MB, free: 6.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/0.1393, allocations: 60.06 kB / 406.7 MB, free: 6.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.1395, allocations: 177.9 kB / 406.9 MB, free: 5.988 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.391e-05/0.1396, allocations: 37.7 kB / 406.9 MB, free: 5.945 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.1397, allocations: 137.8 kB / 407.1 MB, free: 5.805 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009892/0.1407, allocations: 0.6234 MB / 407.7 MB, free: 5.176 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003027/0.141, allocations: 187.9 kB / 407.9 MB, free: 4.984 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002912/0.1413, allocations: 488.4 kB / 408.3 MB, free: 4.5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007631/0.142, allocations: 450.6 kB / 408.8 MB, free: 4.059 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008043/0.1428, allocations: 476.5 kB / 409.2 MB, free: 3.594 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/0.1446, allocations: 1.113 MB / 410.4 MB, free: 2.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.1446, allocations: 3.938 kB / 410.4 MB, free: 2.477 MB / 330.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.0024/0.147, allocations: 1.343 MB / 411.7 MB, free: 1.129 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.1471, allocations: 11.98 kB / 411.7 MB, free: 1.117 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.1471, allocations: 3.984 kB / 411.7 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.686e-05/0.1471, allocations: 4 kB / 411.7 MB, free: 1.109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006315/0.1477, allocations: 107.9 kB / 411.8 MB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.1477, allocations: 0 / 411.8 MB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004103/0.1482, allocations: 87.25 kB / 411.9 MB, free: 0.918 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.205e-05/0.1482, allocations: 31.91 kB / 411.9 MB, free: 0.8867 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sat_pminus.vap.phase,sat_pminus.liq.phase,sat_pplus.vap.phase,sat_pplus.liq.phase,sat_Tminus.vap.phase,sat_Tminus.liq.phase,sat_Tplus.vap.phase,sat_Tplus.liq.phase,sat.vap.phase,sat.liq.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.0002881/0.1485, allocations: 213 kB / 412.2 MB, free: 0.668 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003044/0.1488, allocations: 123.5 kB / 412.3 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1727/0.3215, allocations: 1.611 MB / 413.9 MB, free: 84.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.442e-05/0.3215, allocations: 33.7 kB / 413.9 MB, free: 84.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3215, allocations: 0.6094 kB / 413.9 MB, free: 84.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.3215, allocations: 5.375 kB / 413.9 MB, free: 84.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008196/0.3224, allocations: 0.6597 MB / 414.6 MB, free: 83.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.3224, allocations: 0.9375 kB / 414.6 MB, free: 83.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006373/0.323, allocations: 132.7 kB / 414.7 MB, free: 83.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.323, allocations: 3.062 kB / 414.7 MB, free: 83.96 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.347e-05/0.3231, allocations: 22.05 kB / 414.7 MB, free: 83.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.774e-06/0.3231, allocations: 3.094 kB / 414.7 MB, free: 83.96 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3231, allocations: 2.531 kB / 414.7 MB, free: 83.96 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002274/0.3253, allocations: 1.595 MB / 416.3 MB, free: 83.47 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002518/0.3256, allocations: 145.1 kB / 416.5 MB, free: 83.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.584e-05/0.3257, allocations: 19.12 kB / 416.5 MB, free: 83.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003512/0.326, allocations: 22.52 kB / 416.5 MB, free: 83.39 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.3261, allocations: 47.03 kB / 416.6 MB, free: 83.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.332e-05/0.3262, allocations: 31.17 kB / 416.6 MB, free: 83.38 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.87e-05/0.3262, allocations: 127.3 kB / 416.7 MB, free: 83.26 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3262, allocations: 0 / 416.7 MB, free: 83.26 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003207/0.3294, allocations: 0.8979 MB / 417.6 MB, free: 83.21 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sat.liq.phase,sat.vap.phase,sat_Tplus.liq.phase,sat_Tplus.vap.phase,sat_Tminus.liq.phase,sat_Tminus.vap.phase,sat_pplus.liq.phase,sat_pplus.vap.phase,sat_pminus.liq.phase,sat_pminus.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.00339/0.3328, allocations: 1.415 MB / 419 MB, free: 82.95 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001531/0.3344, allocations: 1.163 MB / 420.2 MB, free: 82.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3344, allocations: 0 / 420.2 MB, free: 82.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006958/0.3351, allocations: 0.6191 MB / 420.8 MB, free: 81.74 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/0.3369, allocations: 357.5 kB / 421.2 MB, free: 81.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.3384, allocations: 1.169 MB / 422.3 MB, free: 80.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.3386, allocations: 289 kB / 422.6 MB, free: 80.18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005362/0.3392, allocations: 258.6 kB / 422.9 MB, free: 80.03 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.3393, allocations: 59.91 kB / 422.9 MB, free: 79.98 MB / 330.7 MB Notification: Performance of SimCode: time 1.302e-06/0.3393, allocations: 0 / 422.9 MB, free: 79.98 MB / 330.7 MB Notification: Performance of Templates: time 0.04595/0.3853, allocations: 39.48 MB / 462.4 MB, free: 41.18 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 6.860471315914765]