Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.41/1.41, allocations: 252 MB / 268 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009939/0.000994, allocations: 174.6 kB / 327.6 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.809/1.809, allocations: 205.4 MB / 0.5786 GB, free: 20.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007708/0.0007711, allocations: 86.38 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003396, allocations: 9.438 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1929, allocations: 106.3 MB / 0.9014 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003681/0.1966, allocations: 3.703 MB / 0.905 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001451/0.1968, allocations: 147.6 kB / 0.9052 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.88e-05/0.1968, allocations: 0 / 0.9052 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.204e-05/0.197, allocations: 7.938 kB / 0.9052 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.256e-05/0.197, allocations: 11.98 kB / 0.9052 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.1973, allocations: 70.77 kB / 0.9053 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.012e-05/0.1974, allocations: 59.77 kB / 0.9053 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.398e-05/0.1974, allocations: 3.984 kB / 0.9053 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.443e-05/0.1975, allocations: 15.92 kB / 0.9053 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.787e-05/0.1975, allocations: 11.98 kB / 0.9054 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.1976, allocations: 0 / 0.9054 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.1978, allocations: 75.78 kB / 0.9054 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.84e-05/0.1978, allocations: 11.92 kB / 0.9054 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.262e-05/0.1978, allocations: 33.7 kB / 0.9055 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.292e-05/0.1979, allocations: 27.98 kB / 0.9055 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.198, allocations: 0 / 0.9055 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.214e-06/0.198, allocations: 0 / 0.9055 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.198, allocations: 3.938 kB / 0.9055 GB, free: 59.31 MB / 0.6042 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.0003164/0.1983, allocations: 327.8 kB / 0.9058 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.1983, allocations: 15.97 kB / 0.9058 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.1984, allocations: 4.938 kB / 0.9058 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.565e-05/0.1985, allocations: 172.3 kB / 0.906 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.334e-05/0.1985, allocations: 34.27 kB / 0.906 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.988e-06/0.1986, allocations: 384 / 0.906 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.1987, allocations: 45.62 kB / 0.9061 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1987, allocations: 0 / 0.9061 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1987, allocations: 0 / 0.9061 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.1987, allocations: 4 kB / 0.9061 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.346e-05/0.1988, allocations: 15.92 kB / 0.9061 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.1992, allocations: 337.9 kB / 0.9064 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 2.923e-05/0.1992, allocations: 18.58 kB / 0.9064 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.493e-05/0.1992, allocations: 12.92 kB / 0.9064 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.531e-05/0.1993, allocations: 85.09 kB / 0.9065 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.1993, allocations: 30.56 kB / 0.9066 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1993, allocations: 0 / 0.9066 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001341/0.1995, allocations: 37.64 kB / 0.9066 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.216e-05/0.1995, allocations: 55.53 kB / 0.9066 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.849e-05/0.1996, allocations: 101.8 kB / 0.9067 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.1996, allocations: 29.7 kB / 0.9068 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.783e-05/0.1996, allocations: 84.05 kB / 0.9069 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.698e-06/0.1996, allocations: 4 kB / 0.9069 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.1997, allocations: 0 / 0.9069 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.488e-05/0.1997, allocations: 318.8 kB / 0.9072 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.197e-05/0.1997, allocations: 4 kB / 0.9072 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.729e-05/0.1997, allocations: 17.72 kB / 0.9072 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.73e-05/0.1998, allocations: 25.66 kB / 0.9072 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1998, allocations: 0 / 0.9072 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.067e-05/0.1998, allocations: 45.69 kB / 0.9072 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1999, allocations: 4 kB / 0.9073 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1999, allocations: 0 / 0.9073 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.1999, allocations: 8 kB / 0.9073 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.332e-05/0.1999, allocations: 15.92 kB / 0.9073 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.2, allocations: 0 / 0.9073 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.935e-05/0.2, allocations: 7.844 kB / 0.9073 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.2, allocations: 4 kB / 0.9073 GB, free: 57.21 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.14e-05/0.2001, allocations: 117.7 kB / 0.9074 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.2001, allocations: 4 kB / 0.9074 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.611e-05/0.2002, allocations: 117 kB / 0.9075 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-05/0.2002, allocations: 188.2 kB / 0.9077 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.212e-05/0.2003, allocations: 176.3 kB / 0.9079 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.357e-05/0.2003, allocations: 184.2 kB / 0.908 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.2004, allocations: 405.2 kB / 0.9084 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.655e-05/0.2004, allocations: 101 kB / 0.9085 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.73e-05/0.2005, allocations: 116.9 kB / 0.9086 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.293e-05/0.2005, allocations: 180.3 kB / 0.9088 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.2005, allocations: 180.2 kB / 0.909 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.085e-05/0.2006, allocations: 176.3 kB / 0.9091 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.549e-05/0.2006, allocations: 176.5 kB / 0.9093 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.221e-05/0.2007, allocations: 319.7 kB / 0.9096 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.615e-05/0.2007, allocations: 186 kB / 0.9098 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/0.2007, allocations: 180.2 kB / 0.91 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.2009, allocations: 113 kB / 0.9101 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.2009, allocations: 188.2 kB / 0.9103 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.2009, allocations: 105 kB / 0.9104 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.795e-05/0.201, allocations: 83.27 kB / 0.9104 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.201, allocations: 0 / 0.9104 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002207/0.2012, allocations: 20 kB / 0.9105 GB, free: 53.75 MB / 0.6042 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 (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.0001806/0.2014, allocations: 194.4 kB / 0.9106 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.523e-05/0.2015, allocations: 15.94 kB / 0.9107 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2015, allocations: 0 / 0.9107 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.2015, allocations: 0 / 0.9107 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.2018, allocations: 0.5245 MB / 0.9112 GB, free: 53 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002136/0.202, allocations: 229.5 kB / 0.9114 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.2021, allocations: 0.6731 MB / 0.912 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.992e-05/0.2021, allocations: 11.44 kB / 0.9121 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/0.2021, allocations: 0 / 0.9121 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of Templates: time 0.001962/0.2041, allocations: 0.7264 MB / 0.9128 GB, free: 51.31 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)