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.007768/0.007768, allocations: 103 kB / 15.73 MB, free: 6.492 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.00193/0.00193, allocations: 198.4 kB / 16.68 MB, free: 6.375 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.136/0.136, allocations: 2.757 MB / 293.3 MB, free: 3.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 59.91 kB / 405.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.253, allocations: 50.23 MB / 455.7 MB, free: 20.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.01595/0.269, allocations: 19.13 MB / 474.8 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004899/0.274, allocations: 6.071 MB / 480.9 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003081/0.2743, allocations: 5.375 kB / 480.9 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000677/0.275, allocations: 255 kB / 481.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003857/0.2789, allocations: 1.207 MB / 482.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.2793, allocations: 83.66 kB / 482.4 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004203/0.2797, allocations: 303 kB / 482.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.457e-05/0.2798, allocations: 26.58 kB / 482.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.2799, allocations: 99.5 kB / 482.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.28, allocations: 113.9 kB / 482.9 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.2801, allocations: 8.656 kB / 482.9 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2549/0.535, allocations: 38.45 MB / 0.5092 GB, free: 4.395 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.5351, allocations: 31.78 kB / 0.5092 GB, free: 4.363 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000476/0.5356, allocations: 123.4 kB / 0.5093 GB, free: 4.242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004192/0.5398, allocations: 0.5142 MB / 0.5098 GB, free: 3.727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.5398, allocations: 0 / 0.5098 GB, free: 3.727 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.689e-06/0.5399, allocations: 0 / 0.5098 GB, free: 3.727 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.175e-05/0.5399, allocations: 3.938 kB / 0.5098 GB, free: 3.723 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.001037/0.5409, allocations: 0.5656 MB / 0.5104 GB, free: 3.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.471e-05/0.541, allocations: 8.031 kB / 0.5104 GB, free: 3.102 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001123/0.5411, allocations: 74.7 kB / 0.5105 GB, free: 3.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.5422, allocations: 200.5 kB / 0.5107 GB, free: 2.824 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.5424, allocations: 184.1 kB / 0.5108 GB, free: 2.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.871e-05/0.5424, allocations: 24.69 kB / 0.5109 GB, free: 2.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.536e-05/0.5425, allocations: 24 kB / 0.5109 GB, free: 2.559 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005563/0.543, allocations: 337.6 kB / 0.5112 GB, free: 2.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.5431, allocations: 8 kB / 0.5112 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.5431, allocations: 8 kB / 0.5112 GB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.5431, allocations: 11.98 kB / 0.5112 GB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003439/0.5435, allocations: 263.9 kB / 0.5115 GB, free: 1.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.5455, allocations: 2.115 MB / 0.5135 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.5458, allocations: 133.1 kB / 0.5137 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.546, allocations: 109.8 kB / 0.5138 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007502/0.5468, allocations: 0.6889 MB / 0.5144 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.5468, allocations: 42.5 kB / 0.5145 GB, free: 14.4 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 2.395e-06/0.5468, allocations: 0 / 0.5145 GB, free: 14.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0004154/0.5472, allocations: 182.2 kB / 0.5147 GB, free: 14.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.5473, allocations: 89.05 kB / 0.5147 GB, free: 14.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.598e-05/0.5474, allocations: 105.8 kB / 0.5148 GB, free: 14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.5474, allocations: 25.7 kB / 0.5149 GB, free: 13.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.436e-05/0.5475, allocations: 164 kB / 0.515 GB, free: 13.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.654e-05/0.5476, allocations: 102.5 kB / 0.5151 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-05/0.5477, allocations: 33.7 kB / 0.5152 GB, free: 13.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5478, allocations: 326.8 kB / 0.5155 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.161e-05/0.5479, allocations: 31.98 kB / 0.5155 GB, free: 13.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.56e-05/0.548, allocations: 88.86 kB / 0.5156 GB, free: 13.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.5482, allocations: 141.7 kB / 0.5157 GB, free: 13.04 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.5482, allocations: 4 kB / 0.5157 GB, free: 13.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002539/0.5485, allocations: 169.6 kB / 0.5159 GB, free: 12.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.5485, allocations: 4 kB / 0.5159 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.5485, allocations: 7.984 kB / 0.5159 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.5485, allocations: 0 / 0.5159 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.403e-05/0.5486, allocations: 8 kB / 0.5159 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.5486, allocations: 4 kB / 0.5159 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.265e-05/0.5487, allocations: 15.78 kB / 0.5159 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.5487, allocations: 12.12 kB / 0.5159 GB, free: 12.81 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.0001407/0.5489, allocations: 125.8 kB / 0.5161 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.765e-05/0.549, allocations: 12 kB / 0.5161 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.755e-05/0.549, allocations: 20.36 kB / 0.5161 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.549, allocations: 3.984 kB / 0.5161 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.549, allocations: 0 / 0.5161 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.549, allocations: 7.938 kB / 0.5161 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003954/0.5494, allocations: 277.4 kB / 0.5164 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5495, allocations: 0 / 0.5164 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.638e-05/0.5495, allocations: 4 kB / 0.5164 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.5495, allocations: 4 kB / 0.5164 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.5495, allocations: 4 kB / 0.5164 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.5495, allocations: 0 / 0.5164 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.5495, allocations: 0 / 0.5164 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002158/0.5517, allocations: 311.2 kB / 0.5167 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.239e-05/0.5518, allocations: 96.84 kB / 0.5168 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.5518, allocations: 4 kB / 0.5168 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.552, allocations: 8 kB / 0.5168 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.037e-05/0.552, allocations: 7.875 kB / 0.5168 GB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.552, allocations: 4 kB / 0.5168 GB, free: 11.85 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.513e-05/0.5521, allocations: 79.28 kB / 0.5169 GB, free: 11.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5521, allocations: 0 / 0.5169 GB, free: 11.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004889/0.5526, allocations: 91.67 kB / 0.5169 GB, free: 11.68 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.0008804/0.5534, allocations: 0.9168 MB / 0.5178 GB, free: 10.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003886/0.5538, allocations: 232 kB / 0.5181 GB, free: 10.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5539, allocations: 0 / 0.5181 GB, free: 10.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.554, allocations: 201.8 kB / 0.5183 GB, free: 10.29 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007086/0.5548, allocations: 83.97 kB / 0.5183 GB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.5559, allocations: 0.5795 MB / 0.5189 GB, free: 9.578 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/0.5564, allocations: 0.8033 MB / 0.5197 GB, free: 8.742 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000149/0.5566, allocations: 25.19 kB / 0.5197 GB, free: 8.719 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.5568, allocations: 115.4 kB / 0.5198 GB, free: 8.609 MB / 398.1 MB Notification: Performance of SimCode: time 6.52e-07/0.5568, allocations: 0 / 0.5198 GB, free: 8.609 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03616/0.593, allocations: 8.093 MB / 0.5277 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.06/8.653, allocations: 8.016 kB / 0.5277 GB, free: 0.5391 MB / 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe 2>&1)