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.0009622/0.0009654, 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.001006/0.001006, allocations: 193.7 kB / 16.14 MB, free: 6.668 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.241/1.241, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1013/0.1013, allocations: 2.765 MB / 292.7 MB, free: 3.738 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.89 kB / 353.8 MB, free: 4.938 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08749/0.08872, allocations: 50.24 MB / 404.1 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.009158/0.09791, allocations: 9.032 MB / 413.1 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007136/0.1051, allocations: 8.533 MB / 421.6 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.1052, allocations: 0 / 421.6 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005688/0.1058, allocations: 151.2 kB / 421.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003266/0.1062, allocations: 91.41 kB / 421.9 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1643/0.2704, allocations: 1.345 MB / 423.2 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004573/0.2709, allocations: 309.7 kB / 423.5 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.889e-05/0.271, allocations: 14.17 kB / 423.5 MB, free: 37.06 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.3881/0.6591, allocations: 11.84 MB / 435.4 MB, free: 33.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.6593, allocations: 90.02 kB / 435.5 MB, free: 33.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.6594, allocations: 11.19 kB / 435.5 MB, free: 33.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00161/0.661, allocations: 499.6 kB / 436 MB, free: 33.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.791e-05/0.661, allocations: 23.5 kB / 436 MB, free: 33.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.6612, allocations: 88.22 kB / 436.1 MB, free: 33.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009828/0.6621, allocations: 0.5045 MB / 436.6 MB, free: 33.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.6622, allocations: 0 / 436.6 MB, free: 33.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.6622, allocations: 0 / 436.6 MB, free: 33.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.6622, allocations: 3.188 kB / 436.6 MB, free: 33.33 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.00083/0.663, allocations: 0.5584 MB / 437.1 MB, free: 32.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.6631, allocations: 9.5 kB / 437.1 MB, free: 32.89 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.72e-05/0.6631, allocations: 48.31 kB / 437.2 MB, free: 32.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003281/0.6635, allocations: 59.44 kB / 437.2 MB, free: 32.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.6636, allocations: 211.5 kB / 437.4 MB, free: 32.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.6637, allocations: 7.531 kB / 437.5 MB, free: 32.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.6637, allocations: 17.06 kB / 437.5 MB, free: 32.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004369/0.6641, allocations: 235 kB / 437.7 MB, free: 32.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.557e-06/0.6642, allocations: 3.031 kB / 437.7 MB, free: 32.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.6642, allocations: 7.75 kB / 437.7 MB, free: 32.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.6642, allocations: 10.36 kB / 437.7 MB, free: 32.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004262/0.6646, allocations: 203.3 kB / 437.9 MB, free: 32.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006238/0.6653, allocations: 0.6812 MB / 438.6 MB, free: 32.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004417/0.6657, allocations: 234.4 kB / 438.8 MB, free: 32.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.6659, allocations: 150.6 kB / 439 MB, free: 32.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001747/0.6661, allocations: 330.5 kB / 439.3 MB, free: 31.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.381e-05/0.6661, allocations: 33.41 kB / 439.3 MB, free: 31.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.372e-06/0.6661, allocations: 4 kB / 439.3 MB, free: 31.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002389/0.6685, allocations: 1.209 MB / 440.5 MB, free: 31.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.721e-05/0.6685, allocations: 54.66 kB / 440.6 MB, free: 31.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.885e-05/0.6686, allocations: 129.3 kB / 440.7 MB, free: 31.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.6686, allocations: 31.08 kB / 440.8 MB, free: 31.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.705e-05/0.6687, allocations: 106.8 kB / 440.9 MB, free: 31.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.457e-05/0.6688, allocations: 162.1 kB / 441 MB, free: 31.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.052e-05/0.6688, allocations: 60.16 kB / 441.1 MB, free: 31.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.385e-05/0.6689, allocations: 330.7 kB / 441.4 MB, free: 30.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.6691, allocations: 122 kB / 441.5 MB, free: 30.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.6693, allocations: 196.6 kB / 441.7 MB, free: 30.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004257/0.6698, allocations: 344.8 kB / 442 MB, free: 30.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.6698, allocations: 0 / 442 MB, free: 30.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009624/0.6707, allocations: 481.7 kB / 442.5 MB, free: 30.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.6708, allocations: 6.125 kB / 442.5 MB, free: 30.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.6708, allocations: 10.98 kB / 442.5 MB, free: 30.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006947/0.6715, allocations: 145 kB / 442.7 MB, free: 30.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.6716, allocations: 37.19 kB / 442.7 MB, free: 30.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004461/0.6721, allocations: 0.6524 MB / 443.4 MB, free: 29.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.6722, allocations: 9.906 kB / 443.4 MB, free: 29.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.6723, allocations: 15.72 kB / 443.4 MB, free: 29.94 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.856e-05/0.6723, allocations: 135.9 kB / 443.5 MB, free: 29.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.327e-05/0.6724, allocations: 13.97 kB / 443.5 MB, free: 29.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008627/0.6733, allocations: 0.7168 MB / 444.3 MB, free: 29.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.6733, allocations: 10.45 kB / 444.3 MB, free: 29.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.6733, allocations: 0 / 444.3 MB, free: 29.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.6733, allocations: 0 / 444.3 MB, free: 29.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.6736, allocations: 390.7 kB / 444.6 MB, free: 29.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.6736, allocations: 3.938 kB / 444.6 MB, free: 29.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.6738, allocations: 35.31 kB / 444.7 MB, free: 29.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002165/0.674, allocations: 87.58 kB / 444.8 MB, free: 29.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.674, allocations: 3.812 kB / 444.8 MB, free: 29.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006571/0.6747, allocations: 1.3 MB / 446.1 MB, free: 28.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.6747, allocations: 2.938 kB / 446.1 MB, free: 28.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009334/0.6756, allocations: 0.8308 MB / 446.9 MB, free: 28.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.844e-05/0.6757, allocations: 91.98 kB / 447 MB, free: 27.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.6757, allocations: 6 kB / 447 MB, free: 27.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.6759, allocations: 14.59 kB / 447 MB, free: 27.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/0.6759, allocations: 27.83 kB / 447 MB, free: 27.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.676, allocations: 3.25 kB / 447 MB, free: 27.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.914e-05/0.676, allocations: 102.1 kB / 447.1 MB, free: 27.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.676, allocations: 0 / 447.1 MB, free: 27.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003227/0.6763, allocations: 60.23 kB / 447.2 MB, free: 27.91 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.001137/0.6775, allocations: 1.238 MB / 448.4 MB, free: 27.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006415/0.6781, allocations: 364 kB / 448.8 MB, free: 26.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6781, allocations: 0 / 448.8 MB, free: 26.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004872/0.6786, allocations: 311.5 kB / 449.1 MB, free: 26.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005903/0.6792, allocations: 95.59 kB / 449.2 MB, free: 26.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003592/0.6828, allocations: 2.962 MB / 452.2 MB, free: 24.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.683, allocations: 0.7347 MB / 452.9 MB, free: 23.97 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001502/0.6832, allocations: 41.31 kB / 452.9 MB, free: 23.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.975e-05/0.6832, allocations: 52.45 kB / 453 MB, free: 23.93 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.6832, allocations: 0 / 453 MB, free: 23.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01737/0.7006, allocations: 7.306 MB / 460.3 MB, free: 23.07 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/0.7008, allocations: 298.5 kB / 460.6 MB, free: 22.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.934/2.635, allocations: 1.406 kB / 460.6 MB, free: 22.69 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)