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.001413/0.001413, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001689/0.001689, allocations: 219.4 kB / 22.26 MB, free: 5.125 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.984 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.0128/0.0128, allocations: 2.802 MB / 315.2 MB, free: 312 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.002209/0.002209, allocations: 71.88 kB / 439.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09668/0.09889, allocations: 54.17 MB / 493.4 MB, free: 6.824 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic): time 0.01144/0.1103, allocations: 9.165 MB / 0.4908 GB, free: 13.62 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008428/0.1188, allocations: 8.595 MB / 0.4992 GB, free: 4.992 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.1189, allocations: 3.938 kB / 0.4992 GB, free: 4.988 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004984/0.1194, allocations: 163 kB / 0.4993 GB, free: 4.828 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003165/0.1197, allocations: 103.3 kB / 0.4994 GB, free: 4.727 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.00326/0.1229, allocations: 1.466 MB / 0.5009 GB, free: 3.254 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000377/0.1233, allocations: 266.8 kB / 0.5011 GB, free: 2.992 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.614e-05/0.1234, allocations: 13.75 kB / 0.5011 GB, free: 2.98 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.3207/0.4441, allocations: 12.93 MB / 0.5137 GB, free: 7.105 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.4443, allocations: 83.28 kB / 0.5138 GB, free: 7.105 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.4444, allocations: 7.469 kB / 0.5138 GB, free: 7.105 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001863/0.4462, allocations: 478.7 kB / 0.5143 GB, free: 7.105 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.431e-05/0.4463, allocations: 32.02 kB / 0.5143 GB, free: 7.105 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.4465, allocations: 88.38 kB / 0.5144 GB, free: 7.105 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002293/0.4488, allocations: 0.5065 MB / 0.5149 GB, free: 7.082 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4488, allocations: 0 / 0.5149 GB, free: 7.082 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4488, allocations: 1.062 kB / 0.5149 GB, free: 7.082 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.4488, allocations: 2.625 kB / 0.5149 GB, free: 7.082 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.001139/0.4499, allocations: 0.4891 MB / 0.5154 GB, free: 6.723 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.45, allocations: 9.906 kB / 0.5154 GB, free: 6.723 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004273/0.4504, allocations: 53.47 kB / 0.5154 GB, free: 6.715 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.4506, allocations: 150.2 kB / 0.5156 GB, free: 6.578 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/0.4507, allocations: 9.312 kB / 0.5156 GB, free: 6.578 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/0.4507, allocations: 11.97 kB / 0.5156 GB, free: 6.578 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005816/0.4513, allocations: 247.3 kB / 0.5158 GB, free: 6.512 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.4513, allocations: 2.906 kB / 0.5158 GB, free: 6.512 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.4513, allocations: 6.812 kB / 0.5159 GB, free: 6.512 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.4514, allocations: 9.062 kB / 0.5159 GB, free: 6.512 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005715/0.4519, allocations: 207.1 kB / 0.5161 GB, free: 6.512 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009165/0.4528, allocations: 0.6662 MB / 0.5167 GB, free: 6.082 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006061/0.4534, allocations: 208.7 kB / 0.5169 GB, free: 6.055 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002546/0.4537, allocations: 137.8 kB / 0.517 GB, free: 6.043 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002182/0.4539, allocations: 99.95 kB / 0.5171 GB, free: 6.043 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.4539, allocations: 32.59 kB / 0.5172 GB, free: 6.004 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.573e-06/0.4539, allocations: 0 / 0.5172 GB, free: 6.004 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.003548/0.4575, allocations: 1.176 MB / 0.5183 GB, free: 5.762 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.4575, allocations: 58 kB / 0.5184 GB, free: 5.695 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.4576, allocations: 130.2 kB / 0.5185 GB, free: 5.594 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.4577, allocations: 30.89 kB / 0.5185 GB, free: 5.562 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.958e-05/0.4577, allocations: 106.6 kB / 0.5186 GB, free: 5.469 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.545e-05/0.4578, allocations: 160.8 kB / 0.5188 GB, free: 5.359 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.169e-05/0.4579, allocations: 62.8 kB / 0.5188 GB, free: 5.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.951e-05/0.4579, allocations: 330.6 kB / 0.5192 GB, free: 5.027 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/0.4582, allocations: 130.1 kB / 0.5193 GB, free: 5.023 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.4584, allocations: 187.3 kB / 0.5195 GB, free: 4.965 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005335/0.4589, allocations: 352.4 kB / 0.5198 GB, free: 4.895 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4589, allocations: 1.156 kB / 0.5198 GB, free: 4.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001103/0.46, allocations: 480.4 kB / 0.5203 GB, free: 4.832 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.4601, allocations: 6.344 kB / 0.5203 GB, free: 4.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.4601, allocations: 5.125 kB / 0.5203 GB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007815/0.4609, allocations: 147.2 kB / 0.5204 GB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.461, allocations: 33.75 kB / 0.5204 GB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000493/0.4615, allocations: 0.6472 MB / 0.5211 GB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.4617, allocations: 13.25 kB / 0.5211 GB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.4617, allocations: 10.81 kB / 0.5211 GB, free: 4.293 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.0001078/0.4618, allocations: 139.9 kB / 0.5212 GB, free: 4.172 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.131e-05/0.4619, allocations: 19.52 kB / 0.5212 GB, free: 4.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.271e-05/0.4619, allocations: 22.34 kB / 0.5213 GB, free: 4.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.4619, allocations: 13.38 kB / 0.5213 GB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.4619, allocations: 0 / 0.5213 GB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4619, allocations: 1.094 kB / 0.5213 GB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.4623, allocations: 271.8 kB / 0.5215 GB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.4623, allocations: 5.188 kB / 0.5215 GB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.4624, allocations: 41.28 kB / 0.5216 GB, free: 3.988 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003559/0.4628, allocations: 64.86 kB / 0.5216 GB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.4628, allocations: 5.859 kB / 0.5216 GB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009905/0.4638, allocations: 1.459 MB / 0.5231 GB, free: 2.645 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4638, allocations: 4.75 kB / 0.5231 GB, free: 2.645 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.4649, allocations: 0.706 MB / 0.5238 GB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.4649, allocations: 25.64 kB / 0.5238 GB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.465, allocations: 1.031 kB / 0.5238 GB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.4651, allocations: 12.62 kB / 0.5238 GB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.107e-05/0.4652, allocations: 20.59 kB / 0.5238 GB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.4652, allocations: 6.25 kB / 0.5238 GB, free: 2.449 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.13e-05/0.4653, allocations: 103.4 kB / 0.5239 GB, free: 2.371 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4653, allocations: 4.062 kB / 0.5239 GB, free: 2.367 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000387/0.4657, allocations: 63.44 kB / 0.524 GB, free: 2.363 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.0003605/0.466, allocations: 182 kB / 0.5242 GB, free: 2.246 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008298/0.4669, allocations: 331.4 kB / 0.5245 GB, free: 2.238 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4669, allocations: 0 / 0.5245 GB, free: 2.238 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000603/0.4675, allocations: 297.2 kB / 0.5248 GB, free: 2.125 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.4686, allocations: 96.81 kB / 0.5249 GB, free: 2.105 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.4697, allocations: 0.679 MB / 0.5255 GB, free: 1.762 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.4699, allocations: 0.7336 MB / 0.5262 GB, free: 1.062 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002529/0.4701, allocations: 110.2 kB / 0.5263 GB, free: 1.055 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.753e-05/0.4702, allocations: 26.47 kB / 0.5264 GB, free: 1.043 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4702, allocations: 0 / 0.5264 GB, free: 1.043 MB / 366.1 MB Notification: Performance of Templates: time 0.01152/0.4817, allocations: 5.583 MB / 0.5318 GB, free: 15.84 MB / 382.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: 6.993931769160554] Failed to read output from testmodel.py, exit status != 0: 0.4898368630092591 0.506885816 0.054728992000000004 Calling exit ...