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.0009271/0.0009271, 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.001008/0.001008, 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 0.969/0.969, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.007744/0.007744, allocations: 1.995 MB / 262.2 MB, free: 10.92 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.503e-06/1.503e-06, allocations: 0 / 332.8 MB, free: 16.64 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.035e-05, allocations: 6.25 kB / 332.8 MB, free: 16.64 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical): time 0.01008/0.0101, allocations: 11.81 MB / 344.6 MB, free: 4.773 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01048/0.02059, allocations: 12.05 MB / 356.7 MB, free: 8.684 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002888/0.02088, allocations: 4 kB / 356.7 MB, free: 8.68 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006166/0.02149, allocations: 210.5 kB / 356.9 MB, free: 8.473 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002727/0.02422, allocations: 1.253 MB / 358.1 MB, free: 7.211 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.00272/0.02694, allocations: 1.165 MB / 359.3 MB, free: 6.039 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009573/0.0279, allocations: 0.9711 MB / 360.3 MB, free: 5.062 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.671e-05/0.02799, allocations: 29.91 kB / 360.3 MB, free: 5.031 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.5589/0.5869, allocations: 21.76 MB / 382.1 MB, free: 1.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003911/0.5873, allocations: 247.4 kB / 382.3 MB, free: 1.098 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.867e-05/0.5874, allocations: 40 kB / 382.3 MB, free: 1.059 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002118/0.5895, allocations: 0.687 MB / 383 MB, free: 380 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.5896, allocations: 111.5 kB / 383.1 MB, free: 268 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002234/0.5898, allocations: 227.5 kB / 383.4 MB, free: 40 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001614/0.5914, allocations: 0.9306 MB / 384.3 MB, free: 15.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.5914, allocations: 8 kB / 384.3 MB, free: 15.1 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5914, allocations: 0 / 384.3 MB, free: 15.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.5914, allocations: 3.938 kB / 384.3 MB, free: 15.09 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.001044/0.5925, allocations: 0.994 MB / 385.3 MB, free: 14.06 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.5925, allocations: 12.03 kB / 385.3 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/0.5945, allocations: 1.034 MB / 386.3 MB, free: 13.01 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.5949, allocations: 275.8 kB / 386.6 MB, free: 12.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.171e-05/0.5949, allocations: 49.69 kB / 386.7 MB, free: 12.67 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.607e-05/0.595, allocations: 56.31 kB / 386.7 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008708/0.5958, allocations: 0.7237 MB / 387.4 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.5959, allocations: 0 / 387.4 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.921e-05/0.5959, allocations: 24 kB / 387.5 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.952e-05/0.5959, allocations: 31.98 kB / 387.5 MB, free: 11.74 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004651/0.5964, allocations: 294.8 kB / 387.8 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002341/0.5987, allocations: 3.139 MB / 390.9 MB, free: 8.219 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004223/0.5992, allocations: 217.8 kB / 391.1 MB, free: 7.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.5993, allocations: 91.41 kB / 391.2 MB, free: 7.883 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008279/0.6001, allocations: 0.9423 MB / 392.2 MB, free: 6.922 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.6001, allocations: 37.39 kB / 392.2 MB, free: 6.875 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 1.522e-06/0.6001, allocations: 4 kB / 392.2 MB, free: 6.871 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.0009761/0.6011, allocations: 0.5098 MB / 392.7 MB, free: 6.355 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.6011, allocations: 89.03 kB / 392.8 MB, free: 6.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.6013, allocations: 225.7 kB / 393 MB, free: 6.012 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.6013, allocations: 33.7 kB / 393.1 MB, free: 5.973 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.6014, allocations: 335.2 kB / 393.4 MB, free: 5.637 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.6016, allocations: 257.7 kB / 393.6 MB, free: 5.383 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.6017, allocations: 107.5 kB / 393.7 MB, free: 5.266 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.6019, allocations: 0.5156 MB / 394.3 MB, free: 4.738 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.356e-05/0.6019, allocations: 57.28 kB / 394.3 MB, free: 4.684 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.6021, allocations: 279.6 kB / 394.6 MB, free: 4.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003245/0.6025, allocations: 384.9 kB / 395 MB, free: 3.852 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.6025, allocations: 4 kB / 395 MB, free: 3.848 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0004369/0.6029, allocations: 384.7 kB / 395.3 MB, free: 3.465 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.6029, allocations: 12 kB / 395.4 MB, free: 3.453 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.6029, allocations: 8 kB / 395.4 MB, free: 3.445 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.6029, allocations: 8 kB / 395.4 MB, free: 3.438 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.6031, allocations: 67.91 kB / 395.4 MB, free: 3.371 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.6031, allocations: 7.938 kB / 395.4 MB, free: 3.363 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.6033, allocations: 55.52 kB / 395.5 MB, free: 3.309 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.6033, allocations: 23.98 kB / 395.5 MB, free: 3.285 MB / 314.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 0.0001354/0.6034, allocations: 176.5 kB / 395.7 MB, free: 3.102 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.02e-05/0.6035, allocations: 39.8 kB / 395.7 MB, free: 3.062 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.517e-05/0.6036, allocations: 25.97 kB / 395.8 MB, free: 3.035 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.361e-06/0.6036, allocations: 8 kB / 395.8 MB, free: 3.027 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.6036, allocations: 0 / 395.8 MB, free: 3.027 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.6036, allocations: 7.922 kB / 395.8 MB, free: 3.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003687/0.604, allocations: 308.2 kB / 396.1 MB, free: 2.691 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.604, allocations: 4 kB / 396.1 MB, free: 2.688 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.825e-05/0.604, allocations: 35.92 kB / 396.1 MB, free: 2.652 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.604, allocations: 0 / 396.1 MB, free: 2.652 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.6041, allocations: 7.984 kB / 396.1 MB, free: 2.645 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.6041, allocations: 4 kB / 396.1 MB, free: 2.641 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6041, allocations: 0 / 396.1 MB, free: 2.641 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003933/0.6045, allocations: 0.5452 MB / 396.7 MB, free: 2.074 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.6045, allocations: 43.64 kB / 396.7 MB, free: 2.031 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.6045, allocations: 0 / 396.7 MB, free: 2.031 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.6047, allocations: 11.98 kB / 396.7 MB, free: 2.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.6047, allocations: 23.97 kB / 396.8 MB, free: 1.996 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.6047, allocations: 7.984 kB / 396.8 MB, free: 1.988 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.939e-05/0.6048, allocations: 152 kB / 396.9 MB, free: 1.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6048, allocations: 0 / 396.9 MB, free: 1.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004982/0.6053, allocations: 187.5 kB / 397.1 MB, free: 1.656 MB / 314.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.0003351/0.6056, allocations: 175.9 kB / 397.3 MB, free: 1.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000442/0.6061, allocations: 491.1 kB / 397.7 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6061, allocations: 4 kB / 397.7 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002826/0.6064, allocations: 433.9 kB / 398.2 MB, free: 480 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008244/0.6072, allocations: 212.6 kB / 398.4 MB, free: 268 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.6085, allocations: 0.9856 MB / 399.4 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.6087, allocations: 172.7 kB / 399.5 MB, free: 15.05 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003638/0.609, allocations: 205.9 kB / 399.7 MB, free: 14.84 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003558/0.6094, allocations: 254 kB / 400 MB, free: 14.59 MB / 330.7 MB Notification: Performance of SimCode: time 7.22e-07/0.6094, allocations: 3.938 kB / 400 MB, free: 14.59 MB / 330.7 MB Notification: Performance of Templates: time 0.01582/0.6252, allocations: 10.57 MB / 410.6 MB, free: 4.023 MB / 330.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: 5.003105397336185]