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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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.001237/0.001237, allocations: 169.8 kB / 16.76 MB, free: 4.938 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.5242/0.5242, allocations: 86.28 MB / 103.8 MB, free: 14.55 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.428/1.428, allocations: 223.3 MB / 348.4 MB, free: 5.016 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.0007994/0.0007995, allocations: 97.75 kB / 420.2 MB, free: 9.641 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003853, allocations: 12 kB / 0.4901 GB, free: 7.996 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3899, allocations: 71.01 MB / 0.5594 GB, free: 43.66 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6147/1.005, allocations: 305.2 MB / 0.8575 GB, free: 6.523 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/1.005, allocations: 81.56 kB / 0.8576 GB, free: 6.48 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02062/1.026, allocations: 9.19 MB / 0.8665 GB, free: 15.01 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.386e-06/1.026, allocations: 4 kB / 0.8665 GB, free: 15.01 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.995e-06/1.026, allocations: 0 / 0.8665 GB, free: 15.01 MB / 0.5573 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.0004331/1.026, allocations: 347.1 kB / 0.8669 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/1.026, allocations: 8.031 kB / 0.8669 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/1.026, allocations: 4.875 kB / 0.8669 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/1.026, allocations: 168.3 kB / 0.867 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.924e-05/1.026, allocations: 33.81 kB / 0.8671 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/1.026, allocations: 384 / 0.8671 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/1.027, allocations: 42.25 kB / 0.8671 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/1.027, allocations: 7.938 kB / 0.8671 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/1.027, allocations: 0 / 0.8671 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/1.027, allocations: 0 / 0.8671 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.204e-05/1.027, allocations: 15.67 kB / 0.8671 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007349/1.028, allocations: 0.5812 MB / 0.8677 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.056e-05/1.028, allocations: 22.14 kB / 0.8677 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.638e-05/1.028, allocations: 8.859 kB / 0.8677 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002477/1.028, allocations: 347.5 kB / 0.8681 GB, free: 13.17 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/1.028, allocations: 34.56 kB / 0.8681 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.253e-06/1.028, allocations: 0 / 0.8681 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001567/1.028, allocations: 37.62 kB / 0.8681 GB, free: 13.08 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/1.028, allocations: 51.41 kB / 0.8682 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.276e-05/1.028, allocations: 113.8 kB / 0.8683 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/1.028, allocations: 25.7 kB / 0.8683 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.422e-05/1.028, allocations: 88.03 kB / 0.8684 GB, free: 12.78 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 7.144e-06/1.028, allocations: 3.312 kB / 0.8684 GB, free: 12.78 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/1.028, allocations: 4 kB / 0.8684 GB, free: 12.78 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001212/1.028, allocations: 314.8 kB / 0.8687 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.257e-05/1.028, allocations: 0 / 0.8687 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.481e-05/1.028, allocations: 21.58 kB / 0.8687 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.986e-05/1.029, allocations: 29.59 kB / 0.8688 GB, free: 12.4 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.029, allocations: 0 / 0.8688 GB, free: 12.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.415e-05/1.029, allocations: 49.47 kB / 0.8688 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/1.029, allocations: 9.875 kB / 0.8688 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/1.029, allocations: 0 / 0.8688 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/1.029, allocations: 4 kB / 0.8688 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.922e-05/1.029, allocations: 7.938 kB / 0.8688 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/1.029, allocations: 0 / 0.8688 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.137e-05/1.029, allocations: 8.062 kB / 0.8688 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/1.029, allocations: 0 / 0.8688 GB, free: 12.32 MB / 0.5573 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.221e-05/1.029, allocations: 121.6 kB / 0.869 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/1.029, allocations: 288 / 0.869 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/1.029, allocations: 113 kB / 0.8691 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.317e-05/1.029, allocations: 187.5 kB / 0.8692 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.433e-05/1.029, allocations: 184.2 kB / 0.8694 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.029e-05/1.029, allocations: 180.2 kB / 0.8696 GB, free: 11.52 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/1.029, allocations: 408.7 kB / 0.87 GB, free: 11.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.401e-05/1.03, allocations: 101 kB / 0.8701 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.232e-05/1.03, allocations: 108.9 kB / 0.8702 GB, free: 10.85 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.129e-05/1.03, allocations: 182.8 kB / 0.8703 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.338e-05/1.03, allocations: 184.3 kB / 0.8705 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.964e-05/1.03, allocations: 183.9 kB / 0.8707 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.567e-05/1.03, allocations: 180.3 kB / 0.8709 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/1.03, allocations: 311.3 kB / 0.8712 GB, free: 9.785 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.183e-05/1.03, allocations: 189.9 kB / 0.8714 GB, free: 9.574 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.424e-05/1.03, allocations: 180.3 kB / 0.8715 GB, free: 9.391 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/1.03, allocations: 109 kB / 0.8716 GB, free: 9.277 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.949e-05/1.03, allocations: 183.6 kB / 0.8718 GB, free: 9.094 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/1.03, allocations: 101 kB / 0.8719 GB, free: 8.988 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.654e-05/1.031, allocations: 83.28 kB / 0.872 GB, free: 8.906 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/1.031, allocations: 0 / 0.872 GB, free: 8.906 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003051/1.031, allocations: 43.36 kB / 0.872 GB, free: 8.867 MB / 0.5573 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.0002767/1.031, allocations: 230.4 kB / 0.8722 GB, free: 8.629 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 6.808e-05/1.031, allocations: 11.81 kB / 0.8722 GB, free: 8.621 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.031, allocations: 3.938 kB / 0.8723 GB, free: 8.617 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.464e-06/1.031, allocations: 0 / 0.8723 GB, free: 8.617 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/1.032, allocations: 0.5274 MB / 0.8728 GB, free: 8.09 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002814/1.032, allocations: 195.3 kB / 0.873 GB, free: 7.871 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/1.032, allocations: 0.6731 MB / 0.8736 GB, free: 7.172 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.501e-05/1.032, allocations: 4 kB / 0.8736 GB, free: 7.168 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.91e-05/1.032, allocations: 11.44 kB / 0.8736 GB, free: 7.156 MB / 0.5573 GB Notification: Performance of SimCode: time 6.51e-07/1.032, allocations: 4 kB / 0.8736 GB, free: 7.152 MB / 0.5573 GB Notification: Performance of Templates: time 0.003434/1.036, allocations: 1.123 MB / 0.8747 GB, free: 6.078 MB / 0.5573 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)