Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.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.TestStatesSupercritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSupercritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSupercritical",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.004895/0.004895, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001305/0.001305, allocations: 192.4 kB / 16.67 MB, free: 5.969 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01173/0.01173, allocations: 2.782 MB / 293.3 MB, free: 11.97 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 63.91 kB / 405.4 MB, free: 29.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07693/0.07922, allocations: 50.24 MB / 455.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.02009/0.09935, allocations: 19.12 MB / 474.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005648/0.105, allocations: 6.084 MB / 480.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.1052, allocations: 3.938 kB / 480.9 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005935/0.1058, allocations: 254.5 kB / 481.1 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002462/0.1083, allocations: 1.206 MB / 482.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.1086, allocations: 87.38 kB / 482.4 MB, free: 420 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003313/0.1089, allocations: 305.8 kB / 482.7 MB, free: 112 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.443e-05/0.109, allocations: 16.75 kB / 482.7 MB, free: 96 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.723e-05/0.109, allocations: 95.53 kB / 482.8 MB, free: 0 / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.1092, allocations: 115.4 kB / 482.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.1092, allocations: 8 kB / 483 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.7901/0.8993, allocations: 38.93 MB / 0.5097 GB, free: 35.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.383e-05/0.8994, allocations: 32.95 kB / 0.5097 GB, free: 35.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.8996, allocations: 125.4 kB / 0.5098 GB, free: 35.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.9013, allocations: 0.5104 MB / 0.5103 GB, free: 35.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.9013, allocations: 0.6562 kB / 0.5103 GB, free: 35.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.9013, allocations: 1.062 kB / 0.5103 GB, free: 35.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.9013, allocations: 0 / 0.5103 GB, free: 35.31 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0005436/0.9019, allocations: 0.576 MB / 0.5109 GB, free: 34.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.9019, allocations: 9.094 kB / 0.5109 GB, free: 34.85 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.061e-05/0.902, allocations: 70.97 kB / 0.5109 GB, free: 34.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007682/0.9028, allocations: 201.8 kB / 0.5111 GB, free: 34.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.738e-05/0.9029, allocations: 186.5 kB / 0.5113 GB, free: 34.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.9029, allocations: 18.03 kB / 0.5113 GB, free: 34.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.9029, allocations: 27.09 kB / 0.5114 GB, free: 34.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004099/0.9033, allocations: 345.2 kB / 0.5117 GB, free: 34.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.9034, allocations: 1 kB / 0.5117 GB, free: 34.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.9034, allocations: 10.48 kB / 0.5117 GB, free: 34.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.9034, allocations: 12.56 kB / 0.5117 GB, free: 34.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002777/0.9037, allocations: 261.6 kB / 0.512 GB, free: 34.53 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.9048, allocations: 2.122 MB / 0.514 GB, free: 32.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.9049, allocations: 132 kB / 0.5142 GB, free: 32.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.905, allocations: 120.1 kB / 0.5143 GB, free: 32.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004243/0.9055, allocations: 0.6846 MB / 0.5149 GB, free: 31.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.9055, allocations: 35.58 kB / 0.515 GB, free: 31.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.252e-06/0.9055, allocations: 0 / 0.515 GB, free: 31.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003197/0.9058, allocations: 180.9 kB / 0.5151 GB, free: 31.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.9059, allocations: 85.36 kB / 0.5152 GB, free: 31.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.961e-05/0.9059, allocations: 102.8 kB / 0.5153 GB, free: 31.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.9059, allocations: 33.73 kB / 0.5154 GB, free: 31.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.906, allocations: 164.4 kB / 0.5155 GB, free: 31.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.969e-05/0.906, allocations: 109.7 kB / 0.5156 GB, free: 31.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.9061, allocations: 35.27 kB / 0.5157 GB, free: 31.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.172e-05/0.9061, allocations: 329.4 kB / 0.516 GB, free: 31.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.317e-05/0.9062, allocations: 36.2 kB / 0.516 GB, free: 31.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.039e-05/0.9063, allocations: 82.83 kB / 0.5161 GB, free: 30.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.9064, allocations: 146.3 kB / 0.5162 GB, free: 30.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.9064, allocations: 0 / 0.5162 GB, free: 30.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001882/0.9066, allocations: 168.4 kB / 0.5164 GB, free: 30.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.9067, allocations: 9.969 kB / 0.5164 GB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.9067, allocations: 0.7031 kB / 0.5164 GB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.9067, allocations: 2.188 kB / 0.5164 GB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.034e-05/0.9068, allocations: 9.875 kB / 0.5164 GB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.9068, allocations: 3.25 kB / 0.5164 GB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.585e-05/0.9068, allocations: 23.66 kB / 0.5164 GB, free: 30.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.9068, allocations: 5.062 kB / 0.5164 GB, free: 30.86 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.301e-05/0.9069, allocations: 134.9 kB / 0.5166 GB, free: 30.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.907, allocations: 9.844 kB / 0.5166 GB, free: 30.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.015e-05/0.907, allocations: 11.31 kB / 0.5166 GB, free: 30.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.907, allocations: 2.219 kB / 0.5166 GB, free: 30.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.907, allocations: 0 / 0.5166 GB, free: 30.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.907, allocations: 0.75 kB / 0.5166 GB, free: 30.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.9073, allocations: 276.7 kB / 0.5169 GB, free: 30.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.9073, allocations: 5.094 kB / 0.5169 GB, free: 30.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.169e-05/0.9074, allocations: 3.734 kB / 0.5169 GB, free: 30.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.9074, allocations: 1.062 kB / 0.5169 GB, free: 30.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.9074, allocations: 3.75 kB / 0.5169 GB, free: 30.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.9074, allocations: 1.797 kB / 0.5169 GB, free: 30.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.9074, allocations: 0.5938 kB / 0.5169 GB, free: 30.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.9085, allocations: 323.4 kB / 0.5172 GB, free: 30.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.027e-05/0.9086, allocations: 97.05 kB / 0.5173 GB, free: 30.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.9086, allocations: 1 kB / 0.5173 GB, free: 30.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.996e-05/0.9087, allocations: 4.75 kB / 0.5173 GB, free: 30.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.9087, allocations: 3.078 kB / 0.5173 GB, free: 30.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.9087, allocations: 2.281 kB / 0.5173 GB, free: 30.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.131e-05/0.9088, allocations: 89.86 kB / 0.5174 GB, free: 30.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9088, allocations: 0.625 kB / 0.5174 GB, free: 30.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004154/0.9092, allocations: 86.28 kB / 0.5174 GB, free: 30.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006207/0.9098, allocations: 0.926 MB / 0.5184 GB, free: 29.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002759/0.9101, allocations: 225.6 kB / 0.5186 GB, free: 29.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9101, allocations: 384 / 0.5186 GB, free: 29.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.9102, allocations: 207.2 kB / 0.5188 GB, free: 29.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006494/0.9109, allocations: 91.05 kB / 0.5189 GB, free: 29.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008368/0.9117, allocations: 0.5932 MB / 0.5194 GB, free: 28.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.912, allocations: 0.797 MB / 0.5202 GB, free: 28.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.9121, allocations: 26.53 kB / 0.5202 GB, free: 28.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.89e-05/0.9122, allocations: 116.1 kB / 0.5203 GB, free: 28.06 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.9122, allocations: 0 / 0.5203 GB, free: 28.06 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02876/0.941, allocations: 8.132 MB / 0.5283 GB, free: 25.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.034/8.975, allocations: 5.734 kB / 0.5283 GB, free: 25.7 MB / 382.1 MB (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSupercritical_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSupercritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe 2>&1)