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.001708/0.001708, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001553/0.001553, allocations: 212.2 kB / 22.24 MB, free: 5.262 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 7.785 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.0141/0.0141, allocations: 2.806 MB / 315.2 MB, free: 88 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.00211/0.00211, allocations: 71.89 kB / 439.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09435/0.09646, allocations: 54.17 MB / 493.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic): time 0.01103/0.1075, allocations: 8.349 MB / 0.4899 GB, free: 14.1 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00803/0.1155, allocations: 7.42 MB / 0.4972 GB, free: 6.656 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.1156, allocations: 0 / 0.4972 GB, free: 6.656 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004884/0.1161, allocations: 131.2 kB / 0.4973 GB, free: 6.527 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003197/0.1164, allocations: 103.3 kB / 0.4974 GB, free: 6.426 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.00345/0.1199, allocations: 1.448 MB / 0.4988 GB, free: 4.969 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003875/0.1203, allocations: 274.7 kB / 0.4991 GB, free: 4.699 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.477e-05/0.1203, allocations: 9.75 kB / 0.4991 GB, free: 4.691 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.3169/0.4372, allocations: 12.92 MB / 0.5117 GB, free: 9.121 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.4374, allocations: 82.59 kB / 0.5118 GB, free: 9.121 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.4375, allocations: 7.969 kB / 0.5118 GB, free: 9.121 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001478/0.4389, allocations: 467 kB / 0.5122 GB, free: 9.121 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.468e-05/0.439, allocations: 34.5 kB / 0.5123 GB, free: 9.121 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.4391, allocations: 74.52 kB / 0.5123 GB, free: 9.121 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.4402, allocations: 0.5127 MB / 0.5128 GB, free: 9.098 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.4402, allocations: 4 kB / 0.5128 GB, free: 9.094 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4402, allocations: 0 / 0.5128 GB, free: 9.094 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.4402, allocations: 0 / 0.5128 GB, free: 9.094 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.0007866/0.441, allocations: 490.9 kB / 0.5133 GB, free: 8.742 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.4411, allocations: 11.05 kB / 0.5133 GB, free: 8.742 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003349/0.4414, allocations: 51.59 kB / 0.5134 GB, free: 8.734 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.4417, allocations: 159 kB / 0.5135 GB, free: 8.594 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.4418, allocations: 12.22 kB / 0.5135 GB, free: 8.594 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.4418, allocations: 10.58 kB / 0.5135 GB, free: 8.594 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005049/0.4423, allocations: 295.1 kB / 0.5138 GB, free: 8.469 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.4423, allocations: 3.094 kB / 0.5138 GB, free: 8.469 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.4423, allocations: 5.938 kB / 0.5138 GB, free: 8.469 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.4423, allocations: 8.328 kB / 0.5138 GB, free: 8.469 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004734/0.4428, allocations: 202.9 kB / 0.514 GB, free: 8.465 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006922/0.4435, allocations: 0.6117 MB / 0.5146 GB, free: 8.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004876/0.444, allocations: 203.1 kB / 0.5148 GB, free: 8.047 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.4442, allocations: 133.7 kB / 0.5149 GB, free: 8.039 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001757/0.4444, allocations: 99.09 kB / 0.515 GB, free: 8.039 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.4444, allocations: 36.5 kB / 0.5151 GB, free: 8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.774e-06/0.4444, allocations: 2.734 kB / 0.5151 GB, free: 8 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.00289/0.4473, allocations: 1.172 MB / 0.5162 GB, free: 7.758 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.4473, allocations: 58.73 kB / 0.5163 GB, free: 7.691 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.4475, allocations: 133.1 kB / 0.5164 GB, free: 7.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.4475, allocations: 31.62 kB / 0.5164 GB, free: 7.559 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.4476, allocations: 108.5 kB / 0.5165 GB, free: 7.461 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.4477, allocations: 158.6 kB / 0.5167 GB, free: 7.355 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.212e-05/0.4478, allocations: 57.95 kB / 0.5167 GB, free: 7.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.301e-05/0.4478, allocations: 330.1 kB / 0.5171 GB, free: 7.027 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.4481, allocations: 130.2 kB / 0.5172 GB, free: 7.027 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000283/0.4483, allocations: 194.5 kB / 0.5174 GB, free: 6.965 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006595/0.449, allocations: 340.3 kB / 0.5177 GB, free: 6.902 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.449, allocations: 4.5 kB / 0.5177 GB, free: 6.898 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001095/0.4501, allocations: 490.1 kB / 0.5182 GB, free: 6.832 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4501, allocations: 7.312 kB / 0.5182 GB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.4501, allocations: 1.969 kB / 0.5182 GB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006935/0.4508, allocations: 143.2 kB / 0.5183 GB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.451, allocations: 37.78 kB / 0.5183 GB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005331/0.4515, allocations: 0.6512 MB / 0.519 GB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.4517, allocations: 12.86 kB / 0.519 GB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.4517, allocations: 7.641 kB / 0.519 GB, free: 6.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.0001512/0.4519, allocations: 140.7 kB / 0.5191 GB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.253e-05/0.4519, allocations: 19.48 kB / 0.5192 GB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.721e-05/0.452, allocations: 25.36 kB / 0.5192 GB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/0.452, allocations: 8.969 kB / 0.5192 GB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/0.452, allocations: 6.594 kB / 0.5192 GB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.452, allocations: 0 / 0.5192 GB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.4523, allocations: 213.1 kB / 0.5194 GB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4523, allocations: 2.719 kB / 0.5194 GB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.4525, allocations: 33.81 kB / 0.5194 GB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003434/0.4529, allocations: 72.7 kB / 0.5195 GB, free: 6.016 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.4529, allocations: 5.688 kB / 0.5195 GB, free: 6.016 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/0.4539, allocations: 1.438 MB / 0.5209 GB, free: 4.711 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4539, allocations: 0.5938 kB / 0.5209 GB, free: 4.711 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.4549, allocations: 0.7131 MB / 0.5216 GB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.202e-05/0.455, allocations: 17.67 kB / 0.5216 GB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.455, allocations: 5.266 kB / 0.5216 GB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.4552, allocations: 8.984 kB / 0.5216 GB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.073e-05/0.4552, allocations: 22.58 kB / 0.5217 GB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.4553, allocations: 7.875 kB / 0.5217 GB, free: 4.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.602e-05/0.4553, allocations: 102.6 kB / 0.5218 GB, free: 4.441 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4553, allocations: 0 / 0.5218 GB, free: 4.441 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000383/0.4557, allocations: 66.56 kB / 0.5218 GB, free: 4.438 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.0003742/0.4561, allocations: 182.8 kB / 0.522 GB, free: 4.316 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007942/0.4569, allocations: 338.2 kB / 0.5223 GB, free: 4.305 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.4569, allocations: 0 / 0.5223 GB, free: 4.305 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005865/0.4574, allocations: 292.1 kB / 0.5226 GB, free: 4.195 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006678/0.4581, allocations: 99.55 kB / 0.5227 GB, free: 4.172 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.4592, allocations: 0.6791 MB / 0.5234 GB, free: 3.832 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.4593, allocations: 130 kB / 0.5235 GB, free: 3.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002406/0.4595, allocations: 110.1 kB / 0.5236 GB, free: 3.746 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.695e-05/0.4596, allocations: 22.69 kB / 0.5236 GB, free: 3.738 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4596, allocations: 0 / 0.5236 GB, free: 3.738 MB / 366.1 MB Notification: Performance of Templates: time 0.01264/0.4722, allocations: 5.606 MB / 0.5291 GB, free: 2.66 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: 6.876002987846732] Failed to read output from testmodel.py, exit status != 0: 0.47940669767558575 0.494875169 0.051259334000000004 Calling exit ...