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.006599/0.006599, allocations: 99.27 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.001399/0.001398, allocations: 196.9 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01173/0.01173, allocations: 2.776 MB / 293.3 MB, free: 11.97 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 67.89 kB / 405.4 MB, free: 29.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07671/0.07855, allocations: 50.23 MB / 455.7 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.02027/0.09886, allocations: 19.12 MB / 474.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005734/0.1046, allocations: 6.091 MB / 480.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001867/0.1048, allocations: 0 / 480.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006593/0.1055, allocations: 250.5 kB / 481.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00339/0.1089, allocations: 1.206 MB / 482.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003511/0.1093, allocations: 87.36 kB / 482.4 MB, free: 436 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004866/0.1098, allocations: 305.8 kB / 482.7 MB, free: 128 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.652e-05/0.1099, allocations: 24.72 kB / 482.7 MB, free: 104 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.11, allocations: 95.48 kB / 482.8 MB, free: 8 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.1102, allocations: 107.6 kB / 482.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.1102, allocations: 8 kB / 482.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5262/0.6364, allocations: 38.45 MB / 0.5092 GB, free: 35.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.637e-05/0.6365, allocations: 33.84 kB / 0.5092 GB, free: 35.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002125/0.6367, allocations: 125.6 kB / 0.5093 GB, free: 35.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001763/0.6385, allocations: 0.5113 MB / 0.5098 GB, free: 35.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.6385, allocations: 7.156 kB / 0.5098 GB, free: 35.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6385, allocations: 0 / 0.5098 GB, free: 35.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.6385, allocations: 0 / 0.5098 GB, free: 35.52 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.0005936/0.6391, allocations: 0.5735 MB / 0.5104 GB, free: 35.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.6392, allocations: 9.453 kB / 0.5104 GB, free: 35.07 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.179e-05/0.6392, allocations: 68.38 kB / 0.5105 GB, free: 35.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007851/0.64, allocations: 203.2 kB / 0.5107 GB, free: 35.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.6401, allocations: 190.6 kB / 0.5108 GB, free: 34.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.6402, allocations: 17.91 kB / 0.5109 GB, free: 34.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.6402, allocations: 35.72 kB / 0.5109 GB, free: 34.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004919/0.6407, allocations: 338 kB / 0.5112 GB, free: 34.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.6407, allocations: 0 / 0.5112 GB, free: 34.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.6408, allocations: 9.969 kB / 0.5112 GB, free: 34.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.6408, allocations: 10.12 kB / 0.5112 GB, free: 34.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003546/0.6412, allocations: 265.4 kB / 0.5115 GB, free: 34.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.6426, allocations: 2.12 MB / 0.5136 GB, free: 32.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.6427, allocations: 141.6 kB / 0.5137 GB, free: 32.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.6429, allocations: 105.4 kB / 0.5138 GB, free: 32.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004997/0.6434, allocations: 0.6963 MB / 0.5145 GB, free: 32.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.6434, allocations: 36.19 kB / 0.5145 GB, free: 32.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.533e-06/0.6434, allocations: 0 / 0.5145 GB, free: 32.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003583/0.6438, allocations: 182.4 kB / 0.5147 GB, free: 32.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.6438, allocations: 78.61 kB / 0.5148 GB, free: 31.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.362e-05/0.6439, allocations: 101.8 kB / 0.5148 GB, free: 31.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.6439, allocations: 33.34 kB / 0.5149 GB, free: 31.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.131e-05/0.644, allocations: 160.3 kB / 0.515 GB, free: 31.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.384e-05/0.644, allocations: 111.5 kB / 0.5151 GB, free: 31.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.187e-05/0.6441, allocations: 40.23 kB / 0.5152 GB, free: 31.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.89e-05/0.6441, allocations: 325.3 kB / 0.5155 GB, free: 31.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.24e-05/0.6442, allocations: 36.41 kB / 0.5155 GB, free: 31.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.15e-05/0.6443, allocations: 82.27 kB / 0.5156 GB, free: 31.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.6444, allocations: 147.9 kB / 0.5157 GB, free: 31.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6444, allocations: 0 / 0.5157 GB, free: 31.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000213/0.6447, allocations: 155.9 kB / 0.5159 GB, free: 31.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.6447, allocations: 10.38 kB / 0.5159 GB, free: 31.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.6447, allocations: 2.5 kB / 0.5159 GB, free: 31.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.6447, allocations: 4.688 kB / 0.5159 GB, free: 31.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.788e-05/0.6448, allocations: 16.66 kB / 0.5159 GB, free: 31.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.6448, allocations: 0 / 0.5159 GB, free: 31.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.85e-05/0.6449, allocations: 30.28 kB / 0.516 GB, free: 31.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.6449, allocations: 3.344 kB / 0.516 GB, free: 31.07 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.517e-05/0.645, allocations: 129 kB / 0.5161 GB, free: 30.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.645, allocations: 8.109 kB / 0.5161 GB, free: 30.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.324e-05/0.6451, allocations: 12.73 kB / 0.5161 GB, free: 30.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.6451, allocations: 3.594 kB / 0.5161 GB, free: 30.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.6451, allocations: 4.703 kB / 0.5161 GB, free: 30.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.6451, allocations: 0 / 0.5161 GB, free: 30.94 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.6454, allocations: 277.6 kB / 0.5164 GB, free: 30.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.6454, allocations: 0.5312 kB / 0.5164 GB, free: 30.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.448e-05/0.6455, allocations: 7.406 kB / 0.5164 GB, free: 30.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.6455, allocations: 0.625 kB / 0.5164 GB, free: 30.74 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.6455, allocations: 2.266 kB / 0.5164 GB, free: 30.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.6455, allocations: 1.25 kB / 0.5164 GB, free: 30.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.6455, allocations: 1.375 kB / 0.5164 GB, free: 30.74 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.647, allocations: 319.3 kB / 0.5167 GB, free: 30.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.692e-05/0.647, allocations: 97.11 kB / 0.5168 GB, free: 30.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.647, allocations: 6.203 kB / 0.5168 GB, free: 30.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.6472, allocations: 4.094 kB / 0.5168 GB, free: 30.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.6472, allocations: 4.312 kB / 0.5168 GB, free: 30.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.6472, allocations: 2.891 kB / 0.5168 GB, free: 30.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.092e-05/0.6472, allocations: 91.52 kB / 0.5169 GB, free: 30.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6472, allocations: 0.5312 kB / 0.5169 GB, free: 30.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005079/0.6478, allocations: 88.17 kB / 0.517 GB, free: 30.3 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.0007509/0.6485, allocations: 0.9239 MB / 0.5179 GB, free: 29.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003498/0.6489, allocations: 235 kB / 0.5181 GB, free: 29.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6489, allocations: 0.5938 kB / 0.5181 GB, free: 29.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.6491, allocations: 199.5 kB / 0.5183 GB, free: 29.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006961/0.6498, allocations: 89.5 kB / 0.5184 GB, free: 29.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009392/0.6507, allocations: 0.595 MB / 0.519 GB, free: 28.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.651, allocations: 0.7971 MB / 0.5197 GB, free: 28.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001228/0.6512, allocations: 25.34 kB / 0.5198 GB, free: 28.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.6513, allocations: 123.3 kB / 0.5199 GB, free: 28.27 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.6513, allocations: 0 / 0.5199 GB, free: 28.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03072/0.682, allocations: 8.071 MB / 0.5278 GB, free: 26.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.796, allocations: 11.78 kB / 0.5278 GB, free: 26 MB / 382.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)