Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.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.0008708/0.0008708, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007288/0.008158, allocations: 435.8 kB / 10.33 MB, free: 368 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.000954/0.000954, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001253/0.002207, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.8938/0.8938, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08223/0.976, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.01016/0.01016, allocations: 1.981 MB / 246 MB, free: 12.88 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002008/0.01217, allocations: 1.227 MB / 247.2 MB, free: 11.65 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.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 248.5 MB, free: 10.37 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.215e-05/1.355e-05, allocations: 6.25 kB / 248.5 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical): time 0.01039/0.0104, allocations: 11.93 MB / 260.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007666/0.01807, allocations: 12.16 MB / 272.6 MB, free: 2.176 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.01825, allocations: 7.938 kB / 272.6 MB, free: 2.168 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003503/0.0186, allocations: 214.4 kB / 272.8 MB, free: 1.957 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001987/0.02058, allocations: 1.253 MB / 274 MB, free: 0.6953 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.1014/0.1219, allocations: 1.167 MB / 275.2 MB, free: 5.863 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008741/0.1228, allocations: 0.9881 MB / 276.2 MB, free: 5.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.488e-05/0.1229, allocations: 30.98 kB / 276.2 MB, free: 5.738 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.5251/0.648, allocations: 21.83 MB / 298.1 MB, free: 9.82 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003982/0.6484, allocations: 242.8 kB / 298.3 MB, free: 9.789 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.795e-05/0.6484, allocations: 38.22 kB / 298.3 MB, free: 9.789 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001516/0.6499, allocations: 0.707 MB / 299 MB, free: 9.789 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.933e-05/0.65, allocations: 84.3 kB / 299.1 MB, free: 9.766 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.6502, allocations: 196.6 kB / 299.3 MB, free: 9.742 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.6513, allocations: 0.9015 MB / 300.2 MB, free: 9.652 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.489e-05/0.6513, allocations: 0 / 300.2 MB, free: 9.652 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.6513, allocations: 0 / 300.2 MB, free: 9.652 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.6514, allocations: 0 / 300.2 MB, free: 9.652 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.0009579/0.6523, allocations: 1.101 MB / 301.3 MB, free: 9.086 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.745e-05/0.6523, allocations: 10.38 kB / 301.3 MB, free: 9.086 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.6536, allocations: 1.046 MB / 302.4 MB, free: 8.992 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.6539, allocations: 208.9 kB / 302.6 MB, free: 8.836 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.6539, allocations: 43.44 kB / 302.6 MB, free: 8.836 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.391e-05/0.654, allocations: 58.34 kB / 302.7 MB, free: 8.836 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005655/0.6545, allocations: 0.7004 MB / 303.4 MB, free: 8.531 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.6545, allocations: 7.562 kB / 303.4 MB, free: 8.527 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.6546, allocations: 27 kB / 303.4 MB, free: 8.523 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.6546, allocations: 34.36 kB / 303.4 MB, free: 8.523 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003056/0.6549, allocations: 293.3 kB / 303.7 MB, free: 8.508 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.6563, allocations: 2.247 MB / 306 MB, free: 7.09 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.6566, allocations: 188.8 kB / 306.2 MB, free: 7.035 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.577e-05/0.6566, allocations: 73.25 kB / 306.2 MB, free: 7.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005047/0.6571, allocations: 0.6711 MB / 306.9 MB, free: 6.617 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.6571, allocations: 37.19 kB / 306.9 MB, free: 6.578 MB / 282.7 MB Notification: Performance of pre-optimization done (n=74): time 1.092e-06/0.6571, allocations: 0 / 306.9 MB, free: 6.578 MB / 282.7 MB Notification: Performance of matching and sorting (n=74): time 0.0005868/0.6577, allocations: 456.8 kB / 307.4 MB, free: 6.223 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.6578, allocations: 88.3 kB / 307.5 MB, free: 6.121 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.179e-05/0.6579, allocations: 177.6 kB / 307.6 MB, free: 5.969 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.6579, allocations: 25.7 kB / 307.7 MB, free: 5.938 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.343e-05/0.658, allocations: 287.8 kB / 307.9 MB, free: 5.699 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.168e-05/0.6581, allocations: 255.4 kB / 308.2 MB, free: 5.496 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.54e-05/0.6581, allocations: 92.53 kB / 308.3 MB, free: 5.441 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.728e-05/0.6582, allocations: 348.6 kB / 308.6 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.355e-05/0.6582, allocations: 46.81 kB / 308.7 MB, free: 5.082 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.6583, allocations: 202.9 kB / 308.9 MB, free: 4.852 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.6585, allocations: 319.3 kB / 309.2 MB, free: 4.531 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.6585, allocations: 4 kB / 309.2 MB, free: 4.527 MB / 282.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0002438/0.6588, allocations: 306.7 kB / 309.5 MB, free: 4.297 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.6588, allocations: 9.969 kB / 309.5 MB, free: 4.289 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.6588, allocations: 8 kB / 309.5 MB, free: 4.281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.6588, allocations: 4.625 kB / 309.5 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.6589, allocations: 81.44 kB / 309.6 MB, free: 4.215 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.659, allocations: 13.86 kB / 309.6 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.6591, allocations: 47.39 kB / 309.6 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.6591, allocations: 15.75 kB / 309.7 MB, free: 4.152 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 9.833e-05/0.6592, allocations: 143.7 kB / 309.8 MB, free: 4.02 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.6592, allocations: 25.22 kB / 309.8 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.968e-05/0.6593, allocations: 24.84 kB / 309.9 MB, free: 3.988 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.6593, allocations: 4 kB / 309.9 MB, free: 3.984 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.6593, allocations: 0 / 309.9 MB, free: 3.984 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.6593, allocations: 0 / 309.9 MB, free: 3.984 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.6595, allocations: 249.8 kB / 310.1 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.6595, allocations: 0 / 310.1 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.144e-05/0.6595, allocations: 35.19 kB / 310.1 MB, free: 3.77 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.574e-05/0.6596, allocations: 38.72 kB / 310.2 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.6596, allocations: 4 kB / 310.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.6596, allocations: 7.75 kB / 310.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.6596, allocations: 0 / 310.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.6596, allocations: 0 / 310.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.6598, allocations: 406 kB / 310.6 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.6598, allocations: 7.75 kB / 310.6 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.044e-05/0.6599, allocations: 6.125 kB / 310.6 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.6599, allocations: 23.23 kB / 310.6 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.66, allocations: 7.875 kB / 310.6 MB, free: 3.344 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.301e-05/0.66, allocations: 30.81 kB / 310.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.66, allocations: 0 / 310.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003037/0.6603, allocations: 188 kB / 310.8 MB, free: 3.145 MB / 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: 4 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.baseProperties.phaseOutput,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * 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.0002737/0.6606, allocations: 174.8 kB / 311 MB, free: 3.004 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002981/0.6609, allocations: 452.5 kB / 311.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/0.6609, allocations: 4 kB / 311.5 MB, free: 2.629 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.6611, allocations: 424.8 kB / 311.9 MB, free: 2.207 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005596/0.6616, allocations: 234.5 kB / 312.1 MB, free: 2.043 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006123/0.6677, allocations: 1.034 MB / 313.1 MB, free: 1.105 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.6678, allocations: 165.2 kB / 313.3 MB, free: 0.957 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002997/0.6681, allocations: 219.2 kB / 313.5 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002563/0.6684, allocations: 209.6 kB / 313.7 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of SimCode: time 8.12e-07/0.6684, allocations: 0 / 313.7 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of Templates: time 0.01184/0.6802, allocations: 10.95 MB / 324.7 MB, free: 6.125 MB / 298.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.529522958211601]