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: "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesDynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001269/0.001269, allocations: 194.8 kB / 16.14 MB, free: 6.66 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.242/1.242, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1094/0.1094, allocations: 2.76 MB / 292.7 MB, free: 3.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 59.91 kB / 353.8 MB, free: 4.938 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08198/0.08313, allocations: 50.25 MB / 404.1 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic): time 0.008485/0.09166, allocations: 9.04 MB / 413.1 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006008/0.09769, allocations: 8.537 MB / 421.6 MB, free: 1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.135e-05/0.09777, allocations: 3.938 kB / 421.6 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004025/0.09818, allocations: 147.2 kB / 421.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.09843, allocations: 91.41 kB / 421.9 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1505/0.249, allocations: 1.349 MB / 423.2 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003977/0.2494, allocations: 309.2 kB / 423.5 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.091e-05/0.2494, allocations: 11.56 kB / 423.5 MB, free: 36.61 MB / 350.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.1937/0.4431, allocations: 11.68 MB / 435.2 MB, free: 33.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.4434, allocations: 89.09 kB / 435.3 MB, free: 33.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.4434, allocations: 5.609 kB / 435.3 MB, free: 33.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001662/0.4451, allocations: 0.4919 MB / 435.8 MB, free: 33.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.304e-05/0.4451, allocations: 34.58 kB / 435.8 MB, free: 33.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.4452, allocations: 85.59 kB / 435.9 MB, free: 33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.4464, allocations: 0.4973 MB / 436.4 MB, free: 32.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4464, allocations: 3.938 kB / 436.4 MB, free: 32.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.4464, allocations: 0 / 436.4 MB, free: 32.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.4464, allocations: 0 / 436.4 MB, free: 32.95 MB / 350.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.0007375/0.4472, allocations: 0.5625 MB / 437 MB, free: 32.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.4472, allocations: 9.375 kB / 437 MB, free: 32.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.476e-05/0.4473, allocations: 51.8 kB / 437 MB, free: 32.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003171/0.4476, allocations: 59.25 kB / 437.1 MB, free: 32.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.4478, allocations: 209 kB / 437.3 MB, free: 32.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.4478, allocations: 7.531 kB / 437.3 MB, free: 32.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.4478, allocations: 13.66 kB / 437.3 MB, free: 32.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000446/0.4483, allocations: 242.9 kB / 437.6 MB, free: 32.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.4483, allocations: 0 / 437.6 MB, free: 32.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.4483, allocations: 5.875 kB / 437.6 MB, free: 32.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.4483, allocations: 9.938 kB / 437.6 MB, free: 32.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004331/0.4488, allocations: 200.5 kB / 437.8 MB, free: 32.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006414/0.4494, allocations: 0.683 MB / 438.5 MB, free: 31.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004509/0.4499, allocations: 229.2 kB / 438.7 MB, free: 31.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.4501, allocations: 156.1 kB / 438.8 MB, free: 31.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001846/0.4503, allocations: 327.6 kB / 439.1 MB, free: 31.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.4503, allocations: 30.56 kB / 439.2 MB, free: 31.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.463e-06/0.4503, allocations: 0 / 439.2 MB, free: 31.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002507/0.4528, allocations: 1.218 MB / 440.4 MB, free: 31.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.4529, allocations: 54.53 kB / 440.4 MB, free: 30.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.853e-05/0.453, allocations: 135.8 kB / 440.6 MB, free: 30.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.453, allocations: 25.7 kB / 440.6 MB, free: 30.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/0.453, allocations: 106.4 kB / 440.7 MB, free: 30.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.021e-05/0.4531, allocations: 154.9 kB / 440.9 MB, free: 30.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.379e-05/0.4532, allocations: 62.95 kB / 440.9 MB, free: 30.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.253e-05/0.4533, allocations: 330.5 kB / 441.2 MB, free: 30.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.4535, allocations: 122 kB / 441.4 MB, free: 30.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.4537, allocations: 190.9 kB / 441.6 MB, free: 30.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000447/0.4542, allocations: 349.6 kB / 441.9 MB, free: 30.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.4542, allocations: 0 / 441.9 MB, free: 30.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009751/0.4552, allocations: 480.7 kB / 442.4 MB, free: 30.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.4552, allocations: 6.25 kB / 442.4 MB, free: 30.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.4552, allocations: 0 / 442.4 MB, free: 30.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006989/0.4559, allocations: 150.6 kB / 442.5 MB, free: 30.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.456, allocations: 40.02 kB / 442.6 MB, free: 30.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004554/0.4565, allocations: 0.6532 MB / 443.2 MB, free: 29.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.4567, allocations: 9.969 kB / 443.2 MB, free: 29.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.4567, allocations: 10.5 kB / 443.2 MB, free: 29.57 MB / 350.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 9.243e-05/0.4568, allocations: 135.8 kB / 443.4 MB, free: 29.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.293e-05/0.4568, allocations: 14.56 kB / 443.4 MB, free: 29.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008728/0.4577, allocations: 0.7148 MB / 444.1 MB, free: 29.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.4577, allocations: 10.39 kB / 444.1 MB, free: 29.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4577, allocations: 0 / 444.1 MB, free: 29.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.4578, allocations: 10.77 kB / 444.1 MB, free: 29.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003003/0.4581, allocations: 380.5 kB / 444.5 MB, free: 29.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4581, allocations: 7.875 kB / 444.5 MB, free: 29.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.4582, allocations: 34.16 kB / 444.5 MB, free: 29.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000223/0.4585, allocations: 88.05 kB / 444.6 MB, free: 29.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.4585, allocations: 7.562 kB / 444.6 MB, free: 29.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006806/0.4592, allocations: 1.311 MB / 445.9 MB, free: 27.9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4592, allocations: 0 / 445.9 MB, free: 27.9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009358/0.4601, allocations: 0.8277 MB / 446.8 MB, free: 27.72 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.983e-05/0.4602, allocations: 98.27 kB / 446.8 MB, free: 27.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.4602, allocations: 7.156 kB / 446.9 MB, free: 27.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.4604, allocations: 10 kB / 446.9 MB, free: 27.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/0.4604, allocations: 20.39 kB / 446.9 MB, free: 27.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.4605, allocations: 9.625 kB / 446.9 MB, free: 27.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.889e-05/0.4605, allocations: 95.8 kB / 447 MB, free: 27.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4605, allocations: 0 / 447 MB, free: 27.53 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003363/0.4608, allocations: 72.27 kB / 447.1 MB, free: 27.53 MB / 350.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.0012/0.4621, allocations: 1.235 MB / 448.3 MB, free: 26.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006855/0.4627, allocations: 361.6 kB / 448.6 MB, free: 26.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4628, allocations: 0 / 448.6 MB, free: 26.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005374/0.4633, allocations: 302.7 kB / 448.9 MB, free: 26.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006375/0.464, allocations: 94.33 kB / 449 MB, free: 26.58 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003735/0.4677, allocations: 2.967 MB / 452 MB, free: 24.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.4678, allocations: 0.7345 MB / 452.7 MB, free: 23.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001529/0.468, allocations: 39.06 kB / 452.8 MB, free: 23.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.998e-05/0.4681, allocations: 55.77 kB / 452.8 MB, free: 23.8 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4681, allocations: 0 / 452.8 MB, free: 23.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01677/0.4849, allocations: 7.291 MB / 460.1 MB, free: 22.96 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001427/0.485, allocations: 293.9 kB / 460.4 MB, free: 22.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/2.302, allocations: 0 / 460.4 MB, free: 22.57 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesDynamic_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-07 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesDynamic.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe 2>&1)