Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 182.1 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4974/0.4974, allocations: 91.99 MB / 108.5 MB, free: 13.09 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.2 MB / 354.3 MB, free: 12.21 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 103.1 kB / 427.4 MB, free: 3.949 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003712, allocations: 8 kB / 0.4982 GB, free: 42.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1654, allocations: 72.31 MB / 0.5689 GB, free: 1.938 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.042/1.207, allocations: 305.1 MB / 0.8668 GB, free: 179.3 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/1.208, allocations: 79.94 kB / 0.8669 GB, free: 179.2 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01815/1.226, allocations: 9.191 MB / 0.8759 GB, free: 170.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.695e-06/1.226, allocations: 0 / 0.8759 GB, free: 170.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.562e-06/1.226, allocations: 0 / 0.8759 GB, free: 170.1 MB / 0.5886 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.000288/1.226, allocations: 347.8 kB / 0.8762 GB, free: 169.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/1.226, allocations: 12.03 kB / 0.8762 GB, free: 169.7 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/1.226, allocations: 3.953 kB / 0.8762 GB, free: 169.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.996e-05/1.227, allocations: 159.1 kB / 0.8764 GB, free: 169.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.702e-05/1.227, allocations: 29.7 kB / 0.8764 GB, free: 169.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/1.227, allocations: 8 kB / 0.8764 GB, free: 169.4 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/1.227, allocations: 41.67 kB / 0.8764 GB, free: 169.4 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/1.227, allocations: 0 / 0.8764 GB, free: 169.4 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/1.227, allocations: 0 / 0.8764 GB, free: 169.4 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/1.227, allocations: 3.953 kB / 0.8764 GB, free: 169.4 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.173e-05/1.227, allocations: 15.98 kB / 0.8765 GB, free: 169.4 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004923/1.227, allocations: 0.5833 MB / 0.877 GB, free: 168.7 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 2.995e-05/1.227, allocations: 18.58 kB / 0.877 GB, free: 168.6 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001547/1.228, allocations: 352.4 kB / 0.8774 GB, free: 168.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/1.228, allocations: 34.56 kB / 0.8774 GB, free: 168.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/1.228, allocations: 0 / 0.8774 GB, free: 168.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001394/1.228, allocations: 37.59 kB / 0.8774 GB, free: 168.1 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/1.228, allocations: 55.41 kB / 0.8775 GB, free: 168.1 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.334e-05/1.228, allocations: 96.98 kB / 0.8776 GB, free: 168 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/1.228, allocations: 29.83 kB / 0.8776 GB, free: 167.9 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.718e-05/1.228, allocations: 91.97 kB / 0.8777 GB, free: 167.8 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.602e-06/1.228, allocations: 3.906 kB / 0.8777 GB, free: 167.8 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-06/1.228, allocations: 4 kB / 0.8777 GB, free: 167.8 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 4.959e-05/1.228, allocations: 314.8 kB / 0.878 GB, free: 167.5 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.206e-05/1.228, allocations: 3.984 kB / 0.878 GB, free: 167.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.824e-05/1.228, allocations: 17.66 kB / 0.878 GB, free: 167.5 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.086e-05/1.228, allocations: 8 kB / 0.878 GB, free: 167.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.228, allocations: 0 / 0.878 GB, free: 167.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.015e-05/1.228, allocations: 53.62 kB / 0.8781 GB, free: 167.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/1.228, allocations: 4 kB / 0.8781 GB, free: 167.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/1.228, allocations: 0 / 0.8781 GB, free: 167.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/1.228, allocations: 3.953 kB / 0.8781 GB, free: 167.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.851e-05/1.228, allocations: 8 kB / 0.8781 GB, free: 167.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/1.228, allocations: 0 / 0.8781 GB, free: 167.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.884e-05/1.228, allocations: 3.984 kB / 0.8781 GB, free: 167.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/1.228, allocations: 4.062 kB / 0.8781 GB, free: 167.4 MB / 0.5886 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 5.465e-05/1.228, allocations: 113.8 kB / 0.8782 GB, free: 167.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/1.228, allocations: 0 / 0.8782 GB, free: 167.3 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.306e-05/1.228, allocations: 116.9 kB / 0.8783 GB, free: 167.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-05/1.228, allocations: 184.2 kB / 0.8785 GB, free: 167 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.231e-05/1.229, allocations: 188.2 kB / 0.8787 GB, free: 166.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.807e-05/1.229, allocations: 180.5 kB / 0.8789 GB, free: 166.6 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/1.229, allocations: 416 kB / 0.8793 GB, free: 166.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.67e-05/1.229, allocations: 101 kB / 0.8794 GB, free: 166 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.511e-05/1.229, allocations: 101 kB / 0.8795 GB, free: 165.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.961e-05/1.229, allocations: 184.2 kB / 0.8796 GB, free: 165.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.229e-05/1.229, allocations: 188.3 kB / 0.8798 GB, free: 165.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.914e-05/1.229, allocations: 188.2 kB / 0.88 GB, free: 165.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-05/1.229, allocations: 176.3 kB / 0.8802 GB, free: 165.2 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.384e-05/1.229, allocations: 315.6 kB / 0.8805 GB, free: 164.8 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.829e-05/1.229, allocations: 186.1 kB / 0.8806 GB, free: 164.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.388e-05/1.229, allocations: 184.2 kB / 0.8808 GB, free: 164.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/1.229, allocations: 109 kB / 0.8809 GB, free: 164.3 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/1.229, allocations: 176.3 kB / 0.8811 GB, free: 164.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/1.229, allocations: 104.9 kB / 0.8812 GB, free: 164 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.123e-05/1.229, allocations: 95.22 kB / 0.8813 GB, free: 163.9 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.6e-07/1.229, allocations: 0 / 0.8813 GB, free: 163.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002607/1.23, allocations: 31.94 kB / 0.8813 GB, free: 163.9 MB / 0.5886 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.0002298/1.23, allocations: 230.4 kB / 0.8815 GB, free: 163.7 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.854e-05/1.23, allocations: 12 kB / 0.8815 GB, free: 163.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.23, allocations: 3.938 kB / 0.8815 GB, free: 163.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/1.23, allocations: 0 / 0.8815 GB, free: 163.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/1.23, allocations: 0.517 MB / 0.882 GB, free: 163.1 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002323/1.23, allocations: 192.5 kB / 0.8822 GB, free: 162.9 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/1.231, allocations: 0.677 MB / 0.8829 GB, free: 162.2 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.103e-05/1.231, allocations: 14.45 kB / 0.8829 GB, free: 162.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.731e-05/1.231, allocations: 7.438 kB / 0.8829 GB, free: 162.2 MB / 0.5886 GB Notification: Performance of SimCode: time 2e-07/1.231, allocations: 3.938 kB / 0.8829 GB, free: 162.2 MB / 0.5886 GB Notification: Performance of Templates: time 0.003249/1.234, allocations: 1.123 MB / 0.884 GB, free: 161.1 MB / 0.5886 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)