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.008255/0.008255, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.002015/0.002015, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.512/1.512, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.0141/0.0141, allocations: 2.779 MB / 293.3 MB, free: 11.96 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 67.89 kB / 405.4 MB, free: 29.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08695/0.08884, allocations: 50.24 MB / 455.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.02114/0.11, allocations: 19.12 MB / 474.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006017/0.1161, allocations: 6.084 MB / 480.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001944/0.1163, allocations: 4 kB / 480.9 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000653/0.117, allocations: 250.5 kB / 481.1 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002921/0.12, allocations: 1.21 MB / 482.3 MB, free: 500 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.1202, allocations: 83.38 kB / 482.4 MB, free: 416 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003893/0.1206, allocations: 305.8 kB / 482.7 MB, free: 108 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.124e-05/0.1207, allocations: 20.73 kB / 482.7 MB, free: 88 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.1208, allocations: 99.59 kB / 482.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.121, allocations: 107.5 kB / 482.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.1211, allocations: 8 kB / 482.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.9054/1.027, allocations: 38.93 MB / 0.5097 GB, free: 35.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.085e-05/1.027, allocations: 30.64 kB / 0.5097 GB, free: 35.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002785/1.027, allocations: 130.8 kB / 0.5098 GB, free: 35.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002505/1.029, allocations: 0.5075 MB / 0.5103 GB, free: 35.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/1.029, allocations: 0 / 0.5103 GB, free: 35.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.886e-06/1.029, allocations: 5.031 kB / 0.5103 GB, free: 35.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/1.029, allocations: 0 / 0.5103 GB, free: 35.32 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.001022/1.031, allocations: 0.5713 MB / 0.5109 GB, free: 34.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/1.031, allocations: 11.56 kB / 0.5109 GB, free: 34.86 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.839e-05/1.031, allocations: 67.19 kB / 0.5109 GB, free: 34.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009611/1.032, allocations: 207 kB / 0.5111 GB, free: 34.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/1.032, allocations: 189 kB / 0.5113 GB, free: 34.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.938e-05/1.032, allocations: 18.22 kB / 0.5113 GB, free: 34.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.325e-05/1.032, allocations: 26.64 kB / 0.5114 GB, free: 34.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006036/1.033, allocations: 343.3 kB / 0.5117 GB, free: 34.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/1.033, allocations: 1.781 kB / 0.5117 GB, free: 34.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/1.033, allocations: 10.53 kB / 0.5117 GB, free: 34.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/1.033, allocations: 11.61 kB / 0.5117 GB, free: 34.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003637/1.033, allocations: 262.1 kB / 0.512 GB, free: 34.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/1.035, allocations: 2.118 MB / 0.514 GB, free: 32.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/1.035, allocations: 139.8 kB / 0.5142 GB, free: 32.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/1.035, allocations: 115.1 kB / 0.5143 GB, free: 32.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006556/1.036, allocations: 0.6861 MB / 0.5149 GB, free: 31.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/1.036, allocations: 34.27 kB / 0.515 GB, free: 31.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 2.014e-06/1.036, allocations: 4 kB / 0.515 GB, free: 31.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003801/1.037, allocations: 186.4 kB / 0.5152 GB, free: 31.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/1.037, allocations: 77.67 kB / 0.5152 GB, free: 31.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.973e-05/1.037, allocations: 104.1 kB / 0.5153 GB, free: 31.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/1.037, allocations: 29.45 kB / 0.5154 GB, free: 31.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.368e-05/1.037, allocations: 160.7 kB / 0.5155 GB, free: 31.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.949e-05/1.037, allocations: 111.8 kB / 0.5156 GB, free: 31.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.038e-05/1.037, allocations: 35.25 kB / 0.5157 GB, free: 31.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.717e-05/1.037, allocations: 331.8 kB / 0.516 GB, free: 31.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.709e-05/1.037, allocations: 34.17 kB / 0.516 GB, free: 31.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.213e-05/1.037, allocations: 81.11 kB / 0.5161 GB, free: 31 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/1.037, allocations: 149.1 kB / 0.5162 GB, free: 30.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.289e-06/1.037, allocations: 0.6875 kB / 0.5162 GB, free: 30.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002628/1.038, allocations: 159.8 kB / 0.5164 GB, free: 30.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/1.038, allocations: 5.938 kB / 0.5164 GB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.038, allocations: 1.922 kB / 0.5164 GB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/1.038, allocations: 2.703 kB / 0.5164 GB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.555e-05/1.038, allocations: 11.58 kB / 0.5164 GB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/1.038, allocations: 5.938 kB / 0.5164 GB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/1.038, allocations: 24.38 kB / 0.5164 GB, free: 30.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/1.038, allocations: 8.141 kB / 0.5164 GB, free: 30.87 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 0.0001233/1.038, allocations: 129.6 kB / 0.5166 GB, free: 30.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.725e-05/1.038, allocations: 8.75 kB / 0.5166 GB, free: 30.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.546e-05/1.038, allocations: 13.48 kB / 0.5166 GB, free: 30.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.647e-06/1.038, allocations: 1.094 kB / 0.5166 GB, free: 30.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/1.038, allocations: 1.641 kB / 0.5166 GB, free: 30.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/1.038, allocations: 0.5 kB / 0.5166 GB, free: 30.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004757/1.039, allocations: 284 kB / 0.5168 GB, free: 30.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/1.039, allocations: 5.156 kB / 0.5169 GB, free: 30.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.637e-05/1.039, allocations: 3.297 kB / 0.5169 GB, free: 30.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/1.039, allocations: 1.094 kB / 0.5169 GB, free: 30.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/1.039, allocations: 2.953 kB / 0.5169 GB, free: 30.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/1.039, allocations: 0.5 kB / 0.5169 GB, free: 30.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.039, allocations: 1.031 kB / 0.5169 GB, free: 30.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/1.041, allocations: 322.8 kB / 0.5172 GB, free: 30.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.6e-05/1.041, allocations: 94.2 kB / 0.5173 GB, free: 30.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/1.041, allocations: 5.031 kB / 0.5173 GB, free: 30.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/1.041, allocations: 0.5938 kB / 0.5173 GB, free: 30.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/1.041, allocations: 4.078 kB / 0.5173 GB, free: 30.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/1.041, allocations: 2.781 kB / 0.5173 GB, free: 30.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.493e-05/1.041, allocations: 87.3 kB / 0.5174 GB, free: 30.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/1.041, allocations: 0 / 0.5174 GB, free: 30.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000608/1.042, allocations: 84.92 kB / 0.5174 GB, free: 30.11 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.0008977/1.043, allocations: 0.9433 MB / 0.5184 GB, free: 29.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001025/1.044, allocations: 225.5 kB / 0.5186 GB, free: 29.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/1.044, allocations: 4.062 kB / 0.5186 GB, free: 29.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001771/1.044, allocations: 203.2 kB / 0.5188 GB, free: 29.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008923/1.045, allocations: 82.3 kB / 0.5188 GB, free: 29.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/1.046, allocations: 0.5906 MB / 0.5194 GB, free: 28.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/1.046, allocations: 0.7965 MB / 0.5202 GB, free: 28.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000167/1.047, allocations: 30.95 kB / 0.5202 GB, free: 28.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/1.047, allocations: 119.6 kB / 0.5203 GB, free: 28.07 MB / 382.1 MB Notification: Performance of SimCode: time 1.649e-05/1.047, allocations: 0 / 0.5203 GB, free: 28.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03524/1.082, allocations: 8.134 MB / 0.5283 GB, free: 25.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.578/9.66, allocations: 15.88 kB / 0.5283 GB, free: 25.69 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)