Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.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.00116/0.00116, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009228/0.0009228, allocations: 169 kB / 24.05 MB, free: 460 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.9467/0.9467, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.00828/0.00828, allocations: 2 MB / 263 MB, free: 10.91 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.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 333.6 MB, free: 16.64 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/1.914e-05, allocations: 6.25 kB / 333.6 MB, free: 16.63 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical): time 0.007405/0.007424, allocations: 11.83 MB / 345.4 MB, free: 4.758 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009501/0.01693, allocations: 12.04 MB / 357.5 MB, free: 8.68 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003097/0.01723, allocations: 4 kB / 357.5 MB, free: 8.676 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006371/0.01787, allocations: 214.5 kB / 357.7 MB, free: 8.465 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002797/0.02067, allocations: 1.257 MB / 358.9 MB, free: 7.199 MB / 282.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.002874/0.02354, allocations: 1.169 MB / 360.1 MB, free: 6.023 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009675/0.02451, allocations: 0.9672 MB / 361.1 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.534e-05/0.0246, allocations: 25.91 kB / 361.1 MB, free: 5.023 MB / 282.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.5357/0.5603, allocations: 21.76 MB / 382.8 MB, free: 1.336 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003919/0.5607, allocations: 239.4 kB / 383.1 MB, free: 1.102 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.245e-05/0.5608, allocations: 40 kB / 383.1 MB, free: 1.062 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001998/0.5628, allocations: 0.6909 MB / 383.8 MB, free: 380 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.5629, allocations: 115.5 kB / 383.9 MB, free: 264 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001977/0.5631, allocations: 227.4 kB / 384.1 MB, free: 36 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002165/0.5653, allocations: 0.9268 MB / 385.1 MB, free: 15.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5653, allocations: 4 kB / 385.1 MB, free: 15.1 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5653, allocations: 3.938 kB / 385.1 MB, free: 15.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.5653, allocations: 0 / 385.1 MB, free: 15.1 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001188/0.5665, allocations: 1.002 MB / 386.1 MB, free: 14.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.5665, allocations: 8.031 kB / 386.1 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002023/0.5685, allocations: 1.03 MB / 387.1 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.5689, allocations: 271.8 kB / 387.4 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.297e-05/0.5689, allocations: 53.62 kB / 387.4 MB, free: 12.67 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.049e-05/0.569, allocations: 64.36 kB / 387.5 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000863/0.5699, allocations: 0.7159 MB / 388.2 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.5699, allocations: 0 / 388.2 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.045e-05/0.5699, allocations: 28 kB / 388.2 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.871e-05/0.5699, allocations: 35.92 kB / 388.3 MB, free: 11.74 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004682/0.5704, allocations: 298.8 kB / 388.6 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002278/0.5727, allocations: 3.127 MB / 391.7 MB, free: 8.223 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004106/0.5731, allocations: 217.8 kB / 391.9 MB, free: 7.984 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.5732, allocations: 95.33 kB / 392 MB, free: 7.883 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008012/0.574, allocations: 0.939 MB / 392.9 MB, free: 6.922 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.574, allocations: 33.39 kB / 393 MB, free: 6.879 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 1.373e-06/0.574, allocations: 4 kB / 393 MB, free: 6.875 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.0009581/0.575, allocations: 0.5098 MB / 393.5 MB, free: 6.359 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.575, allocations: 89.05 kB / 393.6 MB, free: 6.254 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.5752, allocations: 225.7 kB / 393.8 MB, free: 6.016 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.5752, allocations: 29.7 kB / 393.8 MB, free: 5.98 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.5753, allocations: 335.2 kB / 394.2 MB, free: 5.645 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.5755, allocations: 257.7 kB / 394.4 MB, free: 5.391 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.5756, allocations: 107.5 kB / 394.5 MB, free: 5.273 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.5757, allocations: 0.5156 MB / 395 MB, free: 4.746 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.084e-05/0.5758, allocations: 57.3 kB / 395.1 MB, free: 4.691 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.576, allocations: 283.6 kB / 395.4 MB, free: 4.324 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003168/0.5763, allocations: 385 kB / 395.7 MB, free: 3.855 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.5763, allocations: 0 / 395.7 MB, free: 3.855 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.000441/0.5768, allocations: 384.6 kB / 396.1 MB, free: 3.473 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.5768, allocations: 16 kB / 396.1 MB, free: 3.457 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.5768, allocations: 4 kB / 396.1 MB, free: 3.453 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.5768, allocations: 8 kB / 396.1 MB, free: 3.445 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.577, allocations: 71.91 kB / 396.2 MB, free: 3.375 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.577, allocations: 11.94 kB / 396.2 MB, free: 3.363 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.5772, allocations: 51.52 kB / 396.3 MB, free: 3.312 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.5772, allocations: 20 kB / 396.3 MB, free: 3.293 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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.0001388/0.5773, allocations: 188.4 kB / 396.5 MB, free: 3.098 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.072e-05/0.5774, allocations: 31.81 kB / 396.5 MB, free: 3.066 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.02e-05/0.5774, allocations: 25.97 kB / 396.5 MB, free: 3.039 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.5774, allocations: 8 kB / 396.5 MB, free: 3.031 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.5774, allocations: 0 / 396.5 MB, free: 3.031 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.5774, allocations: 7.922 kB / 396.5 MB, free: 3.023 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003714/0.5778, allocations: 308.2 kB / 396.8 MB, free: 2.695 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5778, allocations: 0 / 396.8 MB, free: 2.695 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.658e-05/0.5779, allocations: 31.92 kB / 396.9 MB, free: 2.664 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.5779, allocations: 0 / 396.9 MB, free: 2.664 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.5779, allocations: 8 kB / 396.9 MB, free: 2.656 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.5779, allocations: 4 kB / 396.9 MB, free: 2.652 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5779, allocations: 0 / 396.9 MB, free: 2.652 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/0.5783, allocations: 0.5491 MB / 397.4 MB, free: 2.082 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.5784, allocations: 39.64 kB / 397.5 MB, free: 2.043 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.5784, allocations: 8 kB / 397.5 MB, free: 2.035 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.5785, allocations: 0 / 397.5 MB, free: 2.035 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.5786, allocations: 27.95 kB / 397.5 MB, free: 2.008 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.5786, allocations: 11.98 kB / 397.5 MB, free: 1.996 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.8e-05/0.5787, allocations: 148 kB / 397.7 MB, free: 1.852 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.5787, allocations: 0 / 397.7 MB, free: 1.852 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004967/0.5792, allocations: 191.5 kB / 397.9 MB, free: 1.664 MB / 314.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: 4 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.baseProperties.phaseOutput,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * 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.0003206/0.5795, allocations: 199 kB / 398.1 MB, free: 1.469 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004453/0.5799, allocations: 483 kB / 398.5 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.5799, allocations: 0 / 398.5 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002816/0.5802, allocations: 434.1 kB / 398.9 MB, free: 480 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008303/0.581, allocations: 196.9 kB / 399.1 MB, free: 284 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.5824, allocations: 0.9892 MB / 400.1 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.5825, allocations: 172.7 kB / 400.3 MB, free: 15.06 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003772/0.5829, allocations: 209.9 kB / 400.5 MB, free: 14.85 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003508/0.5833, allocations: 254 kB / 400.7 MB, free: 14.6 MB / 330.7 MB Notification: Performance of SimCode: time 7.41e-07/0.5833, allocations: 0 / 400.7 MB, free: 14.6 MB / 330.7 MB Notification: Performance of Templates: time 0.01581/0.5991, allocations: 10.77 MB / 411.5 MB, free: 3.812 MB / 330.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.0217679613269866]