Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.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.TestStatesSupercritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSupercritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSupercritical",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.006871/0.006871, allocations: 100 kB / 15.73 MB, free: 6.035 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.001336/0.001336, allocations: 195.1 kB / 16.67 MB, free: 5.965 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1204/0.1204, allocations: 2.768 MB / 293.3 MB, free: 3.531 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 59.91 kB / 405.4 MB, free: 1.426 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2505, allocations: 50.24 MB / 455.7 MB, free: 20.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.01607/0.2666, allocations: 19.13 MB / 474.8 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004289/0.2709, allocations: 6.077 MB / 480.9 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002317/0.2712, allocations: 1.219 kB / 480.9 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000677/0.2719, allocations: 254.5 kB / 481.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003283/0.2752, allocations: 1.207 MB / 482.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.2755, allocations: 83.16 kB / 482.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003526/0.2759, allocations: 311.6 kB / 482.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.16e-05/0.2759, allocations: 26.12 kB / 482.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.156e-05/0.276, allocations: 95.83 kB / 482.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.2762, allocations: 114 kB / 482.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.2762, allocations: 7 kB / 482.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2558/0.532, allocations: 38.45 MB / 0.5092 GB, free: 4.371 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.104e-05/0.5321, allocations: 35.78 kB / 0.5092 GB, free: 4.336 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003057/0.5324, allocations: 131.3 kB / 0.5093 GB, free: 4.207 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00244/0.5349, allocations: 0.5025 MB / 0.5098 GB, free: 3.703 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.5349, allocations: 4 kB / 0.5098 GB, free: 3.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5349, allocations: 0 / 0.5098 GB, free: 3.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.5349, allocations: 0 / 0.5098 GB, free: 3.699 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.0006313/0.5356, allocations: 0.5656 MB / 0.5104 GB, free: 3.086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.5356, allocations: 8.031 kB / 0.5104 GB, free: 3.078 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.672e-05/0.5357, allocations: 70.66 kB / 0.5105 GB, free: 3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007687/0.5365, allocations: 200.4 kB / 0.5107 GB, free: 2.805 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.5366, allocations: 196.1 kB / 0.5108 GB, free: 2.574 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.303e-05/0.5366, allocations: 16.69 kB / 0.5109 GB, free: 2.559 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.515e-05/0.5367, allocations: 24 kB / 0.5109 GB, free: 2.535 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004536/0.5371, allocations: 337.6 kB / 0.5112 GB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.5372, allocations: 0 / 0.5112 GB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.5372, allocations: 12 kB / 0.5112 GB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.5372, allocations: 11.98 kB / 0.5112 GB, free: 2.168 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003131/0.5375, allocations: 263.8 kB / 0.5115 GB, free: 1.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.5393, allocations: 2.126 MB / 0.5136 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.5395, allocations: 125.2 kB / 0.5137 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.5396, allocations: 109.7 kB / 0.5138 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006722/0.5403, allocations: 0.6889 MB / 0.5144 GB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.5404, allocations: 38.56 kB / 0.5145 GB, free: 14.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.733e-06/0.5404, allocations: 0 / 0.5145 GB, free: 14.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003657/0.5407, allocations: 189.8 kB / 0.5147 GB, free: 14.19 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.5408, allocations: 77.11 kB / 0.5147 GB, free: 14.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.704e-05/0.5409, allocations: 101.8 kB / 0.5148 GB, free: 13.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.5409, allocations: 29.7 kB / 0.5149 GB, free: 13.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.579e-05/0.541, allocations: 156 kB / 0.515 GB, free: 13.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.7e-05/0.5411, allocations: 110.4 kB / 0.5151 GB, free: 13.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-05/0.5412, allocations: 41.7 kB / 0.5152 GB, free: 13.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.5413, allocations: 322.8 kB / 0.5155 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.956e-05/0.5414, allocations: 32 kB / 0.5155 GB, free: 13.28 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.5415, allocations: 92.78 kB / 0.5156 GB, free: 13.17 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.5417, allocations: 146.5 kB / 0.5157 GB, free: 13.01 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5417, allocations: 0 / 0.5157 GB, free: 13.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002344/0.5419, allocations: 165.3 kB / 0.5159 GB, free: 12.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.5419, allocations: 8.125 kB / 0.5159 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.5419, allocations: 4 kB / 0.5159 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.542, allocations: 4 kB / 0.5159 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005135/0.5425, allocations: 11.98 kB / 0.5159 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.5425, allocations: 7.938 kB / 0.5159 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.041e-05/0.5426, allocations: 19.78 kB / 0.5159 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.5426, allocations: 4 kB / 0.5159 GB, free: 12.79 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.0001189/0.5427, allocations: 125.8 kB / 0.5161 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.765e-05/0.5428, allocations: 11.81 kB / 0.5161 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.243e-05/0.5428, allocations: 16.44 kB / 0.5161 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.5428, allocations: 0 / 0.5161 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.5428, allocations: 0 / 0.5161 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.5429, allocations: 3.938 kB / 0.5161 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003414/0.5432, allocations: 273.4 kB / 0.5164 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5432, allocations: 0 / 0.5164 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.413e-05/0.5432, allocations: 7.984 kB / 0.5164 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.5432, allocations: 192 / 0.5164 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.5433, allocations: 4 kB / 0.5164 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5433, allocations: 0 / 0.5164 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.5433, allocations: 0 / 0.5164 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.5449, allocations: 327.1 kB / 0.5167 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.697e-05/0.545, allocations: 96.8 kB / 0.5168 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.545, allocations: 0 / 0.5168 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.5451, allocations: 0 / 0.5168 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.552e-05/0.5451, allocations: 15.92 kB / 0.5168 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.5451, allocations: 4 kB / 0.5168 GB, free: 11.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.35e-05/0.5452, allocations: 83.28 kB / 0.5169 GB, free: 11.74 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5452, allocations: 0 / 0.5169 GB, free: 11.74 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004305/0.5456, allocations: 87.69 kB / 0.5169 GB, free: 11.66 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.0008493/0.5465, allocations: 0.9167 MB / 0.5178 GB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003486/0.5469, allocations: 228.3 kB / 0.5181 GB, free: 10.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5469, allocations: 0 / 0.5181 GB, free: 10.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.5471, allocations: 197.4 kB / 0.5183 GB, free: 10.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007121/0.5478, allocations: 92.03 kB / 0.5183 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.5489, allocations: 0.5795 MB / 0.5189 GB, free: 9.555 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/0.5494, allocations: 0.7995 MB / 0.5197 GB, free: 8.723 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.5495, allocations: 21.2 kB / 0.5197 GB, free: 8.703 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.5497, allocations: 119.4 kB / 0.5198 GB, free: 8.59 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5497, allocations: 0 / 0.5198 GB, free: 8.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02893/0.5786, allocations: 8.082 MB / 0.5277 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.157/8.736, allocations: 7.891 kB / 0.5277 GB, free: 0.5312 MB / 398.1 MB (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSupercritical_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSupercritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe 2>&1)