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.619/1.619, allocations: 288.4 MB / 303.7 MB, free: 8.086 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.0009943/0.0009942, allocations: 176.5 kB / 372.3 MB, free: 10.14 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.534/1.534, allocations: 205.4 MB / 0.631 GB, free: 9.887 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.0007081/0.0007081, allocations: 85.45 kB / 0.7444 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005246/0.0005248, allocations: 11.94 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2522, allocations: 115.3 MB / 0.9801 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003594/0.2558, allocations: 3.56 MB / 0.9836 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001469/0.256, allocations: 147.7 kB / 0.9837 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.215e-05/0.256, allocations: 7.938 kB / 0.9837 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.294e-05/0.2561, allocations: 3.984 kB / 0.9837 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.36e-05/0.2562, allocations: 11.92 kB / 0.9838 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.2565, allocations: 65.95 kB / 0.9838 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.041e-05/0.2566, allocations: 39.84 kB / 0.9839 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.758e-05/0.2566, allocations: 0 / 0.9839 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.805e-05/0.2567, allocations: 23.91 kB / 0.9839 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.452e-05/0.2568, allocations: 11.98 kB / 0.9839 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.2568, allocations: 0 / 0.9839 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.257, allocations: 71.78 kB / 0.984 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.094e-05/0.257, allocations: 15.92 kB / 0.984 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.863e-05/0.2571, allocations: 33.64 kB / 0.984 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.16e-05/0.2571, allocations: 24.27 kB / 0.984 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2571, allocations: 0 / 0.984 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2572, allocations: 0 / 0.984 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.2572, allocations: 0 / 0.984 GB, free: 23.34 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.0002903/0.2575, allocations: 327.5 kB / 0.9843 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.2575, allocations: 8.031 kB / 0.9844 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.2575, allocations: 12.84 kB / 0.9844 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.158e-05/0.2576, allocations: 168.4 kB / 0.9845 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.819e-05/0.2577, allocations: 26.27 kB / 0.9845 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.884e-06/0.2577, allocations: 4.375 kB / 0.9846 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.2578, allocations: 49.56 kB / 0.9846 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.2578, allocations: 3.938 kB / 0.9846 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.2579, allocations: 0 / 0.9846 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.2579, allocations: 4 kB / 0.9846 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.131e-05/0.2579, allocations: 15.98 kB / 0.9846 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003993/0.2583, allocations: 334 kB / 0.9849 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.015e-05/0.2584, allocations: 18.58 kB / 0.985 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.185e-05/0.2584, allocations: 8.797 kB / 0.985 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.807e-05/0.2585, allocations: 89.16 kB / 0.9851 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.2585, allocations: 38.56 kB / 0.9851 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.213e-06/0.2585, allocations: 0 / 0.9851 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001283/0.2586, allocations: 33.7 kB / 0.9851 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.968e-05/0.2587, allocations: 51.41 kB / 0.9852 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.844e-05/0.2587, allocations: 109.8 kB / 0.9853 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.2588, allocations: 25.7 kB / 0.9853 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.772e-05/0.2588, allocations: 88.05 kB / 0.9854 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.543e-06/0.2588, allocations: 7.906 kB / 0.9854 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.2588, allocations: 128 / 0.9854 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.121e-05/0.2589, allocations: 322.7 kB / 0.9857 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/0.2589, allocations: 7.984 kB / 0.9857 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.109e-05/0.2589, allocations: 17.72 kB / 0.9857 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.67e-05/0.2589, allocations: 13.72 kB / 0.9857 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2589, allocations: 0 / 0.9857 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.653e-05/0.259, allocations: 57.62 kB / 0.9858 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.259, allocations: 4 kB / 0.9858 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.259, allocations: 0 / 0.9858 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.2591, allocations: 0 / 0.9858 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.379e-05/0.2591, allocations: 7.984 kB / 0.9858 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2591, allocations: 4 kB / 0.9858 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.837e-05/0.2591, allocations: 0 / 0.9858 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.2592, allocations: 3.938 kB / 0.9858 GB, free: 21.25 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.126e-05/0.2592, allocations: 119.3 kB / 0.9859 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.2592, allocations: 4.062 kB / 0.9859 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.036e-05/0.2593, allocations: 120.9 kB / 0.986 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/0.2594, allocations: 176.3 kB / 0.9862 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-05/0.2594, allocations: 188.2 kB / 0.9864 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.187e-05/0.2594, allocations: 176.3 kB / 0.9866 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.2596, allocations: 417 kB / 0.987 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/0.2596, allocations: 105 kB / 0.9871 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.512e-05/0.2596, allocations: 101 kB / 0.9872 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.531e-05/0.2596, allocations: 184.2 kB / 0.9873 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.2597, allocations: 180.3 kB / 0.9875 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.302e-05/0.2597, allocations: 180.2 kB / 0.9877 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.27e-05/0.2597, allocations: 180.3 kB / 0.9878 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.726e-05/0.2598, allocations: 315.6 kB / 0.9881 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.45e-05/0.2598, allocations: 182.1 kB / 0.9883 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.78e-05/0.2599, allocations: 184.2 kB / 0.9885 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.26, allocations: 121 kB / 0.9886 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.26, allocations: 176.3 kB / 0.9888 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.2601, allocations: 104.9 kB / 0.9889 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3e-05/0.2601, allocations: 87.27 kB / 0.989 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2601, allocations: 0 / 0.989 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002297/0.2603, allocations: 23.94 kB / 0.989 GB, free: 17.77 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.0002097/0.2606, allocations: 198.4 kB / 0.9892 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.301e-05/0.2606, allocations: 4 kB / 0.9892 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2606, allocations: 4 kB / 0.9892 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.244e-06/0.2606, allocations: 3.938 kB / 0.9892 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.261, allocations: 0.5246 MB / 0.9897 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002195/0.2612, allocations: 183.9 kB / 0.9899 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.2613, allocations: 0.677 MB / 0.9905 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.157e-05/0.2614, allocations: 11.88 kB / 0.9905 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.578e-05/0.2614, allocations: 11.44 kB / 0.9906 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2614, allocations: 0 / 0.9906 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of Templates: time 0.002467/0.2639, allocations: 0.5214 MB / 0.9911 GB, free: 15.57 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)