Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.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.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical",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.005265/0.005265, allocations: 99.98 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.001296/0.001296, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1299/0.1299, allocations: 2.756 MB / 293.3 MB, free: 3.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 67.91 kB / 405.4 MB, free: 1.41 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2574, allocations: 50.23 MB / 455.7 MB, free: 20.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.0147/0.2721, allocations: 19.14 MB / 474.8 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004375/0.2766, allocations: 6.076 MB / 480.9 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000224/0.2768, allocations: 5.312 kB / 480.9 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006701/0.2775, allocations: 254.4 kB / 481.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003505/0.281, allocations: 1.202 MB / 482.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.2814, allocations: 86.97 kB / 482.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003442/0.2817, allocations: 303 kB / 482.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.582e-05/0.2818, allocations: 27.41 kB / 482.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.66e-05/0.2819, allocations: 96.27 kB / 482.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.2821, allocations: 109.2 kB / 482.9 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.2821, allocations: 8.406 kB / 482.9 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4563/0.7384, allocations: 38.94 MB / 0.5097 GB, free: 3.883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.053e-05/0.7385, allocations: 31.78 kB / 0.5097 GB, free: 3.852 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000345/0.7388, allocations: 131.3 kB / 0.5098 GB, free: 3.723 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002713/0.7416, allocations: 0.5178 MB / 0.5103 GB, free: 3.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.7416, allocations: 0 / 0.5103 GB, free: 3.203 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.7416, allocations: 0 / 0.5103 GB, free: 3.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.7416, allocations: 0 / 0.5103 GB, free: 3.203 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.0007153/0.7423, allocations: 0.5648 MB / 0.5109 GB, free: 2.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.7424, allocations: 12.03 kB / 0.5109 GB, free: 2.578 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.247e-05/0.7425, allocations: 62.72 kB / 0.5109 GB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007993/0.7433, allocations: 208.5 kB / 0.5111 GB, free: 2.305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.7434, allocations: 192.1 kB / 0.5113 GB, free: 2.078 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.7434, allocations: 20.69 kB / 0.5113 GB, free: 2.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.661e-05/0.7435, allocations: 24 kB / 0.5114 GB, free: 2.035 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004933/0.744, allocations: 341.6 kB / 0.5117 GB, free: 1.688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.744, allocations: 0 / 0.5117 GB, free: 1.688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.744, allocations: 12 kB / 0.5117 GB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.7441, allocations: 7.984 kB / 0.5117 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003201/0.7444, allocations: 263.9 kB / 0.512 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.7459, allocations: 2.123 MB / 0.514 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.7461, allocations: 141 kB / 0.5142 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.7462, allocations: 109.8 kB / 0.5143 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005546/0.7468, allocations: 0.6809 MB / 0.5149 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.7468, allocations: 34.56 kB / 0.515 GB, free: 13.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 2.786e-06/0.7468, allocations: 0 / 0.515 GB, free: 13.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003577/0.7472, allocations: 190.3 kB / 0.5151 GB, free: 13.69 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.7472, allocations: 81.05 kB / 0.5152 GB, free: 13.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.7474, allocations: 105.8 kB / 0.5153 GB, free: 13.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.7474, allocations: 29.64 kB / 0.5154 GB, free: 13.44 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.7475, allocations: 160.4 kB / 0.5155 GB, free: 13.28 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.142e-05/0.7475, allocations: 111 kB / 0.5156 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.7476, allocations: 37.77 kB / 0.5157 GB, free: 13.13 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.7477, allocations: 326.8 kB / 0.516 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.752e-05/0.7478, allocations: 32 kB / 0.516 GB, free: 12.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.907e-05/0.7479, allocations: 92.84 kB / 0.5161 GB, free: 12.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.748, allocations: 149.6 kB / 0.5162 GB, free: 12.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.7481, allocations: 0 / 0.5162 GB, free: 12.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002238/0.7483, allocations: 161.4 kB / 0.5164 GB, free: 12.33 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.7483, allocations: 8 kB / 0.5164 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.7483, allocations: 192 / 0.5164 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.7483, allocations: 8 kB / 0.5164 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.451e-05/0.7484, allocations: 11.94 kB / 0.5164 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.7484, allocations: 8.047 kB / 0.5164 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.169e-05/0.7485, allocations: 19.78 kB / 0.5164 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.7485, allocations: 8 kB / 0.5164 GB, free: 12.27 MB / 398.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.0001189/0.7487, allocations: 127.6 kB / 0.5166 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.657e-05/0.7487, allocations: 11.94 kB / 0.5166 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.599e-05/0.7488, allocations: 8.438 kB / 0.5166 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.7488, allocations: 4 kB / 0.5166 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.7488, allocations: 4 kB / 0.5166 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.7488, allocations: 3.938 kB / 0.5166 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/0.7491, allocations: 277.4 kB / 0.5169 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.7491, allocations: 3.938 kB / 0.5169 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.158e-05/0.7491, allocations: 4 kB / 0.5169 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.7491, allocations: 0 / 0.5169 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.7492, allocations: 3.984 kB / 0.5169 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.7492, allocations: 4 kB / 0.5169 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.7492, allocations: 0 / 0.5169 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.7508, allocations: 323.1 kB / 0.5172 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.713e-05/0.7509, allocations: 92.95 kB / 0.5173 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.7509, allocations: 0 / 0.5173 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.751, allocations: 0 / 0.5173 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/0.751, allocations: 15.92 kB / 0.5173 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.751, allocations: 7.875 kB / 0.5173 GB, free: 11.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.335e-05/0.7511, allocations: 79.28 kB / 0.5174 GB, free: 11.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7511, allocations: 0 / 0.5174 GB, free: 11.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004712/0.7516, allocations: 87.78 kB / 0.5175 GB, free: 11.14 MB / 398.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.0007957/0.7524, allocations: 0.9324 MB / 0.5184 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003179/0.7527, allocations: 220.3 kB / 0.5186 GB, free: 9.953 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7527, allocations: 0 / 0.5186 GB, free: 9.953 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.7529, allocations: 209.3 kB / 0.5188 GB, free: 9.734 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006947/0.7536, allocations: 89.78 kB / 0.5189 GB, free: 9.648 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.7546, allocations: 0.5829 MB / 0.5194 GB, free: 9.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.755, allocations: 0.7995 MB / 0.5202 GB, free: 8.188 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000107/0.7551, allocations: 25.2 kB / 0.5202 GB, free: 8.164 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.7553, allocations: 119.4 kB / 0.5203 GB, free: 8.051 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.7553, allocations: 0 / 0.5203 GB, free: 8.051 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.7803, allocations: 8.125 MB / 0.5283 GB, free: 15.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.084/8.864, allocations: 18.41 kB / 0.5283 GB, free: 15.93 MB / 414.1 MB (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.sim & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical_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_TestStatesTranscritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe 2>&1)