Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_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.005694/0.005694, allocations: 97.62 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.001344/0.001344, allocations: 201.5 kB / 16.68 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.511/1.511, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1171/0.1171, allocations: 2.752 MB / 293.3 MB, free: 3.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 63.89 kB / 405.4 MB, free: 1.387 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2627, allocations: 50.24 MB / 455.7 MB, free: 20.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.01449/0.2772, allocations: 19.13 MB / 474.8 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004279/0.2815, allocations: 6.079 MB / 480.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002864/0.2818, allocations: 1.375 kB / 480.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00071/0.2826, allocations: 254.6 kB / 481.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003681/0.2863, allocations: 1.207 MB / 482.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.2867, allocations: 83.84 kB / 482.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005815/0.2873, allocations: 302.3 kB / 482.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.222e-05/0.2874, allocations: 27.8 kB / 482.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.2875, allocations: 98.23 kB / 482.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.2877, allocations: 110.9 kB / 482.9 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.2877, allocations: 7.5 kB / 482.9 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3447/0.6324, allocations: 38.45 MB / 0.5092 GB, free: 4.355 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.721e-05/0.6325, allocations: 31.78 kB / 0.5092 GB, free: 4.324 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002907/0.6328, allocations: 123.4 kB / 0.5093 GB, free: 4.203 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002355/0.6351, allocations: 0.5138 MB / 0.5098 GB, free: 3.688 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.6351, allocations: 8 kB / 0.5098 GB, free: 3.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6352, allocations: 3.938 kB / 0.5098 GB, free: 3.676 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.6352, allocations: 0 / 0.5098 GB, free: 3.676 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.0007729/0.636, allocations: 0.5648 MB / 0.5104 GB, free: 3.062 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.636, allocations: 12.03 kB / 0.5104 GB, free: 3.051 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.534e-05/0.6361, allocations: 70.72 kB / 0.5105 GB, free: 2.973 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/0.6374, allocations: 208.5 kB / 0.5107 GB, free: 2.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.6376, allocations: 188.1 kB / 0.5108 GB, free: 2.547 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.6376, allocations: 20.69 kB / 0.5109 GB, free: 2.527 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.492e-05/0.6376, allocations: 20 kB / 0.5109 GB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004994/0.6381, allocations: 341.6 kB / 0.5112 GB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.6382, allocations: 0 / 0.5112 GB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.6382, allocations: 12 kB / 0.5112 GB, free: 2.148 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.541e-05/0.6382, allocations: 15.98 kB / 0.5112 GB, free: 2.133 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.6386, allocations: 259.9 kB / 0.5115 GB, free: 1.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/0.6407, allocations: 2.123 MB / 0.5136 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.6409, allocations: 133 kB / 0.5137 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.6411, allocations: 105.8 kB / 0.5138 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000807/0.6419, allocations: 0.6926 MB / 0.5145 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.642, allocations: 38.5 kB / 0.5145 GB, free: 14.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.653e-06/0.642, allocations: 4 kB / 0.5145 GB, free: 14.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0004437/0.6424, allocations: 189.4 kB / 0.5147 GB, free: 14.15 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/0.6425, allocations: 77.11 kB / 0.5148 GB, free: 14.05 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.6426, allocations: 113.9 kB / 0.5149 GB, free: 13.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.6427, allocations: 25.7 kB / 0.5149 GB, free: 13.9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.6428, allocations: 164.4 kB / 0.515 GB, free: 13.74 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.12e-05/0.6429, allocations: 103.1 kB / 0.5151 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.291e-05/0.643, allocations: 37.7 kB / 0.5152 GB, free: 13.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.6431, allocations: 326.8 kB / 0.5155 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.987e-05/0.6432, allocations: 28 kB / 0.5155 GB, free: 13.24 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.6433, allocations: 96.78 kB / 0.5156 GB, free: 13.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.6435, allocations: 142.5 kB / 0.5157 GB, free: 12.97 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6435, allocations: 3.938 kB / 0.5158 GB, free: 12.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002672/0.6438, allocations: 169.4 kB / 0.5159 GB, free: 12.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.6438, allocations: 7.906 kB / 0.5159 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.6439, allocations: 4 kB / 0.5159 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.6439, allocations: 0 / 0.5159 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.139e-05/0.644, allocations: 11.98 kB / 0.5159 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.644, allocations: 4 kB / 0.5159 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.713e-05/0.6441, allocations: 23.72 kB / 0.516 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.6441, allocations: 4 kB / 0.516 GB, free: 12.74 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.000201/0.6443, allocations: 126 kB / 0.5161 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.313e-05/0.6444, allocations: 15.89 kB / 0.5161 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.81e-05/0.6444, allocations: 12.62 kB / 0.5161 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.6445, allocations: 3.984 kB / 0.5161 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6445, allocations: 0 / 0.5161 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.6445, allocations: 3.938 kB / 0.5161 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003987/0.6449, allocations: 277.4 kB / 0.5164 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.6449, allocations: 0 / 0.5164 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.044e-05/0.6449, allocations: 7.984 kB / 0.5164 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.6449, allocations: 0 / 0.5164 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.645, allocations: 8 kB / 0.5164 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.645, allocations: 4 kB / 0.5164 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.645, allocations: 0 / 0.5164 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/0.647, allocations: 315.2 kB / 0.5167 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.999e-05/0.6471, allocations: 92.95 kB / 0.5168 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.6471, allocations: 0 / 0.5168 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.6473, allocations: 7.938 kB / 0.5168 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.111e-05/0.6473, allocations: 15.92 kB / 0.5168 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.6473, allocations: 4 kB / 0.5168 GB, free: 11.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.888e-05/0.6474, allocations: 79.28 kB / 0.5169 GB, free: 11.69 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6474, allocations: 0 / 0.5169 GB, free: 11.69 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004981/0.6479, allocations: 83.78 kB / 0.517 GB, free: 11.61 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.001033/0.6489, allocations: 0.9324 MB / 0.5179 GB, free: 10.65 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004738/0.6494, allocations: 224 kB / 0.5181 GB, free: 10.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.6494, allocations: 0 / 0.5181 GB, free: 10.42 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002763/0.6497, allocations: 205.8 kB / 0.5183 GB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008345/0.6506, allocations: 91.84 kB / 0.5184 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.652, allocations: 0.5829 MB / 0.519 GB, free: 9.484 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005788/0.6526, allocations: 0.7995 MB / 0.5197 GB, free: 8.652 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001273/0.6527, allocations: 21.2 kB / 0.5198 GB, free: 8.633 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.6529, allocations: 119.4 kB / 0.5199 GB, free: 8.52 MB / 398.1 MB Notification: Performance of SimCode: time 3.096e-06/0.6529, allocations: 0 / 0.5199 GB, free: 8.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03456/0.6874, allocations: 8.074 MB / 0.5278 GB, free: 488 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.669/9.357, allocations: 14.41 kB / 0.5278 GB, free: 476 kB / 398.1 MB (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.sim & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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_TestStatesTranscritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe 2>&1)