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.01041/0.01041, allocations: 102.4 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.002402/0.002402, allocations: 197.7 kB / 16.68 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01131/0.01131, allocations: 2.77 MB / 293.3 MB, free: 11.95 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.84 kB / 405.4 MB, free: 29.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08558/0.08683, allocations: 50.22 MB / 455.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.01771/0.1046, allocations: 19.13 MB / 474.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004996/0.1096, allocations: 6.072 MB / 480.9 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002293/0.1099, allocations: 0 / 480.9 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007296/0.1107, allocations: 258.4 kB / 481.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003097/0.1138, allocations: 1.21 MB / 482.3 MB, free: 492 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.1141, allocations: 91.36 kB / 482.4 MB, free: 400 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004032/0.1145, allocations: 301.8 kB / 482.7 MB, free: 96 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.753e-05/0.1146, allocations: 20.75 kB / 482.7 MB, free: 76 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.1147, allocations: 87.64 kB / 482.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.1149, allocations: 115.3 kB / 482.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.1149, allocations: 8 kB / 482.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.6616/0.7765, allocations: 38.93 MB / 0.5096 GB, free: 35.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.531e-05/0.7766, allocations: 35.72 kB / 0.5097 GB, free: 35.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002129/0.7768, allocations: 131.5 kB / 0.5098 GB, free: 35.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00182/0.7786, allocations: 0.5028 MB / 0.5103 GB, free: 35.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.7786, allocations: 0 / 0.5103 GB, free: 35.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.7787, allocations: 6.516 kB / 0.5103 GB, free: 35.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.7787, allocations: 0 / 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.0006533/0.7793, allocations: 0.5634 MB / 0.5108 GB, free: 34.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.7794, allocations: 9.438 kB / 0.5109 GB, free: 34.92 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.632e-05/0.7794, allocations: 65 kB / 0.5109 GB, free: 34.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008732/0.7803, allocations: 201.8 kB / 0.5111 GB, free: 34.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.7804, allocations: 191.7 kB / 0.5113 GB, free: 34.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.7805, allocations: 19.09 kB / 0.5113 GB, free: 34.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.121e-05/0.7805, allocations: 30.17 kB / 0.5113 GB, free: 34.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004699/0.781, allocations: 341.8 kB / 0.5117 GB, free: 34.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.781, allocations: 1.094 kB / 0.5117 GB, free: 34.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.781, allocations: 9.906 kB / 0.5117 GB, free: 34.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.7811, allocations: 13.42 kB / 0.5117 GB, free: 34.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003161/0.7814, allocations: 260.7 kB / 0.5119 GB, free: 34.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.7827, allocations: 2.121 MB / 0.514 GB, free: 32.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.7829, allocations: 134.8 kB / 0.5141 GB, free: 32.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.783, allocations: 111.3 kB / 0.5142 GB, free: 32.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005057/0.7835, allocations: 0.6928 MB / 0.5149 GB, free: 31.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/0.7835, allocations: 30.56 kB / 0.5149 GB, free: 31.92 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.483e-06/0.7836, allocations: 4 kB / 0.515 GB, free: 31.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003635/0.7839, allocations: 182 kB / 0.5151 GB, free: 31.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.784, allocations: 80.61 kB / 0.5152 GB, free: 31.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.347e-05/0.784, allocations: 105.1 kB / 0.5153 GB, free: 31.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.7841, allocations: 28.89 kB / 0.5153 GB, free: 31.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.721e-05/0.7841, allocations: 156.3 kB / 0.5155 GB, free: 31.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.045e-05/0.7842, allocations: 103.3 kB / 0.5156 GB, free: 31.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.759e-05/0.7843, allocations: 38.33 kB / 0.5156 GB, free: 31.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.609e-05/0.7843, allocations: 334.1 kB / 0.5159 GB, free: 31.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.988e-05/0.7844, allocations: 36.64 kB / 0.516 GB, free: 31.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.022e-05/0.7845, allocations: 89.02 kB / 0.5161 GB, free: 31.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.7846, allocations: 148.9 kB / 0.5162 GB, free: 31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.7846, allocations: 1.938 kB / 0.5162 GB, free: 31 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002928/0.7849, allocations: 159.3 kB / 0.5164 GB, free: 30.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.785, allocations: 6.781 kB / 0.5164 GB, free: 30.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.785, allocations: 1.031 kB / 0.5164 GB, free: 30.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.785, allocations: 2.031 kB / 0.5164 GB, free: 30.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.572e-05/0.7851, allocations: 10.89 kB / 0.5164 GB, free: 30.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.7851, allocations: 6.656 kB / 0.5164 GB, free: 30.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.964e-05/0.7852, allocations: 16.34 kB / 0.5164 GB, free: 30.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.7852, allocations: 4.531 kB / 0.5164 GB, free: 30.94 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.0001025/0.7853, allocations: 133.4 kB / 0.5165 GB, free: 30.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.362e-05/0.7854, allocations: 12.25 kB / 0.5165 GB, free: 30.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.71e-05/0.7855, allocations: 11.25 kB / 0.5165 GB, free: 30.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.7855, allocations: 1.125 kB / 0.5165 GB, free: 30.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.7855, allocations: 1.062 kB / 0.5165 GB, free: 30.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.7855, allocations: 4.5 kB / 0.5166 GB, free: 30.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003664/0.7859, allocations: 275.6 kB / 0.5168 GB, free: 30.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.7859, allocations: 0.5 kB / 0.5168 GB, free: 30.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.029e-05/0.7859, allocations: 4.219 kB / 0.5168 GB, free: 30.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.7859, allocations: 0.5312 kB / 0.5168 GB, free: 30.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.7859, allocations: 5.344 kB / 0.5168 GB, free: 30.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.7859, allocations: 3.875 kB / 0.5168 GB, free: 30.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.7859, allocations: 0.5 kB / 0.5168 GB, free: 30.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.7877, allocations: 323 kB / 0.5171 GB, free: 30.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.7878, allocations: 93.52 kB / 0.5172 GB, free: 30.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.7878, allocations: 4.875 kB / 0.5172 GB, free: 30.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.7879, allocations: 1.188 kB / 0.5172 GB, free: 30.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.606e-05/0.788, allocations: 3.922 kB / 0.5172 GB, free: 30.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.788, allocations: 2.25 kB / 0.5172 GB, free: 30.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.917e-05/0.788, allocations: 90.31 kB / 0.5173 GB, free: 30.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.788, allocations: 0.5625 kB / 0.5173 GB, free: 30.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000528/0.7885, allocations: 80.77 kB / 0.5174 GB, free: 30.18 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.0006455/0.7892, allocations: 0.9336 MB / 0.5183 GB, free: 29.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00032/0.7895, allocations: 234.9 kB / 0.5185 GB, free: 29.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.7895, allocations: 0 / 0.5185 GB, free: 29.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.7897, allocations: 200 kB / 0.5187 GB, free: 29.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006869/0.7904, allocations: 72.48 kB / 0.5188 GB, free: 29.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.7917, allocations: 0.5893 MB / 0.5194 GB, free: 28.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.792, allocations: 0.799 MB / 0.5202 GB, free: 28.17 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001676/0.7922, allocations: 32.11 kB / 0.5202 GB, free: 28.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.7923, allocations: 116.8 kB / 0.5203 GB, free: 28.15 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.7923, allocations: 0 / 0.5203 GB, free: 28.15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02945/0.8218, allocations: 8.141 MB / 0.5282 GB, free: 25.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.973/8.795, allocations: 7.922 kB / 0.5283 GB, free: 25.79 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe 2>&1)