Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.203/2.203, allocations: 251.1 MB / 266.7 MB, free: 11.65 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.001279/0.001279, allocations: 180.3 kB / 326.3 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.313/2.313, allocations: 205.4 MB / 0.5772 GB, free: 20.73 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.0009357/0.0009355, allocations: 100 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004625/0.0004627, allocations: 14.77 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1942, allocations: 106.3 MB / 0.8995 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004713/0.199, allocations: 3.572 MB / 0.903 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002064/0.1992, allocations: 139.7 kB / 0.9031 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.638e-05/0.1993, allocations: 0 / 0.9031 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.614e-05/0.1994, allocations: 4 kB / 0.9031 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.423e-05/0.1995, allocations: 19.91 kB / 0.9031 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.1998, allocations: 49.06 kB / 0.9032 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.714e-05/0.1999, allocations: 51.81 kB / 0.9032 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.1999, allocations: 0 / 0.9032 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.647e-05/0.2, allocations: 15.98 kB / 0.9032 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.709e-05/0.2001, allocations: 23.86 kB / 0.9033 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.2001, allocations: 0 / 0.9033 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.2003, allocations: 23.91 kB / 0.9033 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.221e-05/0.2003, allocations: 8 kB / 0.9033 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.983e-05/0.2003, allocations: 25.7 kB / 0.9033 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.752e-05/0.2004, allocations: 27.97 kB / 0.9033 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.2005, allocations: 0 / 0.9033 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.694e-06/0.2005, allocations: 0 / 0.9033 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.2005, allocations: 0 / 0.9033 GB, free: 61.61 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.0003295/0.2008, allocations: 339.7 kB / 0.9037 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.2009, allocations: 8.031 kB / 0.9037 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/0.2009, allocations: 4.938 kB / 0.9037 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.553e-05/0.201, allocations: 172.2 kB / 0.9038 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.517e-05/0.2011, allocations: 30.27 kB / 0.9039 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.2011, allocations: 384 / 0.9039 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.2013, allocations: 45.62 kB / 0.9039 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2013, allocations: 4 kB / 0.9039 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.2013, allocations: 3.984 kB / 0.9039 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.2013, allocations: 4 kB / 0.9039 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.171e-05/0.2014, allocations: 11.98 kB / 0.9039 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.2018, allocations: 338 kB / 0.9043 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.38e-05/0.2019, allocations: 18.58 kB / 0.9043 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.578e-05/0.2019, allocations: 4.859 kB / 0.9043 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.302e-05/0.202, allocations: 93.16 kB / 0.9044 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.202, allocations: 34.56 kB / 0.9044 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.573e-06/0.202, allocations: 0 / 0.9044 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001464/0.2022, allocations: 41.55 kB / 0.9044 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.793e-05/0.2022, allocations: 51.41 kB / 0.9045 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.817e-05/0.2023, allocations: 101.8 kB / 0.9046 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.2023, allocations: 25.7 kB / 0.9046 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.016e-05/0.2024, allocations: 92.17 kB / 0.9047 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.745e-06/0.2024, allocations: 4 kB / 0.9047 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/0.2024, allocations: 3.938 kB / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.266e-05/0.2024, allocations: 318.8 kB / 0.905 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.764e-05/0.2025, allocations: 4 kB / 0.905 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.509e-05/0.2025, allocations: 17.72 kB / 0.905 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.547e-05/0.2025, allocations: 4 kB / 0.905 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2026, allocations: 4 kB / 0.905 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.002e-05/0.2027, allocations: 49.62 kB / 0.9051 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.2027, allocations: 4 kB / 0.9051 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2027, allocations: 4 kB / 0.9051 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2027, allocations: 0 / 0.9051 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.081e-05/0.2028, allocations: 7.984 kB / 0.9051 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.2028, allocations: 3.984 kB / 0.9051 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.731e-05/0.2029, allocations: 3.938 kB / 0.9051 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.2029, allocations: 4 kB / 0.9051 GB, free: 59.53 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.797e-05/0.203, allocations: 113.8 kB / 0.9052 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.203, allocations: 7.906 kB / 0.9052 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.2031, allocations: 124.9 kB / 0.9054 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.07e-05/0.2032, allocations: 180.3 kB / 0.9055 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/0.2032, allocations: 104.9 kB / 0.9056 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.2032, allocations: 182.1 kB / 0.9058 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.026e-05/0.2033, allocations: 188.2 kB / 0.906 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.2035, allocations: 112.9 kB / 0.9061 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.2035, allocations: 180.2 kB / 0.9063 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.308e-05/0.2036, allocations: 259.5 kB / 0.9065 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 9.899e-05/0.2037, allocations: 383 kB / 0.9069 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.3e-05/0.2037, allocations: 105 kB / 0.907 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.808e-05/0.2038, allocations: 87.27 kB / 0.9071 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of Backend: time 6.32e-07/0.2038, allocations: 0 / 0.9071 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004246/0.2042, allocations: 98.31 kB / 0.9071 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004336/0.2047, allocations: 0.9475 MB / 0.9081 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of Templates: time 0.002936/0.2076, allocations: 474.7 kB / 0.9085 GB, free: 55.86 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_7.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_7.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_7.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_7.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)