Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.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.000925/0.000925, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009743/0.0009743, allocations: 173 kB / 23.36 MB, free: 1.133 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.018/1.018, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.008148/0.008148, allocations: 2.003 MB / 262.3 MB, free: 10.93 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 279.6 MB, free: 9.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.281e-05/1.419e-05, allocations: 5.828 kB / 279.6 MB, free: 9.578 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit): time 0.1055/0.1055, allocations: 11.91 MB / 291.5 MB, free: 18.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007267/0.1128, allocations: 12.16 MB / 303.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.113, allocations: 6.531 kB / 303.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004728/0.1134, allocations: 218.7 kB / 303.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001725/0.1152, allocations: 1.255 MB / 305.1 MB, free: 12.29 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Examples.CO2CoolProp.setSat_p_state' contains a call to impure function 'ExternalMedia.Examples.CO2CoolProp.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.1168, allocations: 1.166 MB / 306.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006188/0.1175, allocations: 0.9722 MB / 307.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.466e-05/0.1175, allocations: 35.52 kB / 307.3 MB, free: 11.32 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Common/CheckCoolPropOptions.mo:2:1-104:25:writable] Warning: Pure function 'ExternalMedia.Common.CheckCoolPropOptions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFEvalConstants.evaluate: time 0.5342/0.6517, allocations: 21.83 MB / 329.1 MB, free: 10.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004294/0.6521, allocations: 231.4 kB / 329.4 MB, free: 10.53 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.699e-05/0.6522, allocations: 40 kB / 329.4 MB, free: 10.49 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002004/0.6542, allocations: 0.7143 MB / 330.1 MB, free: 9.773 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.6543, allocations: 119.4 kB / 330.2 MB, free: 9.656 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.6545, allocations: 231.5 kB / 330.5 MB, free: 9.426 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.6556, allocations: 0.9306 MB / 331.4 MB, free: 8.492 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.6556, allocations: 0 / 331.4 MB, free: 8.492 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.6556, allocations: 0 / 331.4 MB, free: 8.492 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.6556, allocations: 8 kB / 331.4 MB, free: 8.484 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.0007814/0.6564, allocations: 0.8546 MB / 332.3 MB, free: 7.602 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.6564, allocations: 8.031 kB / 332.3 MB, free: 7.594 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/0.6578, allocations: 1.046 MB / 333.3 MB, free: 6.547 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.6581, allocations: 209 kB / 333.5 MB, free: 6.316 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.6581, allocations: 45.69 kB / 333.6 MB, free: 6.273 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.19e-05/0.6582, allocations: 52.38 kB / 333.6 MB, free: 6.223 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00067/0.6588, allocations: 0.7038 MB / 334.3 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.6588, allocations: 11.86 kB / 334.3 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.6589, allocations: 31.94 kB / 334.4 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/0.6589, allocations: 31.97 kB / 334.4 MB, free: 5.363 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003559/0.6593, allocations: 288.5 kB / 334.7 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.6608, allocations: 2.258 MB / 336.9 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.6611, allocations: 177 kB / 337.1 MB, free: 2.566 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.947e-05/0.6611, allocations: 69.7 kB / 337.2 MB, free: 2.492 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005142/0.6616, allocations: 0.6684 MB / 337.8 MB, free: 1.809 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.6617, allocations: 30.56 kB / 337.9 MB, free: 1.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=71): time 1.302e-06/0.6617, allocations: 0 / 337.9 MB, free: 1.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=71): time 0.0006418/0.6623, allocations: 438.1 kB / 338.3 MB, free: 1.34 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.6623, allocations: 85.05 kB / 338.4 MB, free: 1.238 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.6624, allocations: 191 kB / 338.6 MB, free: 1.039 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.6624, allocations: 33.7 kB / 338.6 MB, free: 1 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.6626, allocations: 292.4 kB / 338.9 MB, free: 0.707 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.545e-05/0.6626, allocations: 241.8 kB / 339.1 MB, free: 480 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.632e-05/0.6627, allocations: 97.89 kB / 339.2 MB, free: 372 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.927e-05/0.6628, allocations: 346.7 kB / 339.6 MB, free: 16 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.087e-05/0.6629, allocations: 37.31 kB / 339.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.663, allocations: 235.9 kB / 339.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.6632, allocations: 331.6 kB / 340.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.6632, allocations: 0 / 340.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0002737/0.6635, allocations: 324.3 kB / 340.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.6635, allocations: 8.719 kB / 340.5 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.6635, allocations: 4.156 kB / 340.5 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.6635, allocations: 12 kB / 340.5 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.6636, allocations: 75.84 kB / 340.6 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.6636, allocations: 15.97 kB / 340.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.6638, allocations: 55.52 kB / 340.6 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.6638, allocations: 16 kB / 340.6 MB, free: 14.77 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium1.baseProperties.phaseOutput,medium1.baseProperties.phaseInput,medium2.baseProperties.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 36 * 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.0001028/0.6639, allocations: 148.4 kB / 340.8 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.6639, allocations: 15.98 kB / 340.8 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.978e-05/0.664, allocations: 30.64 kB / 340.8 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.664, allocations: 0 / 340.8 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.664, allocations: 8 kB / 340.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.664, allocations: 0 / 340.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.6642, allocations: 233.4 kB / 341.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.6642, allocations: 0 / 341.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.982e-05/0.6643, allocations: 23.98 kB / 341.1 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.6643, allocations: 0 / 341.1 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.6643, allocations: 4 kB / 341.1 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.6643, allocations: 11.94 kB / 341.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.6643, allocations: 0 / 341.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.6645, allocations: 383.8 kB / 341.5 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.649e-05/0.6645, allocations: 35.62 kB / 341.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.6645, allocations: 12 kB / 341.5 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.967e-05/0.6646, allocations: 4 kB / 341.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.6647, allocations: 19.95 kB / 341.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.6647, allocations: 0 / 341.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.008e-05/0.6647, allocations: 44.81 kB / 341.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.6647, allocations: 0 / 341.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003265/0.665, allocations: 187.5 kB / 341.8 MB, free: 13.57 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 13 * 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.000283/0.6653, allocations: 179.5 kB / 342 MB, free: 13.4 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003051/0.6656, allocations: 449.2 kB / 342.4 MB, free: 12.94 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/0.6656, allocations: 4 kB / 342.4 MB, free: 12.94 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.6658, allocations: 414.3 kB / 342.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/0.6663, allocations: 200.4 kB / 343 MB, free: 12.26 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.6674, allocations: 0.9915 MB / 344 MB, free: 11.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.6675, allocations: 163.7 kB / 344.2 MB, free: 11.05 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002813/0.6678, allocations: 209.9 kB / 344.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002412/0.668, allocations: 201.2 kB / 344.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of SimCode: time 3.91e-07/0.668, allocations: 4 kB / 344.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of Templates: time 0.01187/0.6799, allocations: 9.992 MB / 354.6 MB, free: 0.6523 MB / 298.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.57093665516004]