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.0006873/0.0006873, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009672/0.001655, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006836/0.0006836, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009662/0.00165, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.8992/0.8992, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07889/0.9781, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.006983/0.006983, allocations: 1.992 MB / 246.1 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001692/0.008675, allocations: 1.231 MB / 247.4 MB, free: 11.54 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.563e-06/1.563e-06, allocations: 3.938 kB / 248.7 MB, free: 10.21 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.648e-06/1.121e-05, allocations: 2.312 kB / 248.7 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit): time 0.01131/0.01132, allocations: 11.98 MB / 260.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007773/0.01909, allocations: 12.16 MB / 272.8 MB, free: 1.965 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002082/0.0193, allocations: 8 kB / 272.8 MB, free: 1.957 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004065/0.01971, allocations: 218.4 kB / 273 MB, free: 1.742 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002177/0.02188, allocations: 1.253 MB / 274.3 MB, free: 492 kB / 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.1051/0.127, allocations: 1.2 MB / 275.5 MB, free: 5.578 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008666/0.1278, allocations: 0.9981 MB / 276.5 MB, free: 5.398 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.416e-05/0.1279, allocations: 36.83 kB / 276.5 MB, free: 5.387 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.5342/0.6621, allocations: 21.83 MB / 298.4 MB, free: 9.473 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005603/0.6627, allocations: 240.3 kB / 298.6 MB, free: 9.441 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.11e-05/0.6628, allocations: 39.31 kB / 298.6 MB, free: 9.441 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001977/0.6647, allocations: 0.71 MB / 299.3 MB, free: 9.441 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:59:13-75:27:writable] Warning: The C struct of record ExternalMedia.Examples.CO2CoolProp.SaturationProperties is assumed to have the components of the record in the same order. This is deprecated: give the record an Include annotation that defines the struct. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:36:25-57:25:writable] Warning: The C struct of record ExternalMedia.Examples.CO2CoolProp.ThermodynamicState is assumed to have the components of the record in the same order. This is deprecated: give the record an Include annotation that defines the struct. Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.6648, allocations: 87.61 kB / 299.4 MB, free: 9.414 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002009/0.665, allocations: 202.1 kB / 299.6 MB, free: 9.391 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001588/0.6666, allocations: 0.8957 MB / 300.5 MB, free: 9.289 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.362e-05/0.6666, allocations: 0 / 300.5 MB, free: 9.289 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.6666, allocations: 0 / 300.5 MB, free: 9.289 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.6666, allocations: 0 / 300.5 MB, free: 9.289 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.001192/0.6678, allocations: 1.106 MB / 301.6 MB, free: 8.723 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.706e-05/0.6679, allocations: 7.859 kB / 301.6 MB, free: 8.723 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/0.6694, allocations: 1.058 MB / 302.7 MB, free: 8.625 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.6698, allocations: 209.5 kB / 302.9 MB, free: 8.469 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/0.6698, allocations: 42.28 kB / 302.9 MB, free: 8.469 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.172e-05/0.6698, allocations: 57.06 kB / 303 MB, free: 8.469 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006644/0.6705, allocations: 0.7014 MB / 303.7 MB, free: 8.164 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.6705, allocations: 3.984 kB / 303.7 MB, free: 8.16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.6705, allocations: 28.47 kB / 303.7 MB, free: 8.156 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.6706, allocations: 34.38 kB / 303.8 MB, free: 8.156 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003379/0.6709, allocations: 297.8 kB / 304.1 MB, free: 8.141 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.6724, allocations: 2.267 MB / 306.3 MB, free: 6.727 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.6727, allocations: 168.9 kB / 306.5 MB, free: 6.68 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.688e-05/0.6728, allocations: 71.62 kB / 306.6 MB, free: 6.664 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005118/0.6733, allocations: 0.6772 MB / 307.2 MB, free: 6.156 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.6733, allocations: 34.56 kB / 307.3 MB, free: 6.113 MB / 282.7 MB Notification: Performance of pre-optimization done (n=71): time 1.383e-06/0.6733, allocations: 0 / 307.3 MB, free: 6.113 MB / 282.7 MB Notification: Performance of matching and sorting (n=71): time 0.000646/0.674, allocations: 438.8 kB / 307.7 MB, free: 5.773 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.674, allocations: 78 kB / 307.8 MB, free: 5.68 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.6741, allocations: 198.3 kB / 308 MB, free: 5.516 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.6741, allocations: 25.7 kB / 308 MB, free: 5.484 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.94e-05/0.6742, allocations: 293.1 kB / 308.3 MB, free: 5.242 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.185e-05/0.6743, allocations: 246.9 kB / 308.5 MB, free: 5.047 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.074e-05/0.6744, allocations: 95.39 kB / 308.6 MB, free: 4.992 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.658e-05/0.6744, allocations: 352 kB / 309 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.128e-05/0.6745, allocations: 44.89 kB / 309 MB, free: 4.625 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.6746, allocations: 226.5 kB / 309.2 MB, free: 4.367 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.6748, allocations: 354.2 kB / 309.6 MB, free: 4.016 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.6748, allocations: 4 kB / 309.6 MB, free: 4.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0002659/0.6751, allocations: 317.8 kB / 309.9 MB, free: 3.773 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.6751, allocations: 8 kB / 309.9 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.6751, allocations: 4 kB / 309.9 MB, free: 3.762 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.6751, allocations: 8 kB / 309.9 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.6753, allocations: 86.73 kB / 310 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003556/0.6757, allocations: 1.172 MB / 311.2 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.6758, allocations: 60.97 kB / 311.2 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.6758, allocations: 15.44 kB / 311.2 MB, free: 2.43 MB / 282.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 0.000117/0.6759, allocations: 150.7 kB / 311.4 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.66e-05/0.676, allocations: 20.81 kB / 311.4 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.157e-05/0.676, allocations: 22.66 kB / 311.4 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.676, allocations: 0 / 311.4 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.676, allocations: 0 / 311.4 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.676, allocations: 2.391 kB / 311.4 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.6763, allocations: 243.2 kB / 311.7 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.6763, allocations: 0 / 311.7 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.17e-05/0.6764, allocations: 46.58 kB / 311.7 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.935e-05/0.6764, allocations: 43.52 kB / 311.8 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.6764, allocations: 4 kB / 311.8 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.6764, allocations: 0 / 311.8 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002992/0.6767, allocations: 1.161 MB / 312.9 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.6767, allocations: 3.938 kB / 312.9 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.6769, allocations: 383.3 kB / 313.3 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.6769, allocations: 4.125 kB / 313.3 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.355e-05/0.677, allocations: 15.69 kB / 313.3 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.677, allocations: 15.36 kB / 313.3 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.677, allocations: 3.875 kB / 313.3 MB, free: 460 kB / 282.7 MB Notification: Performance of sorting global known variables: time 2.833e-05/0.6771, allocations: 42.73 kB / 313.4 MB, free: 428 kB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.6771, allocations: 0 / 313.4 MB, free: 428 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003222/0.6774, allocations: 183.2 kB / 313.6 MB, free: 252 kB / 282.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.0003115/0.6777, allocations: 194.2 kB / 313.7 MB, free: 84 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004139/0.6781, allocations: 481.7 kB / 314.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/0.6781, allocations: 4 kB / 314.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002432/0.6784, allocations: 458.2 kB / 314.7 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005878/0.679, allocations: 336 kB / 315 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00598/0.6849, allocations: 1.036 MB / 316 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.685, allocations: 163.9 kB / 316.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002607/0.6853, allocations: 184.3 kB / 316.4 MB, free: 13.74 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/0.6855, allocations: 198.5 kB / 316.6 MB, free: 13.58 MB / 298.7 MB Notification: Performance of SimCode: time 7.81e-07/0.6855, allocations: 0 / 316.6 MB, free: 13.58 MB / 298.7 MB Notification: Performance of Templates: time 0.01235/0.6979, allocations: 10.83 MB / 327.4 MB, free: 3.172 MB / 298.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.937801085412502]