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.001414/0.001414, 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.001175/0.001175, allocations: 169 kB / 23.02 MB, free: 1.547 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.9754/0.9754, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.009856/0.009856, allocations: 1.985 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.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.703e-06/1.703e-06, allocations: 0 / 332.4 MB, free: 1.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.784e-05, allocations: 2.312 kB / 332.4 MB, free: 1.977 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit): time 0.01464/0.01467, allocations: 11.94 MB / 344.3 MB, free: 5.98 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008496/0.02317, allocations: 12.16 MB / 356.5 MB, free: 9.777 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002134/0.02338, allocations: 7.938 kB / 356.5 MB, free: 9.77 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005344/0.02392, allocations: 222.4 kB / 356.7 MB, free: 9.551 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003042/0.02696, allocations: 1.249 MB / 357.9 MB, free: 8.293 MB / 330.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.0026/0.02956, allocations: 1.176 MB / 359.1 MB, free: 7.109 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001084/0.03064, allocations: 0.9785 MB / 360.1 MB, free: 6.125 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.428e-05/0.03073, allocations: 29.91 kB / 360.1 MB, free: 6.094 MB / 330.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.5318/0.5625, allocations: 21.75 MB / 381.9 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004034/0.5629, allocations: 247.3 kB / 382.1 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.319e-05/0.5629, allocations: 40 kB / 382.1 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001956/0.5649, allocations: 0.687 MB / 382.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.565, allocations: 115.5 kB / 382.9 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.5652, allocations: 231.5 kB / 383.2 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001377/0.5666, allocations: 0.9267 MB / 384.1 MB, free: 136 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.5666, allocations: 0 / 384.1 MB, free: 136 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.5666, allocations: 0 / 384.1 MB, free: 136 kB / 346.7 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.5666, allocations: 4 kB / 384.1 MB, free: 132 kB / 346.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.0009589/0.5676, allocations: 0.9904 MB / 385.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.5676, allocations: 8.031 kB / 385.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/0.569, allocations: 1.03 MB / 386.1 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003603/0.5693, allocations: 287.6 kB / 386.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.519e-05/0.5694, allocations: 45.69 kB / 386.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.696e-05/0.5694, allocations: 56.38 kB / 386.5 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000772/0.5702, allocations: 0.7745 MB / 387.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.5702, allocations: 4 kB / 387.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.544e-05/0.5702, allocations: 28 kB / 387.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.5703, allocations: 31.97 kB / 387.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004423/0.5707, allocations: 348.8 kB / 387.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/0.5727, allocations: 3.236 MB / 390.9 MB, free: 9.039 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004538/0.5731, allocations: 234.1 kB / 391.2 MB, free: 8.785 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.5732, allocations: 103.3 kB / 391.3 MB, free: 8.676 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006353/0.5739, allocations: 0.9155 MB / 392.2 MB, free: 7.738 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.5739, allocations: 41.39 kB / 392.2 MB, free: 7.688 MB / 362.7 MB Notification: Performance of pre-optimization done (n=71): time 1.533e-06/0.5739, allocations: 0 / 392.2 MB, free: 7.688 MB / 362.7 MB Notification: Performance of matching and sorting (n=71): time 0.0007518/0.5746, allocations: 0.5273 MB / 392.7 MB, free: 7.156 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.5747, allocations: 85.05 kB / 392.8 MB, free: 7.055 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.5748, allocations: 237.7 kB / 393.1 MB, free: 6.805 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.5748, allocations: 33.64 kB / 393.1 MB, free: 6.766 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.5749, allocations: 351.1 kB / 393.4 MB, free: 6.414 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.575, allocations: 245.8 kB / 393.7 MB, free: 6.172 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.941e-05/0.5751, allocations: 103.6 kB / 393.8 MB, free: 6.059 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.5753, allocations: 0.5118 MB / 394.3 MB, free: 5.535 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.728e-05/0.5753, allocations: 65.3 kB / 394.3 MB, free: 5.473 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.5755, allocations: 314.8 kB / 394.7 MB, free: 5.062 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003108/0.5758, allocations: 443.5 kB / 395.1 MB, free: 4.523 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5758, allocations: 0 / 395.1 MB, free: 4.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0003935/0.5762, allocations: 428.3 kB / 395.5 MB, free: 4.098 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.5763, allocations: 8 kB / 395.5 MB, free: 4.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.5763, allocations: 4 kB / 395.5 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.5763, allocations: 8 kB / 395.5 MB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.5764, allocations: 64.56 kB / 395.6 MB, free: 4.016 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.5764, allocations: 15.88 kB / 395.6 MB, free: 4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.5765, allocations: 63.52 kB / 395.7 MB, free: 3.938 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.5766, allocations: 23.98 kB / 395.7 MB, free: 3.914 MB / 362.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): 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.0001231/0.5767, allocations: 184.4 kB / 395.9 MB, free: 3.723 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.523e-05/0.5767, allocations: 31.81 kB / 395.9 MB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.494e-05/0.5768, allocations: 26.66 kB / 395.9 MB, free: 3.664 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.5768, allocations: 0 / 395.9 MB, free: 3.664 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.5768, allocations: 7.938 kB / 395.9 MB, free: 3.656 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.5768, allocations: 3.984 kB / 395.9 MB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.5771, allocations: 372 kB / 396.3 MB, free: 3.254 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.5771, allocations: 4 kB / 396.3 MB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.513e-05/0.5772, allocations: 23.98 kB / 396.3 MB, free: 3.227 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.5772, allocations: 0 / 396.3 MB, free: 3.227 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.5772, allocations: 11.98 kB / 396.3 MB, free: 3.215 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.5772, allocations: 4 kB / 396.3 MB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.5772, allocations: 3.938 kB / 396.3 MB, free: 3.207 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003722/0.5776, allocations: 0.5416 MB / 396.9 MB, free: 2.645 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.017e-05/0.5776, allocations: 43.62 kB / 396.9 MB, free: 2.602 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.5776, allocations: 0 / 396.9 MB, free: 2.602 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.981e-05/0.5777, allocations: 8 kB / 396.9 MB, free: 2.594 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.5778, allocations: 19.91 kB / 397 MB, free: 2.574 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.5778, allocations: 12 kB / 397 MB, free: 2.562 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.908e-05/0.5778, allocations: 155.2 kB / 397.1 MB, free: 2.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.5778, allocations: 0 / 397.1 MB, free: 2.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003449/0.5782, allocations: 179.5 kB / 397.3 MB, free: 2.234 MB / 362.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.0003052/0.5785, allocations: 179.5 kB / 397.5 MB, free: 2.062 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004289/0.5789, allocations: 495.1 kB / 398 MB, free: 1.551 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.5789, allocations: 4 kB / 398 MB, free: 1.547 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002471/0.5792, allocations: 445.8 kB / 398.4 MB, free: 1.035 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006324/0.5798, allocations: 200.7 kB / 398.6 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.5811, allocations: 0.997 MB / 399.6 MB, free: 15.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.5812, allocations: 163.7 kB / 399.7 MB, free: 15.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003437/0.5815, allocations: 213.9 kB / 400 MB, free: 15.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.907e-05/0.5816, allocations: 44.5 kB / 400 MB, free: 15.37 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.5816, allocations: 0 / 400 MB, free: 15.37 MB / 378.7 MB Notification: Performance of Templates: time 0.01169/0.5933, allocations: 9.88 MB / 409.9 MB, free: 5.457 MB / 378.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 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.764453349169344]