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.006725/0.006725, allocations: 97.7 kB / 15.73 MB, free: 6.062 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.001321/0.001322, allocations: 196.4 kB / 16.67 MB, free: 5.973 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.319/1.319, 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.01156/0.01156, allocations: 2.777 MB / 293.3 MB, free: 11.95 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.91 kB / 405.4 MB, free: 29.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0934/0.09468, allocations: 50.22 MB / 455.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.02206/0.1168, allocations: 19.12 MB / 474.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005438/0.1223, allocations: 6.084 MB / 480.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002439/0.1225, allocations: 4 kB / 480.9 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007615/0.1234, allocations: 250.5 kB / 481.1 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003542/0.1269, allocations: 1.206 MB / 482.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.1272, allocations: 87.36 kB / 482.4 MB, free: 416 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004272/0.1277, allocations: 313.8 kB / 482.7 MB, free: 100 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.59e-05/0.1278, allocations: 16.75 kB / 482.7 MB, free: 84 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.1279, allocations: 95.62 kB / 482.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.1281, allocations: 111.3 kB / 482.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.1281, allocations: 8 kB / 482.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.6737/0.8018, allocations: 38.94 MB / 0.5096 GB, free: 35.35 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.24e-05/0.8019, allocations: 33.67 kB / 0.5097 GB, free: 35.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002552/0.8021, allocations: 132.7 kB / 0.5098 GB, free: 35.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00223/0.8044, allocations: 0.5027 MB / 0.5103 GB, free: 35.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.8044, allocations: 0 / 0.5103 GB, free: 35.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.8044, allocations: 4 kB / 0.5103 GB, free: 35.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.8044, allocations: 2 kB / 0.5103 GB, free: 35.33 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.0007447/0.8052, allocations: 0.5721 MB / 0.5109 GB, free: 34.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.8052, allocations: 12.52 kB / 0.5109 GB, free: 34.88 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.664e-05/0.8053, allocations: 68.14 kB / 0.5109 GB, free: 34.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009212/0.8062, allocations: 206.6 kB / 0.5111 GB, free: 34.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.8064, allocations: 187.1 kB / 0.5113 GB, free: 34.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.385e-05/0.8064, allocations: 17.55 kB / 0.5113 GB, free: 34.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.446e-05/0.8065, allocations: 28.34 kB / 0.5114 GB, free: 34.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004939/0.807, allocations: 341.5 kB / 0.5117 GB, free: 34.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.807, allocations: 0 / 0.5117 GB, free: 34.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.807, allocations: 13.56 kB / 0.5117 GB, free: 34.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.807, allocations: 9.859 kB / 0.5117 GB, free: 34.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003229/0.8074, allocations: 257.9 kB / 0.512 GB, free: 34.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.8088, allocations: 2.127 MB / 0.514 GB, free: 32.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.8089, allocations: 141.2 kB / 0.5142 GB, free: 32.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.8091, allocations: 114.9 kB / 0.5143 GB, free: 32.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005022/0.8096, allocations: 0.6838 MB / 0.5149 GB, free: 31.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.573e-05/0.8096, allocations: 36.08 kB / 0.515 GB, free: 31.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.413e-06/0.8096, allocations: 5.438 kB / 0.515 GB, free: 31.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.000348/0.81, allocations: 183.3 kB / 0.5152 GB, free: 31.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.81, allocations: 77.91 kB / 0.5152 GB, free: 31.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.253e-05/0.8101, allocations: 102.2 kB / 0.5153 GB, free: 31.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.8101, allocations: 30.52 kB / 0.5154 GB, free: 31.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.964e-05/0.8101, allocations: 164.9 kB / 0.5155 GB, free: 31.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.964e-05/0.8102, allocations: 109.3 kB / 0.5156 GB, free: 31.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/0.8103, allocations: 33.69 kB / 0.5156 GB, free: 31.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.475e-05/0.8103, allocations: 333.1 kB / 0.516 GB, free: 31.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.756e-05/0.8104, allocations: 32.56 kB / 0.516 GB, free: 31.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.941e-05/0.8105, allocations: 81.56 kB / 0.5161 GB, free: 31.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.8107, allocations: 148 kB / 0.5162 GB, free: 30.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.8107, allocations: 0 / 0.5162 GB, free: 30.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002598/0.8109, allocations: 162.5 kB / 0.5164 GB, free: 30.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.811, allocations: 6.25 kB / 0.5164 GB, free: 30.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.811, allocations: 1.562 kB / 0.5164 GB, free: 30.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.811, allocations: 6.219 kB / 0.5164 GB, free: 30.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.372e-05/0.8111, allocations: 10.17 kB / 0.5164 GB, free: 30.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.8111, allocations: 6.828 kB / 0.5164 GB, free: 30.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.648e-05/0.8112, allocations: 24.03 kB / 0.5164 GB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.8112, allocations: 7.797 kB / 0.5164 GB, free: 30.88 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.615e-05/0.8113, allocations: 132.7 kB / 0.5166 GB, free: 30.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.981e-05/0.8114, allocations: 7.672 kB / 0.5166 GB, free: 30.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.598e-05/0.8114, allocations: 13.16 kB / 0.5166 GB, free: 30.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.8114, allocations: 1.656 kB / 0.5166 GB, free: 30.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.8114, allocations: 0.5312 kB / 0.5166 GB, free: 30.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.8114, allocations: 1.094 kB / 0.5166 GB, free: 30.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003424/0.8118, allocations: 284.3 kB / 0.5169 GB, free: 30.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.8118, allocations: 0.5938 kB / 0.5169 GB, free: 30.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.565e-05/0.8118, allocations: 3.656 kB / 0.5169 GB, free: 30.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.8118, allocations: 1.156 kB / 0.5169 GB, free: 30.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.8118, allocations: 2.25 kB / 0.5169 GB, free: 30.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.8118, allocations: 1.531 kB / 0.5169 GB, free: 30.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.8119, allocations: 0.8438 kB / 0.5169 GB, free: 30.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.8134, allocations: 325.2 kB / 0.5172 GB, free: 30.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.8135, allocations: 93.72 kB / 0.5173 GB, free: 30.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.8135, allocations: 1.891 kB / 0.5173 GB, free: 30.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.8137, allocations: 1.953 kB / 0.5173 GB, free: 30.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.8137, allocations: 8.562 kB / 0.5173 GB, free: 30.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.8137, allocations: 3.188 kB / 0.5173 GB, free: 30.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.347e-05/0.8138, allocations: 87.77 kB / 0.5174 GB, free: 30.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.8138, allocations: 0.5 kB / 0.5174 GB, free: 30.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005496/0.8143, allocations: 88.47 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.001149/0.8155, allocations: 0.9243 MB / 0.5183 GB, free: 29.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003554/0.8158, allocations: 227 kB / 0.5186 GB, free: 29.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.8159, allocations: 4.062 kB / 0.5186 GB, free: 29.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.816, allocations: 207.9 kB / 0.5188 GB, free: 29.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007214/0.8168, allocations: 80.7 kB / 0.5188 GB, free: 29.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.818, allocations: 0.5938 MB / 0.5194 GB, free: 28.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.8183, allocations: 0.7964 MB / 0.5202 GB, free: 28.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001537/0.8185, allocations: 25.97 kB / 0.5202 GB, free: 28.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.8186, allocations: 115 kB / 0.5203 GB, free: 28.09 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.8186, allocations: 0 / 0.5203 GB, free: 28.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02807/0.8467, allocations: 8.145 MB / 0.5283 GB, free: 25.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.548/9.395, allocations: 7.906 kB / 0.5283 GB, free: 25.73 MB / 382.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)