Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.675/1.675, allocations: 288.4 MB / 303.4 MB, free: 8.16 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.001039/0.001039, allocations: 190.6 kB / 372 MB, free: 10.29 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.622/1.622, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.0007689/0.000769, allocations: 84.33 kB / 0.7441 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004445/0.0004446, allocations: 11.5 kB / 0.8669 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2127, allocations: 115.3 MB / 0.9796 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003743/0.2165, allocations: 3.572 MB / 0.9831 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001798/0.2167, allocations: 139.6 kB / 0.9832 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.677e-05/0.2168, allocations: 0 / 0.9832 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.2169, allocations: 4 kB / 0.9832 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.887e-05/0.217, allocations: 15.92 kB / 0.9832 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.2173, allocations: 57.41 kB / 0.9833 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.695e-05/0.2174, allocations: 39.84 kB / 0.9833 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.522e-05/0.2175, allocations: 7.984 kB / 0.9833 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.789e-05/0.2175, allocations: 8 kB / 0.9833 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.101e-05/0.2176, allocations: 15.91 kB / 0.9833 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.2177, allocations: 4 kB / 0.9833 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.2178, allocations: 23.92 kB / 0.9834 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.352e-05/0.2179, allocations: 15.97 kB / 0.9834 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.173e-05/0.2179, allocations: 25.7 kB / 0.9834 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.218, allocations: 24.27 kB / 0.9834 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.2181, allocations: 8 kB / 0.9834 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2181, allocations: 0 / 0.9834 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.2181, allocations: 0 / 0.9834 GB, free: 23.72 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.0003592/0.2184, allocations: 328.7 kB / 0.9837 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.2185, allocations: 8.031 kB / 0.9837 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.2185, allocations: 11.86 kB / 0.9838 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.383e-05/0.2186, allocations: 163 kB / 0.9839 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.115e-05/0.2187, allocations: 25.7 kB / 0.9839 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.2187, allocations: 7.938 kB / 0.9839 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.2189, allocations: 53.66 kB / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.2189, allocations: 0 / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.2189, allocations: 0 / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/0.2189, allocations: 0 / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.492e-05/0.219, allocations: 23.88 kB / 0.984 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004144/0.2194, allocations: 326 kB / 0.9843 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.866e-05/0.2195, allocations: 26.52 kB / 0.9844 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.75e-05/0.2195, allocations: 8.891 kB / 0.9844 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.123e-05/0.2196, allocations: 85.17 kB / 0.9844 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.2196, allocations: 30.56 kB / 0.9845 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.2196, allocations: 0 / 0.9845 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001559/0.2198, allocations: 37.64 kB / 0.9845 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.2198, allocations: 59.34 kB / 0.9846 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.745e-05/0.2199, allocations: 105.9 kB / 0.9847 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.2199, allocations: 25.7 kB / 0.9847 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.294e-05/0.2199, allocations: 96.02 kB / 0.9848 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.613e-06/0.22, allocations: 7.906 kB / 0.9848 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.22, allocations: 0 / 0.9848 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.46e-05/0.22, allocations: 310.8 kB / 0.9851 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.372e-05/0.22, allocations: 4 kB / 0.9851 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.336e-05/0.2201, allocations: 21.7 kB / 0.9851 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.116e-05/0.2201, allocations: 8 kB / 0.9851 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2201, allocations: 0 / 0.9851 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.265e-05/0.2202, allocations: 49.62 kB / 0.9852 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2202, allocations: 4 kB / 0.9852 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.413e-06/0.2202, allocations: 0 / 0.9852 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.2202, allocations: 7.953 kB / 0.9852 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.515e-05/0.2203, allocations: 4 kB / 0.9852 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.2203, allocations: 0 / 0.9852 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.167e-05/0.2203, allocations: 4.062 kB / 0.9852 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.2204, allocations: 4 kB / 0.9852 GB, free: 21.65 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 5.36e-05/0.2204, allocations: 105.8 kB / 0.9853 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.2204, allocations: 4 kB / 0.9853 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.998e-05/0.2205, allocations: 124.9 kB / 0.9854 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.987e-05/0.2206, allocations: 180.3 kB / 0.9856 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.557e-05/0.2206, allocations: 192.1 kB / 0.9858 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.382e-05/0.2206, allocations: 180.2 kB / 0.9859 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.2208, allocations: 405.2 kB / 0.9863 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.679e-05/0.2208, allocations: 108.9 kB / 0.9864 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.369e-05/0.2208, allocations: 101 kB / 0.9865 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.949e-05/0.2209, allocations: 184.2 kB / 0.9867 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.2209, allocations: 184.3 kB / 0.9869 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.697e-05/0.2209, allocations: 176.3 kB / 0.987 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.533e-05/0.221, allocations: 184.2 kB / 0.9872 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.104e-05/0.221, allocations: 311.6 kB / 0.9875 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.544e-05/0.2211, allocations: 190.1 kB / 0.9877 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/0.2211, allocations: 184.1 kB / 0.9879 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.2213, allocations: 105 kB / 0.988 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.2213, allocations: 180.5 kB / 0.9881 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.2213, allocations: 116.9 kB / 0.9883 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.908e-05/0.2214, allocations: 87.23 kB / 0.9883 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2214, allocations: 0 / 0.9883 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002614/0.2216, allocations: 15.94 kB / 0.9884 GB, free: 18.18 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.0001381/0.2218, allocations: 186.5 kB / 0.9885 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.682e-05/0.2219, allocations: 15.98 kB / 0.9886 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2219, allocations: 0 / 0.9886 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.963e-06/0.2219, allocations: 3.938 kB / 0.9886 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.2222, allocations: 0.5226 MB / 0.9891 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002253/0.2225, allocations: 187.8 kB / 0.9892 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.2226, allocations: 0.6731 MB / 0.9899 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.829e-05/0.2227, allocations: 19.91 kB / 0.9899 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.054e-05/0.2227, allocations: 7.438 kB / 0.9899 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of SimCode: time 4.81e-07/0.2227, allocations: 0 / 0.9899 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.002696/0.2254, allocations: 0.5185 MB / 0.9904 GB, free: 15.99 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)