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/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 102.5 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 188.9 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7673/0.7673, allocations: 126.4 MB / 417.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 71.89 kB / 0.4953 GB, free: 3.086 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3948, allocations: 78.78 MB / 0.5723 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.006048/0.4009, allocations: 3.263 MB / 0.5754 GB, free: 28.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001349/0.4011, allocations: 52.06 kB / 0.5755 GB, free: 28.76 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.376e-05/0.4012, allocations: 1.062 kB / 0.5755 GB, free: 28.76 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.4013, allocations: 5.344 kB / 0.5755 GB, free: 28.76 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.936e-05/0.4014, allocations: 18.44 kB / 0.5755 GB, free: 28.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008611/0.4023, allocations: 178.9 kB / 0.5757 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.4024, allocations: 38.17 kB / 0.5757 GB, free: 28.65 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.185e-05/0.4025, allocations: 3 kB / 0.5757 GB, free: 28.65 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.551e-05/0.4025, allocations: 16 kB / 0.5757 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.894e-05/0.4026, allocations: 21.59 kB / 0.5758 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.4027, allocations: 1.375 kB / 0.5758 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005112/0.4032, allocations: 171.2 kB / 0.5759 GB, free: 28.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.484e-05/0.4033, allocations: 9.25 kB / 0.5759 GB, free: 28.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.51e-05/0.4033, allocations: 9.391 kB / 0.5759 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004529/0.4038, allocations: 135.6 kB / 0.5761 GB, free: 28.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.4038, allocations: 5.125 kB / 0.5761 GB, free: 28.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4038, allocations: 1.375 kB / 0.5761 GB, free: 28.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.4038, allocations: 1.25 kB / 0.5761 GB, free: 28.52 MB / 446.1 MB 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.0005193/0.4043, allocations: 349.6 kB / 0.5764 GB, free: 28.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.4044, allocations: 10.28 kB / 0.5764 GB, free: 28.15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.75e-05/0.4044, allocations: 2.25 kB / 0.5764 GB, free: 28.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.749e-05/0.4046, allocations: 166.6 kB / 0.5766 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.243e-05/0.4046, allocations: 29.67 kB / 0.5766 GB, free: 27.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.4047, allocations: 2.766 kB / 0.5766 GB, free: 27.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.4048, allocations: 47.59 kB / 0.5767 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.4048, allocations: 0 / 0.5767 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.4049, allocations: 3.625 kB / 0.5767 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.4049, allocations: 2.109 kB / 0.5767 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.191e-05/0.405, allocations: 12.67 kB / 0.5767 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008352/0.4058, allocations: 0.5924 MB / 0.5773 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.866e-05/0.4059, allocations: 16.23 kB / 0.5773 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.996e-05/0.4059, allocations: 8.312 kB / 0.5773 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002/0.4061, allocations: 347.5 kB / 0.5776 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.4061, allocations: 33.52 kB / 0.5776 GB, free: 26.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.4061, allocations: 0 / 0.5776 GB, free: 26.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001698/0.4063, allocations: 37.22 kB / 0.5777 GB, free: 26.72 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.4064, allocations: 56.95 kB / 0.5777 GB, free: 26.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.291e-05/0.4064, allocations: 107.7 kB / 0.5778 GB, free: 26.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.4065, allocations: 27.48 kB / 0.5779 GB, free: 26.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.168e-05/0.4065, allocations: 85.88 kB / 0.578 GB, free: 26.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.397e-06/0.4065, allocations: 9.828 kB / 0.578 GB, free: 26.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.4065, allocations: 17.25 kB / 0.578 GB, free: 26.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.821e-05/0.4066, allocations: 316.7 kB / 0.5783 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.928e-05/0.4066, allocations: 6.75 kB / 0.5783 GB, free: 26.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.59e-05/0.4067, allocations: 15.77 kB / 0.5783 GB, free: 26.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.487e-05/0.4067, allocations: 26.73 kB / 0.5783 GB, free: 26.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4067, allocations: 0 / 0.5783 GB, free: 26.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.169e-05/0.4068, allocations: 43.5 kB / 0.5784 GB, free: 26.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.4069, allocations: 4.969 kB / 0.5784 GB, free: 26.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.4069, allocations: 0.5625 kB / 0.5784 GB, free: 26.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.4069, allocations: 3.797 kB / 0.5784 GB, free: 26.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.974e-05/0.407, allocations: 10.11 kB / 0.5784 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.407, allocations: 4.5 kB / 0.5784 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.298e-05/0.407, allocations: 1.469 kB / 0.5784 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.407, allocations: 1.75 kB / 0.5784 GB, free: 26.01 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.324e-05/0.4071, allocations: 115.6 kB / 0.5785 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.4071, allocations: 3.156 kB / 0.5785 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.4072, allocations: 127.5 kB / 0.5786 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.671e-05/0.4073, allocations: 182.2 kB / 0.5788 GB, free: 25.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-05/0.4073, allocations: 178.1 kB / 0.579 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.265e-05/0.4074, allocations: 180 kB / 0.5791 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.4075, allocations: 416.2 kB / 0.5795 GB, free: 24.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.9e-05/0.4076, allocations: 104.7 kB / 0.5796 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.921e-05/0.4076, allocations: 104.9 kB / 0.5797 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-05/0.4076, allocations: 179.6 kB / 0.5799 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/0.4077, allocations: 179.6 kB / 0.5801 GB, free: 24.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.684e-05/0.4077, allocations: 181.5 kB / 0.5803 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.371e-05/0.4077, allocations: 185 kB / 0.5804 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.4079, allocations: 308.8 kB / 0.5807 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.257e-05/0.4079, allocations: 185.3 kB / 0.5809 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/0.408, allocations: 186.5 kB / 0.5811 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.4081, allocations: 105 kB / 0.5812 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.4082, allocations: 186.3 kB / 0.5814 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.4082, allocations: 107.3 kB / 0.5815 GB, free: 22.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.402e-05/0.4082, allocations: 86.61 kB / 0.5815 GB, free: 22.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4082, allocations: 0 / 0.5815 GB, free: 22.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003752/0.4086, allocations: 34.53 kB / 0.5816 GB, free: 22.62 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003156/0.4089, allocations: 241.2 kB / 0.5818 GB, free: 22.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.578e-05/0.409, allocations: 12.75 kB / 0.5818 GB, free: 22.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.4091, allocations: 0.5625 kB / 0.5818 GB, free: 22.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.4091, allocations: 0 / 0.5818 GB, free: 22.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.4095, allocations: 462.5 kB / 0.5823 GB, free: 21.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003153/0.4098, allocations: 185.6 kB / 0.5824 GB, free: 21.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.4099, allocations: 0.6812 MB / 0.5831 GB, free: 21.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.179e-05/0.41, allocations: 7.031 kB / 0.5831 GB, free: 21.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.41, allocations: 10.09 kB / 0.5831 GB, free: 21.09 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.41, allocations: 0 / 0.5831 GB, free: 21.09 MB / 446.1 MB Notification: Performance of Templates: time 0.00413/0.4142, allocations: 1.215 MB / 0.5843 GB, free: 20.61 MB / 446.1 MB 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)