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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 108.5 kB / 15.99 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 191.5 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01099/0.01099, allocations: 2.767 MB / 293.5 MB, free: 12.23 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 59.89 kB / 354.6 MB, free: 15.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2281, allocations: 50.23 MB / 404.8 MB, free: 33.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic): time 0.007277/0.2354, allocations: 9.005 MB / 413.8 MB, free: 24.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004524/0.24, allocations: 8.51 MB / 422.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.2401, allocations: 0 / 422.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004961/0.2406, allocations: 151.3 kB / 422.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002835/0.2409, allocations: 87.42 kB / 422.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003118/0.2441, allocations: 1.352 MB / 423.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002795/0.2444, allocations: 266.7 kB / 424.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.019e-05/0.2444, allocations: 17.67 kB / 424.2 MB, free: 13.68 MB / 302.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.1998/0.4442, allocations: 12.73 MB / 436.9 MB, free: 2.152 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.4444, allocations: 91.56 kB / 437 MB, free: 2.062 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.4445, allocations: 8 kB / 437 MB, free: 2.055 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/0.4463, allocations: 471.9 kB / 437.4 MB, free: 1.594 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.673e-05/0.4464, allocations: 35.89 kB / 437.5 MB, free: 1.559 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.986e-05/0.4465, allocations: 83.55 kB / 437.6 MB, free: 1.477 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005773/0.447, allocations: 383.1 kB / 437.9 MB, free: 1.102 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4471, allocations: 0 / 437.9 MB, free: 1.102 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4471, allocations: 8 kB / 437.9 MB, free: 1.094 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.4471, allocations: 0 / 437.9 MB, free: 1.094 MB / 302.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.0007716/0.4479, allocations: 0.5495 MB / 438.5 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.4479, allocations: 8.031 kB / 438.5 MB, free: 500 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003155/0.4482, allocations: 56.64 kB / 438.6 MB, free: 444 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.4484, allocations: 212 kB / 438.8 MB, free: 192 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.4484, allocations: 12.38 kB / 438.8 MB, free: 180 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.051e-05/0.4485, allocations: 19.88 kB / 438.8 MB, free: 160 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004821/0.449, allocations: 235.2 kB / 439 MB, free: 15.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.449, allocations: 3.938 kB / 439 MB, free: 15.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.449, allocations: 8 kB / 439 MB, free: 15.9 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.449, allocations: 4 kB / 439 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004813/0.4495, allocations: 208.3 kB / 439.2 MB, free: 15.69 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008003/0.4503, allocations: 0.6707 MB / 439.9 MB, free: 14.96 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005173/0.4508, allocations: 230.4 kB / 440.1 MB, free: 14.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.4511, allocations: 156.8 kB / 440.3 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003007/0.4514, allocations: 327.2 kB / 440.6 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.4515, allocations: 38.5 kB / 440.7 MB, free: 14.15 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 1.863e-06/0.4515, allocations: 0 / 440.7 MB, free: 14.15 MB / 318.1 MB Notification: Performance of matching and sorting (n=47): time 0.002778/0.4543, allocations: 1.206 MB / 441.9 MB, free: 12.89 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.4543, allocations: 55.41 kB / 441.9 MB, free: 12.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.4544, allocations: 129.8 kB / 442 MB, free: 12.69 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.4545, allocations: 29.7 kB / 442.1 MB, free: 12.65 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.788e-05/0.4545, allocations: 112.8 kB / 442.2 MB, free: 12.54 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.4547, allocations: 165.6 kB / 442.3 MB, free: 12.38 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.432e-05/0.4548, allocations: 53.69 kB / 442.4 MB, free: 12.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.4549, allocations: 330.8 kB / 442.7 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/0.4551, allocations: 128.5 kB / 442.8 MB, free: 11.86 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005913/0.4557, allocations: 189.3 kB / 443 MB, free: 11.65 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000526/0.4563, allocations: 344.7 kB / 443.4 MB, free: 11.29 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4563, allocations: 0 / 443.4 MB, free: 11.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001105/0.4574, allocations: 485.5 kB / 443.8 MB, free: 10.81 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.4574, allocations: 8 kB / 443.8 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.4574, allocations: 0 / 443.8 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007456/0.4582, allocations: 148.8 kB / 444 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.4583, allocations: 31.98 kB / 444 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006253/0.459, allocations: 0.6575 MB / 444.7 MB, free: 9.941 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.4591, allocations: 8 kB / 444.7 MB, free: 9.934 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.4591, allocations: 8.141 kB / 444.7 MB, free: 9.926 MB / 318.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.0001636/0.4593, allocations: 137.8 kB / 444.8 MB, free: 9.781 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.636e-05/0.4594, allocations: 23.81 kB / 444.9 MB, free: 9.758 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.4604, allocations: 0.7108 MB / 445.6 MB, free: 9.039 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/0.4605, allocations: 11.98 kB / 445.6 MB, free: 9.027 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.4605, allocations: 4 kB / 445.6 MB, free: 9.023 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.4605, allocations: 0 / 445.6 MB, free: 9.023 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004307/0.4609, allocations: 395.2 kB / 446 MB, free: 8.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4609, allocations: 0 / 446 MB, free: 8.586 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.4611, allocations: 31.98 kB / 446 MB, free: 8.555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002449/0.4614, allocations: 88.72 kB / 446.1 MB, free: 8.465 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.4614, allocations: 4 kB / 446.1 MB, free: 8.461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.4626, allocations: 1.402 MB / 447.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4626, allocations: 11.86 kB / 447.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.4638, allocations: 0.823 MB / 448.3 MB, free: 6.062 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.118e-05/0.4639, allocations: 92.83 kB / 448.4 MB, free: 5.953 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.4639, allocations: 7.938 kB / 448.4 MB, free: 5.945 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.4641, allocations: 15.92 kB / 448.4 MB, free: 5.93 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.026e-05/0.4641, allocations: 15.97 kB / 448.5 MB, free: 5.914 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.4642, allocations: 12 kB / 448.5 MB, free: 5.902 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.262e-05/0.4642, allocations: 99.97 kB / 448.6 MB, free: 5.805 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.572e-06/0.4643, allocations: 0 / 448.6 MB, free: 5.805 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000371/0.4646, allocations: 75.92 kB / 448.6 MB, free: 5.73 MB / 318.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.0003584/0.465, allocations: 176 kB / 448.8 MB, free: 5.559 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000878/0.4659, allocations: 364.7 kB / 449.2 MB, free: 5.207 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4659, allocations: 0 / 449.2 MB, free: 5.207 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005902/0.4665, allocations: 311.3 kB / 449.5 MB, free: 4.887 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006409/0.4671, allocations: 96.34 kB / 449.6 MB, free: 4.793 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.4683, allocations: 0.7812 MB / 450.3 MB, free: 3.98 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.4687, allocations: 0.7332 MB / 451.1 MB, free: 3.223 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/0.4687, allocations: 23.38 kB / 451.1 MB, free: 3.203 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4688, allocations: 0 / 451.1 MB, free: 3.203 MB / 318.1 MB Notification: Performance of Templates: time 0.005701/0.4745, allocations: 3.476 MB / 454.6 MB, free: 15.72 MB / 334.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.makefile (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)