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 2.796/2.796, allocations: 287.5 MB / 302.4 MB, free: 8.297 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.001293/0.001293, allocations: 181.2 kB / 371 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.278/2.278, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.0008899/0.0008898, allocations: 93.61 kB / 0.743 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004775, allocations: 11.92 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2142, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004669/0.2189, allocations: 3.556 MB / 0.9818 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002098/0.2192, allocations: 143.6 kB / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.423e-05/0.2192, allocations: 4 kB / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.247e-05/0.2193, allocations: 0 / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.589e-05/0.2194, allocations: 15.91 kB / 0.982 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002878/0.2197, allocations: 51.8 kB / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.813e-05/0.2198, allocations: 47.83 kB / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.2199, allocations: 0 / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.869e-05/0.2199, allocations: 11.98 kB / 0.9821 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.798e-05/0.22, allocations: 15.92 kB / 0.9821 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.22, allocations: 4 kB / 0.9821 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.2202, allocations: 31.91 kB / 0.9821 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.259e-05/0.2203, allocations: 3.984 kB / 0.9821 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.171e-05/0.2203, allocations: 33.7 kB / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.2204, allocations: 24.27 kB / 0.9822 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2205, allocations: 0 / 0.9822 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2205, allocations: 0 / 0.9822 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.2205, allocations: 0 / 0.9822 GB, free: 24.37 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.0003269/0.2208, allocations: 331.4 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.2209, allocations: 12.03 kB / 0.9825 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.2209, allocations: 7.859 kB / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.123e-05/0.221, allocations: 167 kB / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.598e-05/0.2211, allocations: 29.7 kB / 0.9827 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.2211, allocations: 0 / 0.9827 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.2212, allocations: 41.69 kB / 0.9827 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.2213, allocations: 3.938 kB / 0.9828 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.2213, allocations: 4 kB / 0.9828 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.2213, allocations: 7.953 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.251e-05/0.2214, allocations: 11.98 kB / 0.9828 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.2218, allocations: 338 kB / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.547e-05/0.2218, allocations: 22.52 kB / 0.9831 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.559e-05/0.2219, allocations: 4.859 kB / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.352e-05/0.222, allocations: 85.16 kB / 0.9832 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.222, allocations: 46.5 kB / 0.9832 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.483e-06/0.222, allocations: 0 / 0.9832 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001365/0.2222, allocations: 37.64 kB / 0.9833 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.19e-05/0.2222, allocations: 51.41 kB / 0.9833 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.053e-05/0.2223, allocations: 109.8 kB / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.2223, allocations: 25.7 kB / 0.9835 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.01e-05/0.2223, allocations: 84.05 kB / 0.9835 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.603e-06/0.2223, allocations: 3.906 kB / 0.9835 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.2224, allocations: 4.125 kB / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.448e-05/0.2224, allocations: 322.8 kB / 0.9839 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.772e-05/0.2225, allocations: 3.984 kB / 0.9839 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.844e-05/0.2225, allocations: 13.72 kB / 0.9839 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.655e-05/0.2225, allocations: 8 kB / 0.9839 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2225, allocations: 0 / 0.9839 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.63e-05/0.2226, allocations: 49.62 kB / 0.9839 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.2227, allocations: 8 kB / 0.9839 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2227, allocations: 7.938 kB / 0.9839 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.2227, allocations: 0 / 0.9839 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.697e-05/0.2228, allocations: 11.98 kB / 0.984 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.2228, allocations: 4 kB / 0.984 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.583e-05/0.2228, allocations: 0 / 0.984 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.2228, allocations: 0 / 0.984 GB, free: 22.29 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.612e-05/0.2229, allocations: 109.8 kB / 0.9841 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.2229, allocations: 4.062 kB / 0.9841 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.975e-05/0.223, allocations: 124.9 kB / 0.9842 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.156e-05/0.2231, allocations: 180.2 kB / 0.9844 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-05/0.2231, allocations: 180.2 kB / 0.9845 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.301e-05/0.2232, allocations: 180.3 kB / 0.9847 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.2234, allocations: 413.1 kB / 0.9851 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.937e-05/0.2234, allocations: 105 kB / 0.9852 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.907e-05/0.2234, allocations: 101 kB / 0.9853 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.291e-05/0.2235, allocations: 184.2 kB / 0.9855 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.214e-05/0.2235, allocations: 176.3 kB / 0.9856 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.148e-05/0.2235, allocations: 184.2 kB / 0.9858 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.309e-05/0.2236, allocations: 188.2 kB / 0.986 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.438e-05/0.2237, allocations: 307.7 kB / 0.9863 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.558e-05/0.2237, allocations: 182.1 kB / 0.9865 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.96e-05/0.2238, allocations: 188.2 kB / 0.9866 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.224, allocations: 117 kB / 0.9868 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.224, allocations: 184.2 kB / 0.9869 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.224, allocations: 104.9 kB / 0.987 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.072e-05/0.2241, allocations: 87.27 kB / 0.9871 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2241, allocations: 4 kB / 0.9871 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003174/0.2244, allocations: 15.94 kB / 0.9871 GB, free: 18.82 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.0001546/0.2246, allocations: 190.5 kB / 0.9873 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.925e-05/0.2247, allocations: 4 kB / 0.9873 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2247, allocations: 0 / 0.9873 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.166e-06/0.2247, allocations: 3.938 kB / 0.9873 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.2251, allocations: 0.5246 MB / 0.9878 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002298/0.2254, allocations: 188 kB / 0.988 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.2255, allocations: 0.677 MB / 0.9887 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.118e-05/0.2256, allocations: 7.938 kB / 0.9887 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.113e-05/0.2256, allocations: 15.44 kB / 0.9887 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of SimCode: time 6.71e-07/0.2256, allocations: 0 / 0.9887 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of Templates: time 0.003014/0.2286, allocations: 0.5096 MB / 0.9892 GB, free: 16.64 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)