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.001313/0.001313, allocations: 93.06 kB / 19.65 MB, free: 276 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.001332/0.001332, allocations: 165 kB / 23.02 MB, free: 1.551 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.9478/0.9478, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.01216/0.01216, allocations: 1.995 MB / 261.9 MB, free: 11.06 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.262e-06/1.262e-06, allocations: 0 / 332.4 MB, free: 16.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.668e-05, allocations: 6.25 kB / 332.4 MB, free: 16.92 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit): time 0.006865/0.006882, allocations: 11.98 MB / 344.3 MB, free: 4.891 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006977/0.01386, allocations: 12.18 MB / 356.5 MB, free: 8.672 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002128/0.01407, allocations: 7.938 kB / 356.5 MB, free: 8.664 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000484/0.01456, allocations: 214.5 kB / 356.7 MB, free: 8.453 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002387/0.01694, allocations: 1.268 MB / 358 MB, free: 7.176 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.002054/0.019, allocations: 1.153 MB / 359.2 MB, free: 6.016 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007687/0.01977, allocations: 0.9788 MB / 360.1 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.158e-05/0.01984, allocations: 37.89 kB / 360.2 MB, free: 4.992 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.5368/0.5566, allocations: 21.76 MB / 381.9 MB, free: 1.301 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004259/0.557, allocations: 243.3 kB / 382.2 MB, free: 1.062 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.417e-05/0.5571, allocations: 40 kB / 382.2 MB, free: 1.023 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001795/0.5589, allocations: 0.6909 MB / 382.9 MB, free: 340 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.781e-05/0.559, allocations: 107.5 kB / 383 MB, free: 232 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002037/0.5592, allocations: 231.5 kB / 383.2 MB, free: 0 / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.5606, allocations: 0.9345 MB / 384.2 MB, free: 15.06 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.5606, allocations: 0 / 384.2 MB, free: 15.06 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.5606, allocations: 0 / 384.2 MB, free: 15.06 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.5606, allocations: 0 / 384.2 MB, free: 15.06 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.0008708/0.5614, allocations: 1.01 MB / 385.2 MB, free: 14.01 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.5615, allocations: 11.97 kB / 385.2 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.5628, allocations: 1.026 MB / 386.2 MB, free: 12.97 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.5631, allocations: 271.8 kB / 386.5 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/0.5632, allocations: 45.69 kB / 386.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.771e-05/0.5632, allocations: 60.38 kB / 386.6 MB, free: 12.58 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007643/0.564, allocations: 0.7745 MB / 387.4 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.564, allocations: 0 / 387.4 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.564, allocations: 24 kB / 387.4 MB, free: 11.69 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-05/0.564, allocations: 31.98 kB / 387.4 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004401/0.5645, allocations: 352.8 kB / 387.8 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.5664, allocations: 3.252 MB / 391 MB, free: 7.957 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.5667, allocations: 222.1 kB / 391.2 MB, free: 7.715 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.5668, allocations: 111.1 kB / 391.3 MB, free: 7.598 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006135/0.5674, allocations: 0.9273 MB / 392.3 MB, free: 6.648 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.5674, allocations: 33.39 kB / 392.3 MB, free: 6.605 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 1.132e-06/0.5674, allocations: 0 / 392.3 MB, free: 6.605 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.0007611/0.5682, allocations: 0.5272 MB / 392.8 MB, free: 6.074 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.5682, allocations: 88.98 kB / 392.9 MB, free: 5.969 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.5684, allocations: 254.1 kB / 393.2 MB, free: 5.703 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.5684, allocations: 29.7 kB / 393.2 MB, free: 5.668 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.5685, allocations: 339.2 kB / 393.5 MB, free: 5.328 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.5686, allocations: 245.8 kB / 393.8 MB, free: 5.086 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.795e-05/0.5687, allocations: 103.6 kB / 393.9 MB, free: 4.973 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.5688, allocations: 0.5118 MB / 394.4 MB, free: 4.449 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.341e-05/0.5689, allocations: 69.28 kB / 394.4 MB, free: 4.383 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.5691, allocations: 318.7 kB / 394.7 MB, free: 3.969 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/0.5694, allocations: 431.6 kB / 395.2 MB, free: 3.441 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5694, allocations: 4 kB / 395.2 MB, free: 3.438 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0004065/0.5698, allocations: 428.2 kB / 395.6 MB, free: 3.012 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.5698, allocations: 4 kB / 395.6 MB, free: 3.008 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.5698, allocations: 8 kB / 395.6 MB, free: 3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.5699, allocations: 12.66 kB / 395.6 MB, free: 2.988 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.5701, allocations: 83.83 kB / 395.7 MB, free: 2.906 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005297/0.5706, allocations: 1.806 MB / 397.5 MB, free: 1.043 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.5707, allocations: 59.52 kB / 397.6 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.5707, allocations: 16 kB / 397.6 MB, free: 0.9688 MB / 314.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,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput,medium1.baseProperties.phaseOutput) * 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 0.0001249/0.5709, allocations: 188.3 kB / 397.8 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.753e-05/0.5709, allocations: 31.81 kB / 397.8 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.613e-05/0.571, allocations: 30.64 kB / 397.8 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.571, allocations: 8.125 kB / 397.8 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.571, allocations: 0 / 397.8 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.571, allocations: 0 / 397.8 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.5713, allocations: 368.1 kB / 398.2 MB, free: 316 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5713, allocations: 0 / 398.2 MB, free: 316 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.041e-05/0.5714, allocations: 35.98 kB / 398.2 MB, free: 280 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.5714, allocations: 0 / 398.2 MB, free: 280 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.5714, allocations: 7.984 kB / 398.2 MB, free: 272 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004609/0.5718, allocations: 1.794 MB / 400 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.5718, allocations: 0 / 400 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003394/0.5722, allocations: 0.5455 MB / 400.6 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.097e-05/0.5722, allocations: 43.56 kB / 400.6 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.5722, allocations: 4 kB / 400.6 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.191e-05/0.5723, allocations: 11.92 kB / 400.6 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.5724, allocations: 15.98 kB / 400.6 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.5724, allocations: 7.984 kB / 400.7 MB, free: 13.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.581e-05/0.5724, allocations: 155.2 kB / 400.8 MB, free: 13.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5724, allocations: 0 / 400.8 MB, free: 13.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003419/0.5728, allocations: 187.5 kB / 401 MB, free: 13.43 MB / 330.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.0003079/0.5731, allocations: 186.8 kB / 401.2 MB, free: 13.25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004872/0.5736, allocations: 0.5116 MB / 401.7 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.5736, allocations: 0 / 401.7 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002761/0.5738, allocations: 448.9 kB / 402.1 MB, free: 12.19 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006437/0.5745, allocations: 228.6 kB / 402.3 MB, free: 11.97 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.5757, allocations: 0.9969 MB / 403.3 MB, free: 10.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.5758, allocations: 163.8 kB / 403.5 MB, free: 10.75 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002461/0.576, allocations: 187.9 kB / 403.7 MB, free: 10.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.989e-05/0.5761, allocations: 44.5 kB / 403.7 MB, free: 10.53 MB / 330.7 MB Notification: Performance of SimCode: time 7.21e-07/0.5761, allocations: 3.938 kB / 403.7 MB, free: 10.52 MB / 330.7 MB Notification: Performance of Templates: time 0.01118/0.5873, allocations: 9.072 MB / 412.8 MB, free: 1.43 MB / 330.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: 6.5173173625953496]