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.0006873/0.0006873, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009303/0.001618, 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.0007226/0.0007226, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009419/0.001664, 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.8596/0.8596, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.114/0.9736, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.007139/0.007139, allocations: 1.984 MB / 245.9 MB, free: 12.88 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001872/0.009011, allocations: 1.23 MB / 247.2 MB, free: 11.64 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.132e-06/1.132e-06, allocations: 0 / 248.5 MB, free: 10.36 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106e-05/1.219e-05, allocations: 6.25 kB / 248.5 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit): time 0.01203/0.01204, allocations: 11.93 MB / 260.4 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007888/0.01993, allocations: 12.16 MB / 272.6 MB, free: 2.164 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.02008, allocations: 3.938 kB / 272.6 MB, free: 2.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.0204, allocations: 226.4 kB / 272.8 MB, free: 1.938 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001527/0.02193, allocations: 1.245 MB / 274 MB, free: 0.6836 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.1057/0.1276, allocations: 1.167 MB / 275.2 MB, free: 5.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001092/0.1287, allocations: 0.9929 MB / 276.2 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.903e-05/0.1288, allocations: 34.27 kB / 276.2 MB, free: 5.602 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.5205/0.6493, allocations: 21.82 MB / 298 MB, free: 9.695 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004296/0.6497, allocations: 237 kB / 298.3 MB, free: 9.664 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.517e-05/0.6498, allocations: 39.97 kB / 298.3 MB, free: 9.664 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/0.6516, allocations: 0.708 MB / 299 MB, free: 9.664 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.722e-05/0.6517, allocations: 81.89 kB / 299.1 MB, free: 9.641 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002288/0.652, allocations: 198.8 kB / 299.3 MB, free: 9.617 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.6535, allocations: 0.901 MB / 300.2 MB, free: 9.527 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-05/0.6535, allocations: 4.156 kB / 300.2 MB, free: 9.527 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.6535, allocations: 0 / 300.2 MB, free: 9.527 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.6535, allocations: 0 / 300.2 MB, free: 9.527 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.0009205/0.6544, allocations: 1.09 MB / 301.3 MB, free: 8.965 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.6544, allocations: 10.53 kB / 301.3 MB, free: 8.965 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/0.6557, allocations: 1.052 MB / 302.4 MB, free: 8.867 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.656, allocations: 214.2 kB / 302.6 MB, free: 8.711 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.656, allocations: 49.98 kB / 302.6 MB, free: 8.707 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.656, allocations: 54.81 kB / 302.7 MB, free: 8.707 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006002/0.6566, allocations: 0.6981 MB / 303.4 MB, free: 8.402 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.6567, allocations: 2.109 kB / 303.4 MB, free: 8.402 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.6567, allocations: 32.5 kB / 303.4 MB, free: 8.398 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/0.6567, allocations: 28.09 kB / 303.4 MB, free: 8.398 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003064/0.657, allocations: 296.2 kB / 303.7 MB, free: 8.379 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/0.6584, allocations: 2.27 MB / 306 MB, free: 6.961 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002329/0.6587, allocations: 186.9 kB / 306.2 MB, free: 6.902 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.663e-05/0.6587, allocations: 65.78 kB / 306.2 MB, free: 6.887 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004576/0.6592, allocations: 0.6664 MB / 306.9 MB, free: 6.496 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.6592, allocations: 36.16 kB / 306.9 MB, free: 6.457 MB / 282.7 MB Notification: Performance of pre-optimization done (n=71): time 1.233e-06/0.6592, allocations: 0 / 306.9 MB, free: 6.457 MB / 282.7 MB Notification: Performance of matching and sorting (n=71): time 0.0005618/0.6598, allocations: 441.6 kB / 307.4 MB, free: 6.121 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.6598, allocations: 81.11 kB / 307.4 MB, free: 6.023 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.371e-05/0.6599, allocations: 186.1 kB / 307.6 MB, free: 5.867 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.6599, allocations: 29.64 kB / 307.7 MB, free: 5.836 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.66, allocations: 299.9 kB / 308 MB, free: 5.586 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.949e-05/0.6601, allocations: 238.4 kB / 308.2 MB, free: 5.398 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.791e-05/0.6602, allocations: 97.11 kB / 308.3 MB, free: 5.34 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.945e-05/0.6603, allocations: 348.5 kB / 308.6 MB, free: 5.016 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.088e-05/0.6603, allocations: 46.06 kB / 308.7 MB, free: 4.977 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.6604, allocations: 223.4 kB / 308.9 MB, free: 4.723 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.6606, allocations: 333.8 kB / 309.2 MB, free: 4.383 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.6606, allocations: 4 kB / 309.2 MB, free: 4.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0002607/0.6609, allocations: 321.1 kB / 309.5 MB, free: 4.145 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.6609, allocations: 8 kB / 309.5 MB, free: 4.137 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.6609, allocations: 8 kB / 309.5 MB, free: 4.129 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.6609, allocations: 4 kB / 309.5 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.661, allocations: 80.12 kB / 309.6 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.6611, allocations: 8 kB / 309.6 MB, free: 4.059 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.6612, allocations: 59.34 kB / 309.7 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.6612, allocations: 18.42 kB / 309.7 MB, free: 3.992 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): 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.0001025/0.6613, allocations: 149.7 kB / 309.9 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.6613, allocations: 21.7 kB / 309.9 MB, free: 3.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.668e-05/0.6614, allocations: 29.12 kB / 309.9 MB, free: 3.824 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.6614, allocations: 4 kB / 309.9 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.6614, allocations: 3.938 kB / 309.9 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.6614, allocations: 3.375 kB / 309.9 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.6616, allocations: 229.4 kB / 310.1 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.6616, allocations: 0 / 310.1 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.781e-05/0.6616, allocations: 34.56 kB / 310.2 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.6617, allocations: 38.44 kB / 310.2 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.6617, allocations: 4 kB / 310.2 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.6617, allocations: 7.625 kB / 310.2 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.6617, allocations: 0 / 310.2 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6617, allocations: 0 / 310.2 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/0.6619, allocations: 382.4 kB / 310.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.6619, allocations: 9.172 kB / 310.6 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.711e-05/0.662, allocations: 4 kB / 310.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.662, allocations: 12.97 kB / 310.6 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.662, allocations: 2.125 kB / 310.6 MB, free: 3.211 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.981e-05/0.6621, allocations: 47.47 kB / 310.7 MB, free: 3.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.6621, allocations: 0 / 310.7 MB, free: 3.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003183/0.6624, allocations: 184.5 kB / 310.8 MB, free: 3.008 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: 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.0003088/0.6627, allocations: 176.5 kB / 311 MB, free: 2.859 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003044/0.663, allocations: 450.5 kB / 311.5 MB, free: 2.492 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/0.663, allocations: 5.438 kB / 311.5 MB, free: 2.488 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.6632, allocations: 416.1 kB / 311.9 MB, free: 2.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005436/0.6638, allocations: 240.1 kB / 312.1 MB, free: 1.902 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005987/0.6697, allocations: 1.007 MB / 313.1 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.6698, allocations: 170.9 kB / 313.3 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003101/0.6702, allocations: 210.5 kB / 313.5 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/0.6704, allocations: 198.2 kB / 313.7 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6704, allocations: 0 / 313.7 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of Templates: time 0.0128/0.6832, allocations: 10.4 MB / 324.1 MB, free: 6.59 MB / 298.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.399119900539517]