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.007637/0.007636, allocations: 99.64 kB / 15.73 MB, free: 6.039 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.001342/0.001342, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.533/1.533, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01196/0.01196, allocations: 2.784 MB / 293.3 MB, free: 11.95 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 71.83 kB / 405.4 MB, free: 29.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08502/0.08623, allocations: 50.23 MB / 455.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.02002/0.1063, allocations: 19.11 MB / 474.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005077/0.1114, allocations: 6.08 MB / 480.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002532/0.1117, allocations: 0 / 480.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007454/0.1125, allocations: 254.5 kB / 481.1 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003219/0.1157, allocations: 1.214 MB / 482.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003299/0.1161, allocations: 83.38 kB / 482.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003948/0.1165, allocations: 301.9 kB / 482.7 MB, free: 224 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.395e-05/0.1166, allocations: 28.73 kB / 482.7 MB, free: 196 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.377e-05/0.1167, allocations: 91.53 kB / 482.8 MB, free: 104 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.1168, allocations: 115.5 kB / 482.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.1168, allocations: 8 kB / 482.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.874/0.9908, allocations: 38.94 MB / 0.5097 GB, free: 35.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.611e-05/0.9909, allocations: 30.3 kB / 0.5097 GB, free: 35.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002224/0.9912, allocations: 132.4 kB / 0.5098 GB, free: 35.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001971/0.9931, allocations: 0.5058 MB / 0.5103 GB, free: 35.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.9932, allocations: 0 / 0.5103 GB, free: 35.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.9932, allocations: 1.031 kB / 0.5103 GB, free: 35.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.9932, allocations: 0 / 0.5103 GB, free: 35.01 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.0006216/0.9938, allocations: 0.5759 MB / 0.5109 GB, free: 34.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.9938, allocations: 10.19 kB / 0.5109 GB, free: 34.55 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.199e-05/0.9939, allocations: 70.7 kB / 0.5109 GB, free: 34.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007685/0.9947, allocations: 205.6 kB / 0.5111 GB, free: 34.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.27e-05/0.9948, allocations: 188.8 kB / 0.5113 GB, free: 34.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.9948, allocations: 18.19 kB / 0.5113 GB, free: 34.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.45e-05/0.9949, allocations: 25.06 kB / 0.5114 GB, free: 34.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004508/0.9953, allocations: 337.9 kB / 0.5117 GB, free: 34.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.9953, allocations: 7.281 kB / 0.5117 GB, free: 34.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.9954, allocations: 12.92 kB / 0.5117 GB, free: 34.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.9954, allocations: 9.344 kB / 0.5117 GB, free: 34.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.9957, allocations: 258.5 kB / 0.512 GB, free: 34.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.997, allocations: 2.121 MB / 0.514 GB, free: 32.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.9971, allocations: 139.8 kB / 0.5142 GB, free: 32.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.9972, allocations: 105.5 kB / 0.5143 GB, free: 32.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004679/0.9977, allocations: 0.689 MB / 0.5149 GB, free: 31.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.9977, allocations: 36.02 kB / 0.515 GB, free: 31.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.893e-06/0.9978, allocations: 0 / 0.515 GB, free: 31.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003492/0.9981, allocations: 182.1 kB / 0.5151 GB, free: 31.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.9981, allocations: 86.45 kB / 0.5152 GB, free: 31.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.727e-05/0.9982, allocations: 102 kB / 0.5153 GB, free: 31.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.9982, allocations: 26.73 kB / 0.5153 GB, free: 31.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.096e-05/0.9983, allocations: 166 kB / 0.5155 GB, free: 31.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.546e-05/0.9984, allocations: 110.2 kB / 0.5156 GB, free: 31.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.415e-05/0.9984, allocations: 34.48 kB / 0.5156 GB, free: 31.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.601e-05/0.9985, allocations: 328.5 kB / 0.516 GB, free: 30.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.677e-05/0.9985, allocations: 31.61 kB / 0.516 GB, free: 30.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.817e-05/0.9986, allocations: 91.36 kB / 0.5161 GB, free: 30.69 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.9988, allocations: 139.6 kB / 0.5162 GB, free: 30.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.9988, allocations: 4 kB / 0.5162 GB, free: 30.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002241/0.9991, allocations: 165.1 kB / 0.5164 GB, free: 30.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.9991, allocations: 5.438 kB / 0.5164 GB, free: 30.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.9991, allocations: 2.141 kB / 0.5164 GB, free: 30.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.9991, allocations: 1.406 kB / 0.5164 GB, free: 30.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.555e-05/0.9992, allocations: 17.75 kB / 0.5164 GB, free: 30.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.9992, allocations: 9.719 kB / 0.5164 GB, free: 30.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.928e-05/0.9993, allocations: 19.31 kB / 0.5164 GB, free: 30.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.9993, allocations: 10.53 kB / 0.5164 GB, free: 30.56 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 9.759e-05/0.9994, allocations: 130.9 kB / 0.5166 GB, free: 30.44 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/0.9995, allocations: 6.547 kB / 0.5166 GB, free: 30.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.765e-05/0.9995, allocations: 10.41 kB / 0.5166 GB, free: 30.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.9995, allocations: 2.062 kB / 0.5166 GB, free: 30.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.9995, allocations: 0.625 kB / 0.5166 GB, free: 30.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.9995, allocations: 5.672 kB / 0.5166 GB, free: 30.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000402/1, allocations: 281.4 kB / 0.5168 GB, free: 30.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/1, allocations: 0.5938 kB / 0.5168 GB, free: 30.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.806e-05/1, allocations: 3.844 kB / 0.5169 GB, free: 30.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/1, allocations: 5.141 kB / 0.5169 GB, free: 30.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/1, allocations: 5 kB / 0.5169 GB, free: 30.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/1, allocations: 1.703 kB / 0.5169 GB, free: 30.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1, allocations: 3.312 kB / 0.5169 GB, free: 30.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/1.002, allocations: 315.7 kB / 0.5172 GB, free: 30 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.454e-05/1.002, allocations: 96.38 kB / 0.5173 GB, free: 29.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/1.002, allocations: 1.688 kB / 0.5173 GB, free: 29.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/1.002, allocations: 5.188 kB / 0.5173 GB, free: 29.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/1.002, allocations: 7.406 kB / 0.5173 GB, free: 29.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/1.002, allocations: 2.281 kB / 0.5173 GB, free: 29.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.102e-05/1.002, allocations: 88 kB / 0.5174 GB, free: 29.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/1.002, allocations: 0.5 kB / 0.5174 GB, free: 29.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006542/1.003, allocations: 84.36 kB / 0.5174 GB, free: 29.8 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.0009677/1.004, allocations: 0.9379 MB / 0.5184 GB, free: 29.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003995/1.004, allocations: 230.5 kB / 0.5186 GB, free: 28.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.004, allocations: 0 / 0.5186 GB, free: 28.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001627/1.005, allocations: 206 kB / 0.5188 GB, free: 28.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007444/1.005, allocations: 79.44 kB / 0.5188 GB, free: 28.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/1.006, allocations: 0.5904 MB / 0.5194 GB, free: 28.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/1.007, allocations: 0.7984 MB / 0.5202 GB, free: 27.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001239/1.007, allocations: 22.41 kB / 0.5202 GB, free: 27.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/1.007, allocations: 125.8 kB / 0.5203 GB, free: 27.75 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/1.007, allocations: 0 / 0.5203 GB, free: 27.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02778/1.035, allocations: 8.133 MB / 0.5283 GB, free: 25.42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.147/9.182, allocations: 7.969 kB / 0.5283 GB, free: 25.41 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 & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSupercritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe 2>&1)