Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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: translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8107/0.8107, allocations: 143.4 MB / 158.3 MB, free: 5.84 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.001334/0.001334, allocations: 183.5 kB / 191.5 MB, free: 5.766 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.552/1.552, allocations: 223.2 MB / 447.7 MB, free: 4.805 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.001036/0.001035, allocations: 96.27 kB / 0.5188 GB, free: 1.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002579/0.002578, allocations: 263.2 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005337/0.0005337, allocations: 10.69 kB / 0.6929 GB, free: 59.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2148, allocations: 82.79 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8238/1.039, allocations: 313.7 MB / 1.08 GB, free: 7.691 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000347/1.039, allocations: 85.36 kB / 1.08 GB, free: 7.645 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02218/1.061, allocations: 9.197 MB / 1.089 GB, free: 220 kB / 0.6511 GB Notification: Performance of FrontEnd: time 1.984e-06/1.061, allocations: 4 kB / 1.089 GB, free: 216 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.215e-06/1.061, allocations: 0 / 1.089 GB, free: 216 kB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004302/1.062, allocations: 346.5 kB / 1.089 GB, free: 15.83 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/1.062, allocations: 8.031 kB / 1.089 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/1.062, allocations: 0 / 1.089 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/1.062, allocations: 167.1 kB / 1.09 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.791e-05/1.062, allocations: 29.66 kB / 1.09 GB, free: 15.58 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/1.062, allocations: 0 / 1.09 GB, free: 15.58 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/1.062, allocations: 57.17 kB / 1.09 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/1.062, allocations: 0 / 1.09 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/1.062, allocations: 0 / 1.09 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/1.062, allocations: 0 / 1.09 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.753e-05/1.062, allocations: 15.92 kB / 1.09 GB, free: 15.51 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006491/1.063, allocations: 0.5898 MB / 1.09 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 3.965e-05/1.063, allocations: 22.58 kB / 1.09 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002454/1.063, allocations: 347.3 kB / 1.091 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/1.063, allocations: 30.56 kB / 1.091 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/1.063, allocations: 4 kB / 1.091 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of matching and sorting (n=1): time 0.0001507/1.064, allocations: 33.64 kB / 1.091 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/1.064, allocations: 51.41 kB / 1.091 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.944e-05/1.064, allocations: 104.7 kB / 1.091 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/1.064, allocations: 25.83 kB / 1.091 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/1.064, allocations: 88.05 kB / 1.091 GB, free: 14 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.911e-06/1.064, allocations: 3.562 kB / 1.091 GB, free: 14 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-06/1.064, allocations: 0 / 1.091 GB, free: 14 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001152/1.064, allocations: 318.8 kB / 1.091 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.243e-05/1.064, allocations: 4 kB / 1.091 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.17e-05/1.064, allocations: 17.78 kB / 1.091 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.049e-05/1.064, allocations: 8 kB / 1.091 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/1.064, allocations: 0 / 1.091 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.885e-05/1.064, allocations: 48.94 kB / 1.091 GB, free: 13.6 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/1.064, allocations: 8 kB / 1.091 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/1.064, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/1.064, allocations: 96 / 1.091 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.987e-05/1.064, allocations: 11.97 kB / 1.091 GB, free: 13.58 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/1.064, allocations: 3.984 kB / 1.091 GB, free: 13.58 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.936e-05/1.064, allocations: 7.906 kB / 1.091 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/1.064, allocations: 0 / 1.091 GB, free: 13.57 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * 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 8.017e-05/1.064, allocations: 126.3 kB / 1.091 GB, free: 13.44 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/1.064, allocations: 0 / 1.091 GB, free: 13.44 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/1.065, allocations: 125.9 kB / 1.092 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.539e-05/1.065, allocations: 176.3 kB / 1.092 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.939e-05/1.065, allocations: 180.2 kB / 1.092 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.265e-05/1.065, allocations: 192.1 kB / 1.092 GB, free: 12.76 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/1.065, allocations: 405.1 kB / 1.093 GB, free: 12.31 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.009e-05/1.065, allocations: 105 kB / 1.093 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.921e-05/1.065, allocations: 104.1 kB / 1.093 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.545e-05/1.065, allocations: 184.2 kB / 1.093 GB, free: 11.91 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.734e-05/1.065, allocations: 176.3 kB / 1.093 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.679e-05/1.065, allocations: 192.2 kB / 1.093 GB, free: 11.53 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.497e-05/1.065, allocations: 176.3 kB / 1.093 GB, free: 11.35 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/1.065, allocations: 307.1 kB / 1.094 GB, free: 11.03 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 8.358e-05/1.066, allocations: 185.9 kB / 1.094 GB, free: 10.83 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.2e-05/1.066, allocations: 188.2 kB / 1.094 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/1.066, allocations: 109 kB / 1.094 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.91e-05/1.066, allocations: 180.2 kB / 1.094 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.203e-05/1.066, allocations: 101 kB / 1.094 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 5.418e-05/1.066, allocations: 90.7 kB / 1.095 GB, free: 10.15 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.6e-07/1.066, allocations: 0 / 1.095 GB, free: 10.15 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003218/1.066, allocations: 39.38 kB / 1.095 GB, free: 10.11 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0002806/1.067, allocations: 226.4 kB / 1.095 GB, free: 9.883 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 7.382e-05/1.067, allocations: 15.94 kB / 1.095 GB, free: 9.867 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.067, allocations: 0 / 1.095 GB, free: 9.867 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/1.067, allocations: 0 / 1.095 GB, free: 9.867 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/1.067, allocations: 0.5225 MB / 1.095 GB, free: 9.344 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002784/1.067, allocations: 195.8 kB / 1.095 GB, free: 9.125 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/1.068, allocations: 0.677 MB / 1.096 GB, free: 8.422 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 4.498e-05/1.068, allocations: 9.359 kB / 1.096 GB, free: 8.414 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.448e-05/1.068, allocations: 7.438 kB / 1.096 GB, free: 8.406 MB / 0.6667 GB Notification: Performance of SimCode: time 2.2e-07/1.068, allocations: 0 / 1.096 GB, free: 8.406 MB / 0.6667 GB Notification: Performance of Templates: time 0.003432/1.071, allocations: 1.14 MB / 1.097 GB, free: 7.324 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)