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.0008479/0.0008479, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001084/0.001084, allocations: 169 kB / 23.27 MB, free: 1.223 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.016/1.016, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.007732/0.007732, allocations: 1.996 MB / 262.2 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.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.403e-06/1.403e-06, allocations: 0 / 332.8 MB, free: 1.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.5e-05, allocations: 2.312 kB / 332.8 MB, free: 1.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit): time 0.01214/0.01217, allocations: 11.82 MB / 344.6 MB, free: 5.832 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008429/0.0206, allocations: 12.03 MB / 356.7 MB, free: 9.762 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000374/0.02097, allocations: 4 kB / 356.7 MB, free: 9.758 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005519/0.02152, allocations: 218.4 kB / 356.9 MB, free: 9.543 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002789/0.02431, allocations: 1.26 MB / 358.1 MB, free: 8.273 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.002529/0.02684, allocations: 1.169 MB / 359.3 MB, free: 7.098 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009686/0.02781, allocations: 0.9785 MB / 360.3 MB, free: 6.113 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.319e-05/0.0279, allocations: 29.91 kB / 360.3 MB, free: 6.082 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.5421/0.57, allocations: 21.75 MB / 382.1 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000372/0.5704, allocations: 239.4 kB / 382.3 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.038e-05/0.5704, allocations: 40 kB / 382.3 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001885/0.5723, allocations: 0.6948 MB / 383 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.5725, allocations: 111.5 kB / 383.1 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002225/0.5727, allocations: 231.4 kB / 383.4 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.5745, allocations: 0.9346 MB / 384.3 MB, free: 116 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.5745, allocations: 0 / 384.3 MB, free: 116 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.5745, allocations: 3.938 kB / 384.3 MB, free: 112 kB / 346.7 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.5745, allocations: 0 / 384.3 MB, free: 112 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.0009025/0.5754, allocations: 0.9942 MB / 385.3 MB, free: 15.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.5754, allocations: 8.031 kB / 385.3 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.5768, allocations: 1.038 MB / 386.3 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.5771, allocations: 279.7 kB / 386.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.365e-05/0.5771, allocations: 49.69 kB / 386.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.221e-05/0.5772, allocations: 56.38 kB / 386.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006819/0.5778, allocations: 0.7236 MB / 387.4 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.5779, allocations: 0 / 387.4 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.5779, allocations: 28 kB / 387.5 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/0.5779, allocations: 31.92 kB / 387.5 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004958/0.5784, allocations: 298.8 kB / 387.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002022/0.5804, allocations: 3.17 MB / 391 MB, free: 9.188 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.5808, allocations: 210 kB / 391.2 MB, free: 8.957 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.879e-05/0.5808, allocations: 91.38 kB / 391.3 MB, free: 8.859 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006645/0.5815, allocations: 0.9271 MB / 392.2 MB, free: 7.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.5815, allocations: 41.39 kB / 392.2 MB, free: 7.859 MB / 362.7 MB Notification: Performance of pre-optimization done (n=71): time 1.433e-06/0.5815, allocations: 4 kB / 392.2 MB, free: 7.855 MB / 362.7 MB Notification: Performance of matching and sorting (n=71): time 0.0006926/0.5822, allocations: 0.4921 MB / 392.7 MB, free: 7.359 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.5822, allocations: 77.11 kB / 392.8 MB, free: 7.266 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.5824, allocations: 245.6 kB / 393 MB, free: 7.008 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.5824, allocations: 29.7 kB / 393.1 MB, free: 6.973 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.5825, allocations: 343.1 kB / 393.4 MB, free: 6.629 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.5826, allocations: 249.7 kB / 393.6 MB, free: 6.383 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.08e-05/0.5827, allocations: 103.6 kB / 393.7 MB, free: 6.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.5829, allocations: 0.5195 MB / 394.3 MB, free: 5.738 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.67e-05/0.5829, allocations: 49.23 kB / 394.3 MB, free: 5.691 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.5831, allocations: 314.6 kB / 394.6 MB, free: 5.281 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/0.5833, allocations: 419.5 kB / 395 MB, free: 4.766 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.5833, allocations: 4 kB / 395 MB, free: 4.762 MB / 362.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0003403/0.5837, allocations: 396.9 kB / 395.4 MB, free: 4.367 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.5837, allocations: 12 kB / 395.4 MB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.5837, allocations: 4 kB / 395.4 MB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.5837, allocations: 8 kB / 395.4 MB, free: 4.344 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.5838, allocations: 63.91 kB / 395.5 MB, free: 4.281 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.5839, allocations: 11.94 kB / 395.5 MB, free: 4.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.584, allocations: 63.45 kB / 395.6 MB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.584, allocations: 16 kB / 395.6 MB, free: 4.191 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,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.0001186/0.5841, allocations: 184.4 kB / 395.8 MB, free: 4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.5842, allocations: 35.75 kB / 395.8 MB, free: 3.965 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.111e-05/0.5842, allocations: 30.66 kB / 395.8 MB, free: 3.934 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.5842, allocations: 0 / 395.8 MB, free: 3.934 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.5842, allocations: 4 kB / 395.8 MB, free: 3.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.5842, allocations: 7.922 kB / 395.9 MB, free: 3.922 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.5845, allocations: 288.6 kB / 396.1 MB, free: 3.613 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.5845, allocations: 4 kB / 396.1 MB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.759e-05/0.5846, allocations: 23.98 kB / 396.2 MB, free: 3.586 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.5846, allocations: 4 kB / 396.2 MB, free: 3.582 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.5846, allocations: 4 kB / 396.2 MB, free: 3.578 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.5846, allocations: 7.938 kB / 396.2 MB, free: 3.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5846, allocations: 0 / 396.2 MB, free: 3.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.5849, allocations: 0.5376 MB / 396.7 MB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.5849, allocations: 35.62 kB / 396.8 MB, free: 2.977 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.5849, allocations: 11.98 kB / 396.8 MB, free: 2.965 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.122e-05/0.585, allocations: 0 / 396.8 MB, free: 2.965 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.5851, allocations: 15.98 kB / 396.8 MB, free: 2.949 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/0.5851, allocations: 11.97 kB / 396.8 MB, free: 2.938 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.535e-05/0.5851, allocations: 159.1 kB / 396.9 MB, free: 2.781 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5851, allocations: 0 / 396.9 MB, free: 2.781 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003956/0.5855, allocations: 183.5 kB / 397.1 MB, free: 2.602 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.0002682/0.5858, allocations: 191.5 kB / 397.3 MB, free: 2.418 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003519/0.5861, allocations: 471.4 kB / 397.8 MB, free: 1.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5861, allocations: 0 / 397.8 MB, free: 1.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.5864, allocations: 433.4 kB / 398.2 MB, free: 1.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00061/0.587, allocations: 200.7 kB / 398.4 MB, free: 1.234 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.5881, allocations: 0.9853 MB / 399.4 MB, free: 216 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.5883, allocations: 163.7 kB / 399.5 MB, free: 32 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003268/0.5886, allocations: 213.9 kB / 399.7 MB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000251/0.5888, allocations: 226.1 kB / 400 MB, free: 15.6 MB / 378.7 MB Notification: Performance of SimCode: time 7.32e-07/0.5888, allocations: 0 / 400 MB, free: 15.6 MB / 378.7 MB Notification: Performance of Templates: time 0.01219/0.601, allocations: 10.04 MB / 410 MB, free: 5.52 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.818559898994863]