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.001804/0.001804, allocations: 102.1 kB / 19.7 MB, free: 2.246 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.001447/0.001447, allocations: 223.2 kB / 23.01 MB, free: 5.086 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.01247/0.01247, allocations: 2.812 MB / 316 MB, free: 300 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.002025/0.002025, allocations: 59.91 kB / 440 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0928/0.09482, allocations: 54.17 MB / 494.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic): time 0.01156/0.1064, allocations: 9.169 MB / 0.4915 GB, free: 13.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008367/0.1147, allocations: 8.599 MB / 0.4999 GB, free: 4.984 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.1149, allocations: 4 kB / 0.4999 GB, free: 4.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005298/0.1154, allocations: 159 kB / 0.5001 GB, free: 4.824 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003421/0.1158, allocations: 103.3 kB / 0.5002 GB, free: 4.723 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.003673/0.1194, allocations: 1.459 MB / 0.5016 GB, free: 3.254 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004202/0.1199, allocations: 270.8 kB / 0.5019 GB, free: 2.988 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.808e-05/0.1199, allocations: 13.73 kB / 0.5019 GB, free: 2.977 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.3026/0.4225, allocations: 12.92 MB / 0.5145 GB, free: 7.098 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.4227, allocations: 92.89 kB / 0.5146 GB, free: 7.098 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.4227, allocations: 7.406 kB / 0.5146 GB, free: 7.098 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001753/0.4245, allocations: 475.5 kB / 0.515 GB, free: 7.098 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.329e-05/0.4246, allocations: 31.27 kB / 0.5151 GB, free: 7.098 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.4247, allocations: 90.86 kB / 0.5152 GB, free: 7.098 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001621/0.4263, allocations: 0.5042 MB / 0.5156 GB, free: 7.074 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4263, allocations: 0 / 0.5156 GB, free: 7.074 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4263, allocations: 4 kB / 0.5157 GB, free: 7.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.4263, allocations: 4.672 kB / 0.5157 GB, free: 7.07 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.0007793/0.4271, allocations: 497.7 kB / 0.5161 GB, free: 6.715 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.4271, allocations: 8.344 kB / 0.5161 GB, free: 6.715 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003492/0.4275, allocations: 55.14 kB / 0.5162 GB, free: 6.707 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.4277, allocations: 149.5 kB / 0.5163 GB, free: 6.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.4277, allocations: 13.12 kB / 0.5163 GB, free: 6.566 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.4277, allocations: 10.31 kB / 0.5164 GB, free: 6.566 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004975/0.4282, allocations: 246.1 kB / 0.5166 GB, free: 6.504 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.4283, allocations: 1.375 kB / 0.5166 GB, free: 6.504 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.4283, allocations: 3.5 kB / 0.5166 GB, free: 6.504 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.4283, allocations: 10.14 kB / 0.5166 GB, free: 6.504 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004715/0.4288, allocations: 205.4 kB / 0.5168 GB, free: 6.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007219/0.4295, allocations: 0.6687 MB / 0.5175 GB, free: 6.074 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005076/0.43, allocations: 207.8 kB / 0.5177 GB, free: 6.047 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002667/0.4303, allocations: 132.8 kB / 0.5178 GB, free: 6.039 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002168/0.4305, allocations: 99.17 kB / 0.5179 GB, free: 6.039 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.4305, allocations: 34.67 kB / 0.5179 GB, free: 6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.463e-06/0.4305, allocations: 0 / 0.5179 GB, free: 6 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.002724/0.4332, allocations: 1.179 MB / 0.5191 GB, free: 5.754 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.888e-05/0.4332, allocations: 57 kB / 0.5191 GB, free: 5.691 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.278e-05/0.4333, allocations: 129.2 kB / 0.5192 GB, free: 5.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.4333, allocations: 30.14 kB / 0.5193 GB, free: 5.559 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.35e-05/0.4334, allocations: 106.5 kB / 0.5194 GB, free: 5.465 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.408e-05/0.4335, allocations: 165.5 kB / 0.5195 GB, free: 5.355 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.814e-05/0.4336, allocations: 61.33 kB / 0.5196 GB, free: 5.336 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.846e-05/0.4336, allocations: 335.2 kB / 0.5199 GB, free: 5.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/0.4338, allocations: 125.8 kB / 0.52 GB, free: 5.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.4341, allocations: 193 kB / 0.5202 GB, free: 4.957 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005076/0.4346, allocations: 347.5 kB / 0.5205 GB, free: 4.887 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4346, allocations: 4 kB / 0.5205 GB, free: 4.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001039/0.4356, allocations: 485.4 kB / 0.521 GB, free: 4.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.4357, allocations: 9.812 kB / 0.521 GB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.4357, allocations: 2.875 kB / 0.521 GB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007322/0.4364, allocations: 145.7 kB / 0.5212 GB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.4365, allocations: 34.53 kB / 0.5212 GB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004802/0.437, allocations: 0.6469 MB / 0.5218 GB, free: 4.281 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.4372, allocations: 17.34 kB / 0.5218 GB, free: 4.277 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.4372, allocations: 11.44 kB / 0.5218 GB, free: 4.277 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.0001033/0.4373, allocations: 134.3 kB / 0.522 GB, free: 4.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.607e-05/0.4373, allocations: 19.89 kB / 0.522 GB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.838e-05/0.4374, allocations: 26.62 kB / 0.522 GB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.4374, allocations: 13.62 kB / 0.522 GB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.4374, allocations: 0 / 0.522 GB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4374, allocations: 1.406 kB / 0.522 GB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.4377, allocations: 266.1 kB / 0.5223 GB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4377, allocations: 4 kB / 0.5223 GB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.4379, allocations: 45.98 kB / 0.5223 GB, free: 3.977 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003566/0.4382, allocations: 64.22 kB / 0.5224 GB, free: 3.969 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.4383, allocations: 7.969 kB / 0.5224 GB, free: 3.969 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000969/0.4392, allocations: 1.459 MB / 0.5238 GB, free: 2.633 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4392, allocations: 1.094 kB / 0.5238 GB, free: 2.633 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.4403, allocations: 0.7112 MB / 0.5245 GB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.66e-05/0.4403, allocations: 18.39 kB / 0.5245 GB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.4403, allocations: 5.094 kB / 0.5245 GB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.4405, allocations: 8.25 kB / 0.5246 GB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.647e-05/0.4406, allocations: 21.12 kB / 0.5246 GB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.4406, allocations: 14.44 kB / 0.5246 GB, free: 2.434 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.274e-05/0.4407, allocations: 99.34 kB / 0.5247 GB, free: 2.355 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4407, allocations: 1.094 kB / 0.5247 GB, free: 2.355 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003656/0.441, allocations: 67.61 kB / 0.5248 GB, free: 2.352 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.0003383/0.4414, allocations: 182 kB / 0.5249 GB, free: 2.227 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007861/0.4421, allocations: 329.2 kB / 0.5252 GB, free: 2.223 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4421, allocations: 0 / 0.5252 GB, free: 2.223 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005594/0.4427, allocations: 302.6 kB / 0.5255 GB, free: 2.105 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006294/0.4433, allocations: 88.62 kB / 0.5256 GB, free: 2.094 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.4444, allocations: 0.7102 MB / 0.5263 GB, free: 1.711 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.4445, allocations: 0.7364 MB / 0.527 GB, free: 1.012 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.991e-05/0.4446, allocations: 19.59 kB / 0.527 GB, free: 1.004 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4446, allocations: 4 kB / 0.527 GB, free: 1 MB / 366.1 MB Notification: Performance of Templates: time 0.006224/0.4508, allocations: 3.571 MB / 0.5305 GB, free: 0.6953 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.392855458892882] Failed to read output from testmodel.py, exit status != 0: 0.4578830318059772 0.47359926300000005 0.04395314 Calling exit ...