Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.733/1.733, allocations: 287.5 MB / 302.6 MB, free: 8.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001064/0.001065, allocations: 168.8 kB / 371.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007025/0.0007024, allocations: 102.1 kB / 0.7432 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.0003609, allocations: 11.5 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1915, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003731/0.1953, allocations: 3.56 MB / 0.9821 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001486/0.1955, allocations: 135.7 kB / 0.9823 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.647e-05/0.1955, allocations: 3.938 kB / 0.9823 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.515e-05/0.1956, allocations: 0 / 0.9823 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.446e-05/0.1957, allocations: 19.91 kB / 0.9823 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.196, allocations: 52.98 kB / 0.9823 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.933e-05/0.1961, allocations: 47.83 kB / 0.9824 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.205e-05/0.1961, allocations: 0 / 0.9824 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.826e-05/0.1961, allocations: 19.91 kB / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.602e-05/0.1962, allocations: 8 kB / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.1963, allocations: 0 / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.1964, allocations: 31.84 kB / 0.9824 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.404e-05/0.1965, allocations: 7.984 kB / 0.9825 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.039e-05/0.1965, allocations: 33.7 kB / 0.9825 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.605e-05/0.1966, allocations: 28.27 kB / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1966, allocations: 0 / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1966, allocations: 0 / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.1966, allocations: 0 / 0.9825 GB, free: 24.23 MB / 0.6198 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.0003022/0.1969, allocations: 323.5 kB / 0.9828 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.197, allocations: 12.03 kB / 0.9828 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.197, allocations: 8.844 kB / 0.9828 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.624e-05/0.1971, allocations: 160.4 kB / 0.983 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.273e-05/0.1972, allocations: 38.25 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.1972, allocations: 384 / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.1973, allocations: 45.56 kB / 0.9831 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.1973, allocations: 0 / 0.9831 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.1973, allocations: 3.984 kB / 0.9831 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.1974, allocations: 4 kB / 0.9831 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.286e-05/0.1974, allocations: 23.92 kB / 0.9831 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003566/0.1978, allocations: 338 kB / 0.9834 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.428e-05/0.1978, allocations: 18.58 kB / 0.9834 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.454e-05/0.1978, allocations: 12.92 kB / 0.9835 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.689e-05/0.1979, allocations: 85.05 kB / 0.9835 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.1979, allocations: 34.56 kB / 0.9836 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.1979, allocations: 0 / 0.9836 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001333/0.1981, allocations: 37.81 kB / 0.9836 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.126e-05/0.1981, allocations: 55.41 kB / 0.9837 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.627e-05/0.1982, allocations: 105.8 kB / 0.9838 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.1982, allocations: 29.7 kB / 0.9838 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.805e-05/0.1982, allocations: 87.98 kB / 0.9839 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.44e-06/0.1983, allocations: 3.906 kB / 0.9839 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.1983, allocations: 0 / 0.9839 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.602e-05/0.1983, allocations: 318.8 kB / 0.9842 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.298e-05/0.1983, allocations: 7.938 kB / 0.9842 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.865e-05/0.1984, allocations: 21.7 kB / 0.9842 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.761e-05/0.1984, allocations: 17.72 kB / 0.9842 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1984, allocations: 4 kB / 0.9842 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.637e-05/0.1985, allocations: 49.62 kB / 0.9843 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.1985, allocations: 4 kB / 0.9843 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1985, allocations: 0 / 0.9843 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1985, allocations: 4.062 kB / 0.9843 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.611e-05/0.1986, allocations: 8 kB / 0.9843 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1986, allocations: 0 / 0.9843 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.939e-05/0.1986, allocations: 0 / 0.9843 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.1986, allocations: 7.984 kB / 0.9843 GB, free: 22.13 MB / 0.6198 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.512e-05/0.1987, allocations: 109.8 kB / 0.9844 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.1987, allocations: 0 / 0.9844 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.365e-05/0.1988, allocations: 124.9 kB / 0.9845 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.563e-05/0.1989, allocations: 184.5 kB / 0.9847 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-05/0.1989, allocations: 180.2 kB / 0.9849 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.316e-05/0.1989, allocations: 176.3 kB / 0.985 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.1991, allocations: 413.1 kB / 0.9854 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/0.1991, allocations: 104.9 kB / 0.9855 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.708e-05/0.1991, allocations: 105 kB / 0.9856 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.617e-05/0.1992, allocations: 188.1 kB / 0.9858 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/0.1992, allocations: 184.2 kB / 0.986 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.822e-05/0.1992, allocations: 176.3 kB / 0.9862 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.477e-05/0.1993, allocations: 180.2 kB / 0.9863 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.949e-05/0.1993, allocations: 315.6 kB / 0.9866 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.146e-05/0.1994, allocations: 190.1 kB / 0.9868 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/0.1994, allocations: 180.2 kB / 0.987 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.1996, allocations: 109 kB / 0.9871 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.1996, allocations: 180.3 kB / 0.9873 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.1996, allocations: 112.9 kB / 0.9874 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.286e-05/0.1997, allocations: 87.27 kB / 0.9875 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.11e-07/0.1997, allocations: 0 / 0.9875 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002337/0.1999, allocations: 19.94 kB / 0.9875 GB, free: 18.66 MB / 0.6198 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.0001447/0.2001, allocations: 186.5 kB / 0.9876 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.356e-05/0.2002, allocations: 8 kB / 0.9877 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2002, allocations: 8.125 kB / 0.9877 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.314e-06/0.2002, allocations: 3.938 kB / 0.9877 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.2005, allocations: 0.5185 MB / 0.9882 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002385/0.2008, allocations: 191.9 kB / 0.9884 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.2009, allocations: 0.677 MB / 0.989 GB, free: 17 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.378e-05/0.201, allocations: 4 kB / 0.989 GB, free: 17 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.799e-05/0.201, allocations: 7.438 kB / 0.989 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.201, allocations: 3.938 kB / 0.989 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of Templates: time 0.002456/0.2035, allocations: 0.5118 MB / 0.9895 GB, free: 16.48 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)