Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.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_Tabular.TestBasePropertiesDynamic,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_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.0009837/0.0009836, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001001/0.001001, allocations: 193.7 kB / 16.25 MB, free: 6.621 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.21/1.21, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1092/0.1092, allocations: 2.759 MB / 292.8 MB, free: 3.781 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 63.89 kB / 354 MB, free: 4.801 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07342/0.07454, allocations: 50.24 MB / 404.2 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.008139/0.0827, allocations: 9.004 MB / 413.2 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005997/0.08872, allocations: 8.513 MB / 421.7 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.402e-05/0.0888, allocations: 0 / 421.7 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004098/0.08922, allocations: 155.2 kB / 421.9 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002368/0.08949, allocations: 83.42 kB / 422 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1352/0.2247, allocations: 1.346 MB / 423.3 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003628/0.2251, allocations: 266 kB / 423.6 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.467e-05/0.2252, allocations: 15.56 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.3708/0.596, allocations: 12.89 MB / 436.5 MB, free: 32.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/0.5962, allocations: 91.34 kB / 436.6 MB, free: 32.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.5963, allocations: 6.469 kB / 436.6 MB, free: 32.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.5977, allocations: 479.6 kB / 437.1 MB, free: 32.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.523e-05/0.5978, allocations: 30.3 kB / 437.1 MB, free: 32.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.399e-05/0.5979, allocations: 84.61 kB / 437.2 MB, free: 32.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007943/0.5987, allocations: 0.5096 MB / 437.7 MB, free: 32.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5987, allocations: 0 / 437.7 MB, free: 32.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5987, allocations: 4 kB / 437.7 MB, free: 32.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.5987, allocations: 0 / 437.7 MB, free: 32.3 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.0006476/0.5994, allocations: 0.5565 MB / 438.2 MB, free: 31.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.5994, allocations: 9.312 kB / 438.2 MB, free: 31.86 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.702e-05/0.5994, allocations: 51.98 kB / 438.3 MB, free: 31.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003007/0.5997, allocations: 51.31 kB / 438.3 MB, free: 31.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.5999, allocations: 217.5 kB / 438.6 MB, free: 31.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.5999, allocations: 7.375 kB / 438.6 MB, free: 31.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.6, allocations: 14.09 kB / 438.6 MB, free: 31.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004361/0.6004, allocations: 241.6 kB / 438.8 MB, free: 31.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.6004, allocations: 0.5625 kB / 438.8 MB, free: 31.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.6004, allocations: 11.19 kB / 438.8 MB, free: 31.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.6005, allocations: 10.42 kB / 438.8 MB, free: 31.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004135/0.6009, allocations: 200.8 kB / 439 MB, free: 31.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005978/0.6015, allocations: 0.6877 MB / 439.7 MB, free: 31.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004269/0.6019, allocations: 227.2 kB / 439.9 MB, free: 31.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.6021, allocations: 152.9 kB / 440.1 MB, free: 31.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001702/0.6023, allocations: 327.1 kB / 440.4 MB, free: 30.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.352e-05/0.6023, allocations: 34.69 kB / 440.4 MB, free: 30.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.813e-06/0.6023, allocations: 0 / 440.4 MB, free: 30.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.00235/0.6047, allocations: 1.218 MB / 441.7 MB, free: 30.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.789e-05/0.6047, allocations: 54.97 kB / 441.7 MB, free: 30.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.782e-05/0.6048, allocations: 124.8 kB / 441.8 MB, free: 30.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.6048, allocations: 32.27 kB / 441.9 MB, free: 30.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.599e-05/0.6049, allocations: 108.1 kB / 442 MB, free: 30.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.313e-05/0.6049, allocations: 156.3 kB / 442.1 MB, free: 30 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.557e-05/0.605, allocations: 68.8 kB / 442.2 MB, free: 29.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.954e-05/0.605, allocations: 328.7 kB / 442.5 MB, free: 29.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.6052, allocations: 123.5 kB / 442.6 MB, free: 29.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.6055, allocations: 197.4 kB / 442.8 MB, free: 29.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004195/0.6059, allocations: 342 kB / 443.2 MB, free: 29.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.6059, allocations: 2.625 kB / 443.2 MB, free: 29.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009359/0.6068, allocations: 481.3 kB / 443.6 MB, free: 29.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.6069, allocations: 6.281 kB / 443.6 MB, free: 29.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.6069, allocations: 0 / 443.6 MB, free: 29.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006683/0.6075, allocations: 147.9 kB / 443.8 MB, free: 29.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.6077, allocations: 36.73 kB / 443.8 MB, free: 29.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004275/0.6081, allocations: 0.6548 MB / 444.5 MB, free: 28.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.6083, allocations: 13.59 kB / 444.5 MB, free: 28.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.6083, allocations: 7.594 kB / 444.5 MB, free: 28.91 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 8.517e-05/0.6084, allocations: 137 kB / 444.6 MB, free: 28.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.6084, allocations: 17.39 kB / 444.7 MB, free: 28.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008318/0.6093, allocations: 0.719 MB / 445.4 MB, free: 28.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.6093, allocations: 10.52 kB / 445.4 MB, free: 28.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.6093, allocations: 0 / 445.4 MB, free: 28.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.6093, allocations: 0 / 445.4 MB, free: 28.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.6096, allocations: 386.4 kB / 445.8 MB, free: 28.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6096, allocations: 7.406 kB / 445.8 MB, free: 28.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.6098, allocations: 39.08 kB / 445.8 MB, free: 28.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002072/0.61, allocations: 88.17 kB / 445.9 MB, free: 28.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.61, allocations: 6.781 kB / 445.9 MB, free: 28.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006703/0.6107, allocations: 1.407 MB / 447.3 MB, free: 27.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6107, allocations: 0 / 447.3 MB, free: 27.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009117/0.6116, allocations: 0.831 MB / 448.1 MB, free: 26.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.768e-05/0.6117, allocations: 94.64 kB / 448.2 MB, free: 26.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.6117, allocations: 5.5 kB / 448.2 MB, free: 26.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.6119, allocations: 13.11 kB / 448.2 MB, free: 26.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.6119, allocations: 19.73 kB / 448.3 MB, free: 26.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.6119, allocations: 10.42 kB / 448.3 MB, free: 26.85 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.635e-05/0.612, allocations: 105.5 kB / 448.4 MB, free: 26.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.612, allocations: 0 / 448.4 MB, free: 26.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003227/0.6123, allocations: 65.28 kB / 448.4 MB, free: 26.77 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.001144/0.6135, allocations: 1.235 MB / 449.7 MB, free: 25.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007183/0.6142, allocations: 375.8 kB / 450 MB, free: 25.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6142, allocations: 4 kB / 450 MB, free: 25.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005061/0.6147, allocations: 297.5 kB / 450.3 MB, free: 25.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005974/0.6153, allocations: 103.9 kB / 450.4 MB, free: 25.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003469/0.6188, allocations: 2.966 MB / 453.4 MB, free: 23.47 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/0.619, allocations: 0.7354 MB / 454.1 MB, free: 22.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001644/0.6191, allocations: 38.72 kB / 454.2 MB, free: 22.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.52e-05/0.6192, allocations: 55.75 kB / 454.2 MB, free: 22.73 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.6192, allocations: 0 / 454.2 MB, free: 22.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5685/1.188, allocations: 7.571 MB / 461.8 MB, free: 21.86 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/1.188, allocations: 294.9 kB / 462.1 MB, free: 21.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.01/3.198, allocations: 7.938 kB / 462.1 MB, free: 21.47 MB / 350.1 MB (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesDynamic_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-07 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesDynamic.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe 2>&1)