Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8077/0.8077, allocations: 143.3 MB / 158.3 MB, free: 5.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.00106, allocations: 187 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 223.2 MB / 447.7 MB, free: 4.832 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009912/0.0009911, allocations: 96.23 kB / 0.5187 GB, free: 1.184 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001737/0.001738, allocations: 271.3 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000485/0.0004849, allocations: 13.5 kB / 0.6929 GB, free: 59.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1909, allocations: 82.8 MB / 0.7738 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.336/1.526, allocations: 409.5 MB / 1.174 GB, free: 192 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003191/1.527, allocations: 86.72 kB / 1.174 GB, free: 192 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.2054/1.732, allocations: 87.55 MB / 1.259 GB, free: 167.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.607e-06/1.732, allocations: 4 kB / 1.259 GB, free: 167.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.248e-05/1.732, allocations: 6.562 kB / 1.259 GB, free: 167.5 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.003309/1.736, allocations: 0.7407 MB / 1.26 GB, free: 166.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/1.736, allocations: 11.97 kB / 1.26 GB, free: 166.7 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.758e-05/1.736, allocations: 55.09 kB / 1.26 GB, free: 166.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/1.736, allocations: 26.25 kB / 1.26 GB, free: 166.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/1.736, allocations: 223.5 kB / 1.26 GB, free: 166.4 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/1.736, allocations: 11.7 kB / 1.26 GB, free: 166.4 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/1.736, allocations: 11.31 kB / 1.26 GB, free: 166.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003736/1.737, allocations: 241.8 kB / 1.261 GB, free: 166.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/1.737, allocations: 0 / 1.261 GB, free: 166.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/1.737, allocations: 11.61 kB / 1.261 GB, free: 166.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.029e-05/1.737, allocations: 7.938 kB / 1.261 GB, free: 166.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004318/1.737, allocations: 427.3 kB / 1.261 GB, free: 165.8 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009774/1.738, allocations: 1.019 MB / 1.262 GB, free: 164.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/1.739, allocations: 168.9 kB / 1.262 GB, free: 164.7 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/1.74, allocations: 1.85 MB / 1.264 GB, free: 162.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/1.74, allocations: 38.06 kB / 1.264 GB, free: 162.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/1.74, allocations: 0 / 1.264 GB, free: 162.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0003118/1.74, allocations: 152.5 kB / 1.264 GB, free: 162.4 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/1.74, allocations: 51.41 kB / 1.264 GB, free: 162.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/1.74, allocations: 152.3 kB / 1.264 GB, free: 162.2 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/1.74, allocations: 33.39 kB / 1.264 GB, free: 162.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.603e-05/1.74, allocations: 142.1 kB / 1.265 GB, free: 162 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/1.74, allocations: 46.27 kB / 1.265 GB, free: 162 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.178e-06/1.74, allocations: 7.062 kB / 1.265 GB, free: 162 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.878e-05/1.74, allocations: 325.6 kB / 1.265 GB, free: 161.6 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.604e-05/1.74, allocations: 38.73 kB / 1.265 GB, free: 161.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.912e-05/1.741, allocations: 133.6 kB / 1.265 GB, free: 161.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.359e-05/1.741, allocations: 67.64 kB / 1.265 GB, free: 161.4 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.741, allocations: 0 / 1.265 GB, free: 161.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002765/1.741, allocations: 200.5 kB / 1.265 GB, free: 161.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/1.741, allocations: 8.469 kB / 1.265 GB, free: 161.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/1.741, allocations: 8 kB / 1.265 GB, free: 161.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/1.741, allocations: 4 kB / 1.265 GB, free: 161.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/1.741, allocations: 63.36 kB / 1.265 GB, free: 161.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/1.741, allocations: 15.92 kB / 1.265 GB, free: 161.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/1.741, allocations: 31.17 kB / 1.265 GB, free: 161.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/1.741, allocations: 12 kB / 1.265 GB, free: 161.1 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.321e-05/1.741, allocations: 132.6 kB / 1.266 GB, free: 161 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/1.741, allocations: 11.91 kB / 1.266 GB, free: 160.9 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/1.742, allocations: 158.8 kB / 1.266 GB, free: 160.8 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/1.742, allocations: 7.984 kB / 1.266 GB, free: 160.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.742, allocations: 7.891 kB / 1.266 GB, free: 160.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/1.742, allocations: 0 / 1.266 GB, free: 160.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/1.742, allocations: 218.9 kB / 1.266 GB, free: 160.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.742, allocations: 0 / 1.266 GB, free: 160.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/1.742, allocations: 35.48 kB / 1.266 GB, free: 160.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/1.742, allocations: 0 / 1.266 GB, free: 160.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/1.742, allocations: 4 kB / 1.266 GB, free: 160.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/1.742, allocations: 4 kB / 1.266 GB, free: 160.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.742, allocations: 0 / 1.266 GB, free: 160.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/1.742, allocations: 223.8 kB / 1.266 GB, free: 160.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-05/1.742, allocations: 122.6 kB / 1.266 GB, free: 160.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/1.743, allocations: 0 / 1.266 GB, free: 160.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/1.743, allocations: 19.48 kB / 1.266 GB, free: 160.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/1.743, allocations: 11.98 kB / 1.266 GB, free: 160.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/1.743, allocations: 15.8 kB / 1.266 GB, free: 160.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.668e-05/1.743, allocations: 123.4 kB / 1.266 GB, free: 160 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.743, allocations: 0 / 1.266 GB, free: 160 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004835/1.743, allocations: 90.31 kB / 1.267 GB, free: 159.9 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006432/1.744, allocations: 0.8911 MB / 1.267 GB, free: 159.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002196/1.744, allocations: 117.2 kB / 1.268 GB, free: 159 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.744, allocations: 0 / 1.268 GB, free: 159 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.401e-05/1.744, allocations: 42.39 kB / 1.268 GB, free: 158.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/1.745, allocations: 46.7 kB / 1.268 GB, free: 158.9 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/1.746, allocations: 3.274 MB / 1.271 GB, free: 155.6 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/1.747, allocations: 0.7172 MB / 1.272 GB, free: 154.9 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001961/1.747, allocations: 56.72 kB / 1.272 GB, free: 154.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.384e-05/1.747, allocations: 41.17 kB / 1.272 GB, free: 154.8 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/1.747, allocations: 0 / 1.272 GB, free: 154.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01704/1.764, allocations: 6.107 MB / 1.278 GB, free: 148.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001991/1.764, allocations: 197.9 kB / 1.278 GB, free: 148.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/3.75, allocations: 0 / 1.278 GB, free: 148.7 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)