Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.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.Examples.WaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.WaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterProperties",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.886/0.886, allocations: 141.8 MB / 149.3 MB, free: 9.238 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.001148/0.001148, allocations: 175.9 kB / 182.2 MB, free: 9.477 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.606/1.606, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0009488/0.0009489, allocations: 88.05 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002232/0.002233, allocations: 277.3 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.154e-05/2.157e-05, allocations: 4 kB / 0.6766 GB, free: 12.78 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5619/0.5619, allocations: 82.78 MB / 0.7574 GB, free: 31.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9791/1.541, allocations: 351.1 MB / 1.1 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/1.541, allocations: 65.62 kB / 1.1 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04608/1.587, allocations: 20.07 MB / 1.12 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.503e-06/1.588, allocations: 0 / 1.12 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.124e-05/1.588, allocations: 4 kB / 1.12 GB, free: 13.76 MB / 0.6667 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.0006374/1.588, allocations: 477.8 kB / 1.12 GB, free: 13.26 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/1.588, allocations: 8.031 kB / 1.12 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/1.588, allocations: 23.81 kB / 1.12 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/1.589, allocations: 213 kB / 1.121 GB, free: 12.99 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/1.589, allocations: 4 kB / 1.121 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/1.589, allocations: 12 kB / 1.121 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004767/1.589, allocations: 406.8 kB / 1.121 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003042/1.589, allocations: 221.1 kB / 1.121 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/1.589, allocations: 0 / 1.121 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/1.59, allocations: 3.938 kB / 1.121 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.895e-05/1.59, allocations: 15.53 kB / 1.121 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/1.591, allocations: 0.9416 MB / 1.122 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/1.591, allocations: 143.8 kB / 1.122 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.202e-05/1.591, allocations: 53.02 kB / 1.122 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001435/1.592, allocations: 1.929 MB / 1.124 GB, free: 9.094 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/1.593, allocations: 34.56 kB / 1.124 GB, free: 9.051 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=15): time 1.813e-06/1.593, allocations: 4 kB / 1.124 GB, free: 9.047 MB / 0.6667 GB Notification: Performance of matching and sorting (n=15): time 0.0004481/1.593, allocations: 136.5 kB / 1.124 GB, free: 8.926 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/1.593, allocations: 51.41 kB / 1.124 GB, free: 8.863 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/1.593, allocations: 137.7 kB / 1.125 GB, free: 8.727 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/1.593, allocations: 25.7 kB / 1.125 GB, free: 8.695 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 9.571e-05/1.593, allocations: 150.2 kB / 1.125 GB, free: 8.555 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/1.593, allocations: 45.8 kB / 1.125 GB, free: 8.516 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.094e-06/1.593, allocations: 0 / 1.125 GB, free: 8.516 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001344/1.593, allocations: 326.6 kB / 1.125 GB, free: 8.191 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.039e-05/1.594, allocations: 29.19 kB / 1.125 GB, free: 8.172 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/1.594, allocations: 122.6 kB / 1.125 GB, free: 8.016 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/1.594, allocations: 88.88 kB / 1.125 GB, free: 7.941 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.594, allocations: 0 / 1.125 GB, free: 7.941 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004422/1.594, allocations: 201.1 kB / 1.126 GB, free: 7.762 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/1.594, allocations: 12.06 kB / 1.126 GB, free: 7.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/1.594, allocations: 11.94 kB / 1.126 GB, free: 7.738 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/1.594, allocations: 4 kB / 1.126 GB, free: 7.734 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/1.595, allocations: 59.91 kB / 1.126 GB, free: 7.676 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/1.595, allocations: 4 kB / 1.126 GB, free: 7.672 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/1.595, allocations: 19.78 kB / 1.126 GB, free: 7.652 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/1.595, allocations: 19 kB / 1.126 GB, free: 7.637 MB / 0.6667 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 () * 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 7.853e-05/1.595, allocations: 108.9 kB / 1.126 GB, free: 7.523 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003618/1.595, allocations: 140.6 kB / 1.126 GB, free: 7.395 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/1.595, allocations: 11.91 kB / 1.126 GB, free: 7.383 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004531/1.596, allocations: 171.3 kB / 1.126 GB, free: 7.238 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/1.596, allocations: 7.984 kB / 1.126 GB, free: 7.23 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/1.596, allocations: 3.953 kB / 1.126 GB, free: 7.227 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/1.596, allocations: 0 / 1.126 GB, free: 7.227 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/1.596, allocations: 187 kB / 1.126 GB, free: 7.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/1.596, allocations: 3.938 kB / 1.126 GB, free: 7.016 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/1.596, allocations: 27.98 kB / 1.126 GB, free: 6.988 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/1.596, allocations: 7.938 kB / 1.126 GB, free: 6.98 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/1.596, allocations: 7.438 kB / 1.126 GB, free: 6.977 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/1.596, allocations: 0 / 1.126 GB, free: 6.977 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.596, allocations: 3.984 kB / 1.126 GB, free: 6.973 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004157/1.597, allocations: 222.7 kB / 1.127 GB, free: 6.754 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 9.135e-05/1.597, allocations: 122.5 kB / 1.127 GB, free: 6.625 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/1.597, allocations: 0 / 1.127 GB, free: 6.625 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/1.597, allocations: 19.98 kB / 1.127 GB, free: 6.605 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.37e-05/1.597, allocations: 7.984 kB / 1.127 GB, free: 6.598 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/1.597, allocations: 15.86 kB / 1.127 GB, free: 6.586 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 6.229e-05/1.597, allocations: 103.8 kB / 1.127 GB, free: 6.492 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/1.597, allocations: 0 / 1.127 GB, free: 6.492 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000355/1.597, allocations: 79.06 kB / 1.127 GB, free: 6.422 MB / 0.6667 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 () * 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.0008199/1.598, allocations: 0.855 MB / 1.128 GB, free: 5.562 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001854/1.598, allocations: 98.05 kB / 1.128 GB, free: 5.48 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/1.598, allocations: 0 / 1.128 GB, free: 5.48 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 5.271e-05/1.599, allocations: 44.42 kB / 1.128 GB, free: 5.445 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/1.599, allocations: 35.66 kB / 1.128 GB, free: 5.414 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006588/1.6, allocations: 223.1 kB / 1.128 GB, free: 5.172 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/1.6, allocations: 0.7167 MB / 1.129 GB, free: 4.422 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001606/1.6, allocations: 41.73 kB / 1.129 GB, free: 4.383 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.614e-05/1.6, allocations: 50.09 kB / 1.129 GB, free: 4.355 MB / 0.6667 GB Notification: Performance of SimCode: time 2.41e-07/1.6, allocations: 0 / 1.129 GB, free: 4.355 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2502/1.85, allocations: 4.196 MB / 1.133 GB, free: 200 kB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002886/1.851, allocations: 146 kB / 1.133 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/3.612, allocations: 3.938 kB / 1.133 GB, free: 15.99 MB / 0.6823 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_WaterProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1)