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.0007907/0.0007908, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00566/0.00566, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.26/1.26, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.13/0.13, allocations: 2.773 MB / 294.2 MB, free: 4.277 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002828/0.0002828, allocations: 8 kB / 356.3 MB, free: 3.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08307/0.08337, allocations: 51.25 MB / 407.6 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic): time 0.008009/0.09141, allocations: 8.588 MB / 416.2 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1602/0.2517, allocations: 8.393 MB / 424.6 MB, free: 34.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001592/0.2519, allocations: 3.828 kB / 424.6 MB, free: 34.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004532/0.2523, allocations: 147.1 kB / 424.7 MB, free: 34.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002655/0.2526, allocations: 97.8 kB / 424.8 MB, free: 34.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003317/0.2559, allocations: 1.348 MB / 426.1 MB, free: 34.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.2563, allocations: 306.4 kB / 426.4 MB, free: 34.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.55e-05/0.2563, allocations: 15.34 kB / 426.5 MB, free: 34.14 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.2069/0.4632, allocations: 11.69 MB / 438.1 MB, free: 30.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.4634, allocations: 85.27 kB / 438.2 MB, free: 30.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.4635, allocations: 4.031 kB / 438.2 MB, free: 30.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.4653, allocations: 0.4948 MB / 438.7 MB, free: 30.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.375e-05/0.4654, allocations: 33.12 kB / 438.8 MB, free: 30.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.4656, allocations: 106.4 kB / 438.9 MB, free: 30.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001638/0.4672, allocations: 0.501 MB / 439.4 MB, free: 30.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4672, allocations: 0 / 439.4 MB, free: 30.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4672, allocations: 0 / 439.4 MB, free: 30.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.4672, allocations: 0 / 439.4 MB, free: 30.39 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.00074/0.468, allocations: 0.5352 MB / 439.9 MB, free: 29.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.468, allocations: 7.188 kB / 439.9 MB, free: 29.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.074e-05/0.4681, allocations: 51.52 kB / 440 MB, free: 29.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003751/0.4685, allocations: 65.28 kB / 440 MB, free: 29.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.4686, allocations: 205.8 kB / 440.2 MB, free: 29.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.4687, allocations: 14.09 kB / 440.2 MB, free: 29.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.4687, allocations: 18.09 kB / 440.3 MB, free: 29.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004819/0.4692, allocations: 240.1 kB / 440.5 MB, free: 29.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4692, allocations: 3.938 kB / 440.5 MB, free: 29.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.4692, allocations: 6.75 kB / 440.5 MB, free: 29.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.4693, allocations: 9.797 kB / 440.5 MB, free: 29.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004623/0.4697, allocations: 202.9 kB / 440.7 MB, free: 29.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007267/0.4705, allocations: 0.6838 MB / 441.4 MB, free: 29.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004931/0.471, allocations: 232.1 kB / 441.6 MB, free: 29.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.4712, allocations: 156.8 kB / 441.8 MB, free: 29.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001922/0.4714, allocations: 329 kB / 442.1 MB, free: 28.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.4714, allocations: 41.81 kB / 442.1 MB, free: 28.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.774e-06/0.4714, allocations: 0 / 442.1 MB, free: 28.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002536/0.474, allocations: 1.24 MB / 443.4 MB, free: 28.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.474, allocations: 54.78 kB / 443.4 MB, free: 28.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.507e-05/0.4741, allocations: 129.5 kB / 443.6 MB, free: 28.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.4741, allocations: 28.77 kB / 443.6 MB, free: 28.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.4742, allocations: 109.4 kB / 443.7 MB, free: 28.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.265e-05/0.4743, allocations: 152.5 kB / 443.8 MB, free: 28.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.479e-05/0.4744, allocations: 41.41 kB / 443.9 MB, free: 28.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.911e-05/0.4744, allocations: 335.3 kB / 444.2 MB, free: 27.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.4747, allocations: 127 kB / 444.3 MB, free: 27.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002728/0.4749, allocations: 195.2 kB / 444.5 MB, free: 27.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006015/0.4756, allocations: 352.2 kB / 444.9 MB, free: 27.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.4756, allocations: 0 / 444.9 MB, free: 27.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001119/0.4767, allocations: 490 kB / 445.3 MB, free: 27.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.4767, allocations: 17.88 kB / 445.4 MB, free: 27.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.4767, allocations: 0 / 445.4 MB, free: 27.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007521/0.4775, allocations: 151 kB / 445.5 MB, free: 27.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.4777, allocations: 36.78 kB / 445.5 MB, free: 27.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004744/0.4781, allocations: 0.6535 MB / 446.2 MB, free: 26.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.4783, allocations: 24.48 kB / 446.2 MB, free: 26.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.4783, allocations: 6.312 kB / 446.2 MB, free: 26.96 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.0001301/0.4785, allocations: 137.1 kB / 446.4 MB, free: 26.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.861e-05/0.4785, allocations: 21.66 kB / 446.4 MB, free: 26.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.48, allocations: 0.715 MB / 447.1 MB, free: 26.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.48, allocations: 10.31 kB / 447.1 MB, free: 26.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.4801, allocations: 7 kB / 447.1 MB, free: 26.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.4801, allocations: 0 / 447.1 MB, free: 26.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003246/0.4804, allocations: 384.8 kB / 447.5 MB, free: 26.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.4804, allocations: 3.938 kB / 447.5 MB, free: 26.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.4806, allocations: 45.86 kB / 447.5 MB, free: 26.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002571/0.4808, allocations: 91.52 kB / 447.6 MB, free: 26.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.4809, allocations: 0 / 447.6 MB, free: 26.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007624/0.4816, allocations: 1.314 MB / 448.9 MB, free: 25.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4816, allocations: 4.031 kB / 448.9 MB, free: 25.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009959/0.4826, allocations: 0.8429 MB / 449.8 MB, free: 25.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.191e-05/0.4827, allocations: 91.33 kB / 449.9 MB, free: 24.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.4827, allocations: 11.47 kB / 449.9 MB, free: 24.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.4829, allocations: 10.31 kB / 449.9 MB, free: 24.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.681e-05/0.483, allocations: 24.17 kB / 449.9 MB, free: 24.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.483, allocations: 10.44 kB / 449.9 MB, free: 24.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.502e-05/0.483, allocations: 99.42 kB / 450 MB, free: 24.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.102e-06/0.483, allocations: 0 / 450 MB, free: 24.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000356/0.4834, allocations: 69.44 kB / 450.1 MB, free: 24.88 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.001241/0.4847, allocations: 1.25 MB / 451.3 MB, free: 24.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007014/0.4854, allocations: 367.5 kB / 451.7 MB, free: 24.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4854, allocations: 3.938 kB / 451.7 MB, free: 24.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004111/0.4858, allocations: 302.2 kB / 452 MB, free: 24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006513/0.4865, allocations: 96.31 kB / 452.1 MB, free: 24 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003694/0.4902, allocations: 3.082 MB / 455.2 MB, free: 22.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.4903, allocations: 0.7362 MB / 455.9 MB, free: 21.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001705/0.4905, allocations: 42.53 kB / 456 MB, free: 21.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/0.4906, allocations: 53.98 kB / 456 MB, free: 21.64 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4906, allocations: 0 / 456 MB, free: 21.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01815/0.5088, allocations: 7.042 MB / 463.1 MB, free: 20.93 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001444/0.5089, allocations: 286.7 kB / 463.3 MB, free: 20.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.961/2.47, allocations: 3.938 kB / 463.3 MB, free: 20.54 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)