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.001018/0.001018, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.0009855/0.0009856, allocations: 198.6 kB / 16.26 MB, free: 6.625 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.326/1.326, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1214/0.1214, allocations: 2.762 MB / 292.8 MB, free: 3.785 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 55.91 kB / 354 MB, free: 4.824 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08215/0.08342, allocations: 50.23 MB / 404.2 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic): time 0.00855/0.09201, allocations: 9.008 MB / 413.2 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006153/0.09819, allocations: 8.513 MB / 421.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.09834, allocations: 4 kB / 421.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004542/0.0988, allocations: 143.2 kB / 421.9 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002798/0.09913, allocations: 95.41 kB / 422 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1505/0.2496, allocations: 1.339 MB / 423.3 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004065/0.25, allocations: 271.4 kB / 423.6 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.738e-05/0.2501, allocations: 15.92 kB / 423.6 MB, free: 37.01 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.1869/0.437, allocations: 12.73 MB / 436.3 MB, free: 32.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002327/0.4373, allocations: 88.86 kB / 436.4 MB, free: 32.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.176e-05/0.4373, allocations: 6.312 kB / 436.4 MB, free: 32.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001532/0.4389, allocations: 482.7 kB / 436.9 MB, free: 32.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.429e-05/0.4389, allocations: 28.45 kB / 436.9 MB, free: 32.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.4391, allocations: 91.27 kB / 437 MB, free: 32.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.4405, allocations: 0.504 MB / 437.5 MB, free: 32.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.4405, allocations: 0 / 437.5 MB, free: 32.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4405, allocations: 0 / 437.5 MB, free: 32.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.4405, allocations: 0 / 437.5 MB, free: 32.35 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.0007443/0.4412, allocations: 0.559 MB / 438.1 MB, free: 31.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.4413, allocations: 9.531 kB / 438.1 MB, free: 31.9 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.429e-05/0.4413, allocations: 47.61 kB / 438.1 MB, free: 31.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003269/0.4417, allocations: 55.56 kB / 438.2 MB, free: 31.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.4418, allocations: 204.4 kB / 438.4 MB, free: 31.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.4419, allocations: 7.219 kB / 438.4 MB, free: 31.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.4419, allocations: 17.25 kB / 438.4 MB, free: 31.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004474/0.4423, allocations: 241.9 kB / 438.7 MB, free: 31.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.4424, allocations: 7.188 kB / 438.7 MB, free: 31.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.4424, allocations: 7.625 kB / 438.7 MB, free: 31.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.4424, allocations: 10.42 kB / 438.7 MB, free: 31.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004228/0.4428, allocations: 204.4 kB / 438.9 MB, free: 31.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006364/0.4435, allocations: 0.6842 MB / 439.6 MB, free: 31.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004448/0.4439, allocations: 229.2 kB / 439.8 MB, free: 31.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.4441, allocations: 153 kB / 439.9 MB, free: 31.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001784/0.4443, allocations: 327.1 kB / 440.3 MB, free: 30.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.4443, allocations: 40.22 kB / 440.3 MB, free: 30.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.643e-06/0.4443, allocations: 0 / 440.3 MB, free: 30.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002449/0.4468, allocations: 1.212 MB / 441.5 MB, free: 30.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.929e-05/0.4468, allocations: 54.31 kB / 441.6 MB, free: 30.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.236e-05/0.4469, allocations: 130 kB / 441.7 MB, free: 30.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.4469, allocations: 32.48 kB / 441.7 MB, free: 30.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.864e-05/0.447, allocations: 113 kB / 441.8 MB, free: 30.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.812e-05/0.4471, allocations: 146.2 kB / 442 MB, free: 30.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.318e-05/0.4471, allocations: 69.34 kB / 442 MB, free: 30.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.257e-05/0.4472, allocations: 333.7 kB / 442.4 MB, free: 29.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.4474, allocations: 121.2 kB / 442.5 MB, free: 29.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.4476, allocations: 185.2 kB / 442.7 MB, free: 29.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004286/0.4481, allocations: 350.5 kB / 443 MB, free: 29.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4481, allocations: 7 kB / 443 MB, free: 29.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009722/0.449, allocations: 479.3 kB / 443.5 MB, free: 29.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.4491, allocations: 6.125 kB / 443.5 MB, free: 29.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.4491, allocations: 0 / 443.5 MB, free: 29.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.4501, allocations: 147.5 kB / 443.6 MB, free: 29.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.4504, allocations: 33.95 kB / 443.7 MB, free: 29.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006764/0.451, allocations: 0.6515 MB / 444.3 MB, free: 28.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.4513, allocations: 13.64 kB / 444.3 MB, free: 28.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/0.4513, allocations: 6.469 kB / 444.3 MB, free: 28.97 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 0.000131/0.4515, allocations: 140.8 kB / 444.5 MB, free: 28.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.265e-05/0.4516, allocations: 20.5 kB / 444.5 MB, free: 28.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/0.453, allocations: 0.7078 MB / 445.2 MB, free: 28.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.453, allocations: 13.25 kB / 445.2 MB, free: 28.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.453, allocations: 0 / 445.2 MB, free: 28.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.453, allocations: 4 kB / 445.2 MB, free: 28.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006951/0.4537, allocations: 387.8 kB / 445.6 MB, free: 28.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.4537, allocations: 3.938 kB / 445.6 MB, free: 28.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.4539, allocations: 35.19 kB / 445.6 MB, free: 28.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002462/0.4542, allocations: 81.78 kB / 445.7 MB, free: 28.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.4542, allocations: 6.875 kB / 445.7 MB, free: 28.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009857/0.4552, allocations: 1.414 MB / 447.1 MB, free: 27.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4552, allocations: 0 / 447.1 MB, free: 27.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.4564, allocations: 0.8349 MB / 448 MB, free: 27.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.4564, allocations: 91.92 kB / 448.1 MB, free: 26.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.4565, allocations: 10.59 kB / 448.1 MB, free: 26.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.4566, allocations: 10.53 kB / 448.1 MB, free: 26.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.4567, allocations: 19.91 kB / 448.1 MB, free: 26.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.4567, allocations: 7.125 kB / 448.1 MB, free: 26.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.015e-05/0.4568, allocations: 106.6 kB / 448.2 MB, free: 26.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4568, allocations: 0 / 448.2 MB, free: 26.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003318/0.4571, allocations: 66.16 kB / 448.3 MB, free: 26.8 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.001367/0.4585, allocations: 1.23 MB / 449.5 MB, free: 25.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.4596, allocations: 381.2 kB / 449.9 MB, free: 25.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4597, allocations: 0 / 449.9 MB, free: 25.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007059/0.4604, allocations: 305.1 kB / 450.2 MB, free: 25.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000892/0.4613, allocations: 94.16 kB / 450.3 MB, free: 25.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00528/0.4666, allocations: 2.973 MB / 453.2 MB, free: 23.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.4668, allocations: 0.7314 MB / 454 MB, free: 22.81 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002283/0.467, allocations: 49.62 kB / 454 MB, free: 22.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.985e-05/0.4671, allocations: 56.09 kB / 454.1 MB, free: 22.76 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4671, allocations: 0 / 454.1 MB, free: 22.76 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1509/0.6181, allocations: 7.553 MB / 461.6 MB, free: 21.91 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001316/0.6182, allocations: 286.7 kB / 461.9 MB, free: 21.53 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/2.479, allocations: 0 / 461.9 MB, free: 21.53 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)