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.005062/0.005062, allocations: 101 kB / 15.73 MB, free: 6.059 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.001332/0.001332, allocations: 194 kB / 16.67 MB, free: 5.969 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01243/0.01243, allocations: 2.79 MB / 293.3 MB, free: 11.96 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 67.89 kB / 405.4 MB, free: 29.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08602/0.08796, allocations: 50.23 MB / 455.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.02268/0.1107, allocations: 19.11 MB / 474.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006358/0.1171, allocations: 6.084 MB / 480.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002666/0.1174, allocations: 4 kB / 480.9 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007256/0.1182, allocations: 254.5 kB / 481.1 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003351/0.1215, allocations: 1.206 MB / 482.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.1218, allocations: 87.42 kB / 482.4 MB, free: 420 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004659/0.1223, allocations: 301.8 kB / 482.7 MB, free: 116 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.247e-05/0.1224, allocations: 16.75 kB / 482.7 MB, free: 100 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.1225, allocations: 99.47 kB / 482.8 MB, free: 0 / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.1227, allocations: 115.4 kB / 482.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.808e-05/0.1228, allocations: 8 kB / 482.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.8122/0.935, allocations: 38.93 MB / 0.5097 GB, free: 35.35 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.28e-05/0.9351, allocations: 29.02 kB / 0.5097 GB, free: 35.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002437/0.9353, allocations: 130.5 kB / 0.5098 GB, free: 35.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002223/0.9376, allocations: 0.5142 MB / 0.5103 GB, free: 35.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.9376, allocations: 0.6562 kB / 0.5103 GB, free: 35.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.9376, allocations: 0 / 0.5103 GB, free: 35.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.9376, 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.0007683/0.9384, allocations: 0.5733 MB / 0.5109 GB, free: 34.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.9384, allocations: 10.47 kB / 0.5109 GB, free: 34.87 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.477e-05/0.9385, allocations: 75.53 kB / 0.5109 GB, free: 34.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008696/0.9394, allocations: 208.1 kB / 0.5111 GB, free: 34.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.9395, allocations: 188.2 kB / 0.5113 GB, free: 34.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.9396, allocations: 17.75 kB / 0.5113 GB, free: 34.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.9396, allocations: 26.38 kB / 0.5114 GB, free: 34.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005841/0.9402, allocations: 340.1 kB / 0.5117 GB, free: 34.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.9402, allocations: 3.719 kB / 0.5117 GB, free: 34.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.9402, allocations: 11.75 kB / 0.5117 GB, free: 34.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/0.9403, allocations: 10.45 kB / 0.5117 GB, free: 34.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003243/0.9406, allocations: 257 kB / 0.512 GB, free: 34.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/0.942, allocations: 2.121 MB / 0.514 GB, free: 32.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.9422, allocations: 139.4 kB / 0.5142 GB, free: 32.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.9423, allocations: 109.2 kB / 0.5143 GB, free: 32.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/0.9433, allocations: 0.6912 MB / 0.5149 GB, free: 31.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.9434, allocations: 39.67 kB / 0.515 GB, free: 31.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.613e-06/0.9434, allocations: 0 / 0.515 GB, free: 31.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003512/0.9437, allocations: 186.4 kB / 0.5152 GB, free: 31.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.9438, allocations: 85.17 kB / 0.5152 GB, free: 31.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.333e-05/0.9438, allocations: 101.8 kB / 0.5153 GB, free: 31.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.9439, allocations: 25.7 kB / 0.5154 GB, free: 31.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.9439, allocations: 165.1 kB / 0.5155 GB, free: 31.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.573e-05/0.944, allocations: 109.8 kB / 0.5156 GB, free: 31.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.596e-05/0.9441, allocations: 35.22 kB / 0.5157 GB, free: 31.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.555e-05/0.9441, allocations: 325.5 kB / 0.516 GB, free: 31.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.48e-05/0.9442, allocations: 38.05 kB / 0.516 GB, free: 31.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.346e-05/0.9442, allocations: 87.23 kB / 0.5161 GB, free: 31 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.9444, allocations: 139.2 kB / 0.5162 GB, free: 30.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.9444, allocations: 1.125 kB / 0.5162 GB, free: 30.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002405/0.9447, allocations: 164.2 kB / 0.5164 GB, free: 30.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.9447, allocations: 7.109 kB / 0.5164 GB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.9447, allocations: 3.188 kB / 0.5164 GB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.9447, allocations: 1.594 kB / 0.5164 GB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.538e-05/0.9448, allocations: 10.89 kB / 0.5164 GB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.9448, allocations: 5.875 kB / 0.5164 GB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.663e-05/0.9449, allocations: 24.53 kB / 0.5164 GB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.9449, allocations: 4.438 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.409e-05/0.945, allocations: 131.6 kB / 0.5166 GB, free: 30.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.165e-05/0.9451, allocations: 8.891 kB / 0.5166 GB, free: 30.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.696e-05/0.9451, allocations: 10.73 kB / 0.5166 GB, free: 30.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.9451, allocations: 1.062 kB / 0.5166 GB, free: 30.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.9451, allocations: 1.094 kB / 0.5166 GB, free: 30.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.9451, allocations: 1.156 kB / 0.5166 GB, free: 30.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004259/0.9456, allocations: 281.1 kB / 0.5168 GB, free: 30.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.706e-06/0.9456, allocations: 5.266 kB / 0.5169 GB, free: 30.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.442e-05/0.9456, allocations: 6.812 kB / 0.5169 GB, free: 30.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.9456, allocations: 1.156 kB / 0.5169 GB, free: 30.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.9456, allocations: 5.5 kB / 0.5169 GB, free: 30.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.9457, allocations: 9.141 kB / 0.5169 GB, free: 30.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.9457, allocations: 4.578 kB / 0.5169 GB, free: 30.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.9473, allocations: 313.8 kB / 0.5172 GB, free: 30.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.93e-05/0.9473, allocations: 98.08 kB / 0.5173 GB, free: 30.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.9474, allocations: 1.641 kB / 0.5173 GB, free: 30.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.9475, allocations: 1.266 kB / 0.5173 GB, free: 30.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.9475, allocations: 3.953 kB / 0.5173 GB, free: 30.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.9475, allocations: 6.781 kB / 0.5173 GB, free: 30.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.756e-05/0.9476, allocations: 83.95 kB / 0.5174 GB, free: 30.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9476, allocations: 3.375 kB / 0.5174 GB, free: 30.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005776/0.9481, allocations: 88.36 kB / 0.5175 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.0007479/0.9489, allocations: 0.9219 MB / 0.5184 GB, free: 29.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002966/0.9492, allocations: 230.7 kB / 0.5186 GB, free: 29.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.9492, allocations: 384 / 0.5186 GB, free: 29.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.9494, allocations: 209.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.0006755/0.9501, allocations: 80.05 kB / 0.5189 GB, free: 29.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.9511, allocations: 0.5947 MB / 0.5194 GB, free: 28.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.9514, allocations: 0.7952 MB / 0.5202 GB, free: 28.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.9515, allocations: 27.25 kB / 0.5202 GB, free: 28.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.9516, allocations: 116.3 kB / 0.5203 GB, free: 28.07 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.9516, allocations: 0 / 0.5203 GB, free: 28.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02907/0.9807, allocations: 8.126 MB / 0.5283 GB, free: 25.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.061/9.042, allocations: 10.38 kB / 0.5283 GB, free: 25.7 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)