Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.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.0008688/0.0008688, allocations: 80.88 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.000886/0.000886, allocations: 181 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 0.9249/0.9249, allocations: 177.2 MB / 203.8 MB, free: 5.465 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.01736/0.01736, allocations: 1.996 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.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 279.6 MB, free: 9.625 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.356e-05/1.48e-05, allocations: 5.266 kB / 279.6 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit): time 0.1225/0.1225, allocations: 11.9 MB / 291.5 MB, free: 19.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007533/0.1301, allocations: 12.16 MB / 303.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002436/0.1303, allocations: 2.469 kB / 303.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004864/0.1308, allocations: 221.6 kB / 303.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0022/0.133, allocations: 1.264 MB / 305.1 MB, free: 12.85 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.002033/0.135, allocations: 1.181 MB / 306.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007053/0.1358, allocations: 0.9771 MB / 307.3 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.091e-05/0.1358, allocations: 29.58 kB / 307.3 MB, free: 11.57 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.5169/0.6527, allocations: 21.87 MB / 329.2 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004143/0.6531, allocations: 239.3 kB / 329.4 MB, free: 10.65 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.475e-05/0.6532, allocations: 40 kB / 329.4 MB, free: 10.61 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/0.655, allocations: 0.6832 MB / 330.1 MB, free: 9.926 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.683e-05/0.6551, allocations: 123.5 kB / 330.2 MB, free: 9.805 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.6553, allocations: 227.5 kB / 330.5 MB, free: 9.582 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.6563, allocations: 0.9384 MB / 331.4 MB, free: 8.637 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.6564, allocations: 0 / 331.4 MB, free: 8.637 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.6564, allocations: 0 / 331.4 MB, free: 8.637 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.6564, allocations: 0 / 331.4 MB, free: 8.637 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.0007161/0.6571, allocations: 0.8546 MB / 332.3 MB, free: 7.754 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.737e-05/0.6571, allocations: 12.03 kB / 332.3 MB, free: 7.742 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/0.6584, allocations: 1.05 MB / 333.3 MB, free: 6.691 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.6586, allocations: 213 kB / 333.5 MB, free: 6.457 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.6587, allocations: 45.69 kB / 333.6 MB, free: 6.414 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.6587, allocations: 60.38 kB / 333.6 MB, free: 6.355 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005716/0.6593, allocations: 0.6959 MB / 334.3 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.6593, allocations: 4 kB / 334.3 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.6593, allocations: 27.94 kB / 334.4 MB, free: 5.547 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.6593, allocations: 31.98 kB / 334.4 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003163/0.6596, allocations: 300.5 kB / 334.7 MB, free: 5.227 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.6611, allocations: 2.262 MB / 336.9 MB, free: 2.895 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.6613, allocations: 177 kB / 337.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.385e-05/0.6614, allocations: 69.7 kB / 337.2 MB, free: 2.629 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005169/0.6619, allocations: 0.6685 MB / 337.9 MB, free: 1.945 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.6619, allocations: 38.56 kB / 337.9 MB, free: 1.898 MB / 282.7 MB Notification: Performance of pre-optimization done (n=71): time 1.212e-06/0.6619, allocations: 0 / 337.9 MB, free: 1.898 MB / 282.7 MB Notification: Performance of matching and sorting (n=71): time 0.0005778/0.6625, allocations: 438.2 kB / 338.3 MB, free: 1.469 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.6625, allocations: 81.11 kB / 338.4 MB, free: 1.371 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.64e-05/0.6626, allocations: 191.1 kB / 338.6 MB, free: 1.172 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.6626, allocations: 25.7 kB / 338.6 MB, free: 1.141 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.6627, allocations: 308.3 kB / 338.9 MB, free: 0.832 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.222e-05/0.6628, allocations: 237.8 kB / 339.1 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.038e-05/0.6629, allocations: 97.89 kB / 339.2 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.538e-05/0.663, allocations: 346.7 kB / 339.6 MB, free: 148 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.851e-05/0.663, allocations: 41.31 kB / 339.6 MB, free: 108 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.6631, allocations: 231.9 kB / 339.8 MB, free: 15.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.6634, allocations: 339.6 kB / 340.2 MB, free: 15.39 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.6634, allocations: 0 / 340.2 MB, free: 15.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0002486/0.6636, allocations: 320.9 kB / 340.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.6636, allocations: 11.91 kB / 340.5 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.6636, allocations: 7.938 kB / 340.5 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.6636, allocations: 8 kB / 340.5 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.6638, allocations: 79.89 kB / 340.6 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003396/0.6642, allocations: 1.164 MB / 341.8 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.6643, allocations: 59.84 kB / 341.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.6643, allocations: 20 kB / 341.8 MB, free: 13.68 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): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.717e-05/0.6644, allocations: 144.4 kB / 342 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.6644, allocations: 19.98 kB / 342 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.362e-05/0.6645, allocations: 26.64 kB / 342 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.6645, allocations: 0 / 342 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.6645, allocations: 4 kB / 342 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.6645, allocations: 0 / 342 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.6647, allocations: 237.4 kB / 342.3 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.6647, allocations: 0 / 342.3 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.861e-05/0.6648, allocations: 43.86 kB / 342.3 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.6648, allocations: 3.938 kB / 342.3 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.6648, allocations: 7.984 kB / 342.3 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002896/0.6651, allocations: 1.16 MB / 343.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.6651, allocations: 0 / 343.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.6653, allocations: 383.8 kB / 343.8 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.83e-05/0.6653, allocations: 39.62 kB / 343.9 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.6653, allocations: 0 / 343.9 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.805e-05/0.6654, allocations: 16.06 kB / 343.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.6654, allocations: 11.97 kB / 343.9 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.6654, allocations: 12 kB / 343.9 MB, free: 11.49 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.968e-05/0.6655, allocations: 48.73 kB / 344 MB, free: 11.44 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.6655, allocations: 0 / 344 MB, free: 11.44 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002997/0.6658, allocations: 183.5 kB / 344.2 MB, free: 11.26 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): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002702/0.666, allocations: 172.1 kB / 344.3 MB, free: 11.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003564/0.6664, allocations: 465.2 kB / 344.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.6664, allocations: 0 / 344.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.6666, allocations: 430.5 kB / 345.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005132/0.6671, allocations: 196.4 kB / 345.4 MB, free: 9.926 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.6682, allocations: 1.026 MB / 346.4 MB, free: 8.863 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.6683, allocations: 163.8 kB / 346.6 MB, free: 8.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002444/0.6686, allocations: 183.9 kB / 346.8 MB, free: 8.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.6688, allocations: 197.2 kB / 346.9 MB, free: 8.309 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.6688, allocations: 0 / 346.9 MB, free: 8.309 MB / 298.7 MB Notification: Performance of Templates: time 0.01144/0.6802, allocations: 10.51 MB / 357.5 MB, free: 13.81 MB / 314.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.9151799492537975]