Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.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.002093/0.002093, allocations: 104.3 kB / 19.7 MB, free: 2.004 MB / 14.72 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.002362/0.002362, allocations: 220.5 kB / 23 MB, free: 4.918 MB / 14.72 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.614/1.614, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01295/0.01295, allocations: 2.815 MB / 316 MB, free: 92 kB / 238.1 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/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.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic") [Timeout 660] "Notification: ExternalMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 70.25 kB / 439.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0984/0.1004, allocations: 54.17 MB / 494.1 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic): time 0.01087/0.1113, allocations: 8.339 MB / 0.4906 GB, free: 14.14 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007801/0.1191, allocations: 7.423 MB / 0.4979 GB, free: 6.695 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.1192, allocations: 7.938 kB / 0.4979 GB, free: 6.688 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004922/0.1197, allocations: 123.2 kB / 0.498 GB, free: 6.566 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000331/0.1201, allocations: 111.3 kB / 0.4981 GB, free: 6.457 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.003425/0.1235, allocations: 1.443 MB / 0.4995 GB, free: 5.008 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003721/0.1239, allocations: 266.7 kB / 0.4998 GB, free: 4.746 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.066e-05/0.1239, allocations: 21.73 kB / 0.4998 GB, free: 4.727 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/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.3246/0.4485, allocations: 12.92 MB / 0.5124 GB, free: 9.176 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.4487, allocations: 79.39 kB / 0.5125 GB, free: 9.176 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.4488, allocations: 7.719 kB / 0.5125 GB, free: 9.176 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00153/0.4503, allocations: 476.5 kB / 0.513 GB, free: 9.176 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.582e-05/0.4504, allocations: 27.55 kB / 0.513 GB, free: 9.176 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.4505, allocations: 79.47 kB / 0.5131 GB, free: 9.176 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001536/0.452, allocations: 0.5056 MB / 0.5136 GB, free: 9.152 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.452, allocations: 0.6562 kB / 0.5136 GB, free: 9.152 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.452, allocations: 0 / 0.5136 GB, free: 9.152 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.452, allocations: 0 / 0.5136 GB, free: 9.152 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007702/0.4528, allocations: 498.1 kB / 0.514 GB, free: 8.797 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.4529, allocations: 9.5 kB / 0.514 GB, free: 8.797 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003421/0.4532, allocations: 53.72 kB / 0.5141 GB, free: 8.789 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.4534, allocations: 154 kB / 0.5142 GB, free: 8.652 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.4534, allocations: 8.25 kB / 0.5142 GB, free: 8.652 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.4534, allocations: 12.05 kB / 0.5143 GB, free: 8.652 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005185/0.454, allocations: 305.6 kB / 0.5146 GB, free: 8.523 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.454, allocations: 0 / 0.5146 GB, free: 8.523 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.454, allocations: 1.25 kB / 0.5146 GB, free: 8.523 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.454, allocations: 11.41 kB / 0.5146 GB, free: 8.523 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004702/0.4545, allocations: 201.1 kB / 0.5148 GB, free: 8.523 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000698/0.4552, allocations: 0.607 MB / 0.5153 GB, free: 8.129 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005109/0.4557, allocations: 208.6 kB / 0.5155 GB, free: 8.102 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.4559, allocations: 142 kB / 0.5157 GB, free: 8.086 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000174/0.4561, allocations: 102.9 kB / 0.5158 GB, free: 8.086 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.4561, allocations: 36.44 kB / 0.5158 GB, free: 8.047 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.462e-06/0.4561, allocations: 0 / 0.5158 GB, free: 8.047 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.002684/0.4588, allocations: 1.167 MB / 0.517 GB, free: 7.812 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.4588, allocations: 55.58 kB / 0.517 GB, free: 7.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.848e-05/0.4589, allocations: 132.9 kB / 0.5171 GB, free: 7.645 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.4589, allocations: 34.86 kB / 0.5172 GB, free: 7.609 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.81e-05/0.459, allocations: 110.7 kB / 0.5173 GB, free: 7.512 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.655e-05/0.4591, allocations: 157.8 kB / 0.5174 GB, free: 7.406 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.758e-05/0.4591, allocations: 58.03 kB / 0.5175 GB, free: 7.391 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.365e-05/0.4592, allocations: 332.7 kB / 0.5178 GB, free: 7.078 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.4594, allocations: 129.2 kB / 0.5179 GB, free: 7.078 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.4597, allocations: 194.1 kB / 0.5181 GB, free: 7.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000549/0.4602, allocations: 347.3 kB / 0.5184 GB, free: 6.953 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4602, allocations: 0.5938 kB / 0.5184 GB, free: 6.953 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001158/0.4614, allocations: 487.5 kB / 0.5189 GB, free: 6.887 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.4614, allocations: 6.062 kB / 0.5189 GB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.4614, allocations: 1.562 kB / 0.5189 GB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006856/0.4621, allocations: 147.9 kB / 0.519 GB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.4622, allocations: 33.59 kB / 0.5191 GB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004896/0.4627, allocations: 0.6532 MB / 0.5197 GB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.4629, allocations: 15.94 kB / 0.5197 GB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.4629, allocations: 10.19 kB / 0.5197 GB, free: 6.344 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.phaseOutput,medium.state.phase,medium.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.463, allocations: 135.1 kB / 0.5199 GB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.79e-05/0.4631, allocations: 20.83 kB / 0.5199 GB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.788e-05/0.4631, allocations: 19.66 kB / 0.5199 GB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/0.4632, allocations: 10.77 kB / 0.5199 GB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.4632, allocations: 13.06 kB / 0.5199 GB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4632, allocations: 0.7969 kB / 0.5199 GB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.4634, allocations: 210.2 kB / 0.5201 GB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.4634, allocations: 0 / 0.5201 GB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.4636, allocations: 38.62 kB / 0.5202 GB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003176/0.4639, allocations: 72.89 kB / 0.5202 GB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.4639, allocations: 5.188 kB / 0.5202 GB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000934/0.4649, allocations: 1.429 MB / 0.5216 GB, free: 4.766 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4649, allocations: 3.438 kB / 0.5216 GB, free: 4.766 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.4659, allocations: 0.7016 MB / 0.5223 GB, free: 4.594 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.899e-05/0.466, allocations: 17.48 kB / 0.5223 GB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.466, allocations: 4.281 kB / 0.5224 GB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006678/0.4666, allocations: 15.69 kB / 0.5224 GB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.419e-05/0.4667, allocations: 26.41 kB / 0.5224 GB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.4667, allocations: 8.266 kB / 0.5224 GB, free: 4.574 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.768e-05/0.4668, allocations: 98.06 kB / 0.5225 GB, free: 4.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4668, allocations: 0 / 0.5225 GB, free: 4.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003714/0.4672, allocations: 62.12 kB / 0.5226 GB, free: 4.496 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 2 (medium.state.phase,medium.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003598/0.4675, allocations: 189 kB / 0.5227 GB, free: 4.379 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007964/0.4683, allocations: 331.9 kB / 0.523 GB, free: 4.371 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4683, allocations: 1.469 kB / 0.5231 GB, free: 4.371 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005441/0.4689, allocations: 295.8 kB / 0.5233 GB, free: 4.258 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006211/0.4695, allocations: 100 kB / 0.5234 GB, free: 4.238 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.4705, allocations: 0.706 MB / 0.5241 GB, free: 3.859 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.4707, allocations: 127.3 kB / 0.5242 GB, free: 3.781 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.504e-05/0.4707, allocations: 24.28 kB / 0.5243 GB, free: 3.773 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4707, allocations: 4 kB / 0.5243 GB, free: 3.77 MB / 366.1 MB Notification: Performance of Templates: time 0.006767/0.4775, allocations: 3.668 MB / 0.5278 GB, free: 3.449 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.536487951874733] Failed to read output from testmodel.py, exit status != 0: 0.4848624658770859 0.5000112409999999 0.044503014 Calling exit ...