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.726/1.726, allocations: 288.3 MB / 303.2 MB, free: 8.223 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.001295/0.001295, allocations: 179.2 kB / 371.8 MB, free: 10.26 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.801/1.801, allocations: 205.4 MB / 0.6306 GB, free: 9.953 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.0009999/0.0009996, allocations: 97.11 kB / 0.7439 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000418/0.0004182, allocations: 10.41 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2378, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00373/0.2415, allocations: 3.39 MB / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001537/0.2417, allocations: 123.7 kB / 0.9828 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.965e-05/0.2418, allocations: 0 / 0.9828 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.2419, allocations: 8 kB / 0.9828 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.622e-05/0.2419, allocations: 7.922 kB / 0.9828 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.2422, allocations: 55.89 kB / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.743e-05/0.2423, allocations: 19.91 kB / 0.9829 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.085e-05/0.2424, allocations: 0 / 0.9829 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.631e-05/0.2424, allocations: 15.98 kB / 0.9829 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.899e-05/0.2425, allocations: 4 kB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.2425, allocations: 0 / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.2427, allocations: 31.91 kB / 0.983 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.234e-05/0.2427, allocations: 12 kB / 0.983 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.2428, allocations: 33.69 kB / 0.983 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.406e-05/0.2429, allocations: 20.27 kB / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.2429, allocations: 0 / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.986e-06/0.2429, allocations: 7.922 kB / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.2429, allocations: 0 / 0.983 GB, free: 23.95 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.0003409/0.2432, allocations: 327.4 kB / 0.9834 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.2433, allocations: 8.031 kB / 0.9834 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.2433, allocations: 15.86 kB / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.746e-05/0.2434, allocations: 163.1 kB / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.934e-05/0.2435, allocations: 33.64 kB / 0.9836 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.2435, allocations: 3.938 kB / 0.9836 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.2437, allocations: 41.69 kB / 0.9836 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2437, allocations: 0 / 0.9836 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.2437, allocations: 3.984 kB / 0.9836 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.2437, allocations: 4 kB / 0.9836 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.184e-05/0.2438, allocations: 11.95 kB / 0.9836 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.2441, allocations: 334.1 kB / 0.9839 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.266e-05/0.2442, allocations: 18.52 kB / 0.984 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.881e-05/0.2443, allocations: 89.16 kB / 0.984 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.2443, allocations: 34.56 kB / 0.9841 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.2443, allocations: 0 / 0.9841 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.000135/0.2444, allocations: 37.66 kB / 0.9841 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.2445, allocations: 51.41 kB / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.699e-05/0.2445, allocations: 113.7 kB / 0.9843 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.2445, allocations: 25.7 kB / 0.9843 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.009e-05/0.2446, allocations: 84.05 kB / 0.9844 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.66e-06/0.2446, allocations: 7.906 kB / 0.9844 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.2446, allocations: 0 / 0.9844 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.502e-05/0.2447, allocations: 318.8 kB / 0.9847 GB, free: 22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.112e-05/0.2447, allocations: 128 / 0.9847 GB, free: 22 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.725e-05/0.2447, allocations: 17.72 kB / 0.9847 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.924e-05/0.2447, allocations: 11.98 kB / 0.9847 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2447, allocations: 0 / 0.9847 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.449e-05/0.2448, allocations: 49.64 kB / 0.9848 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.2448, allocations: 4 kB / 0.9848 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.2448, allocations: 0 / 0.9848 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.2449, allocations: 0 / 0.9848 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.601e-05/0.2449, allocations: 23.94 kB / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.2449, allocations: 0 / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.975e-05/0.2449, allocations: 0 / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.245, allocations: 4 kB / 0.9848 GB, free: 21.88 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 4.647e-05/0.245, allocations: 105.8 kB / 0.9849 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.245, allocations: 0 / 0.9849 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.435e-05/0.2451, allocations: 124.9 kB / 0.985 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.232e-05/0.2452, allocations: 180.3 kB / 0.9852 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.652e-05/0.2452, allocations: 188.3 kB / 0.9854 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.429e-05/0.2452, allocations: 184.5 kB / 0.9855 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.2454, allocations: 405.2 kB / 0.9859 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/0.2454, allocations: 104.9 kB / 0.986 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.766e-05/0.2454, allocations: 105 kB / 0.9861 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.487e-05/0.2454, allocations: 188.2 kB / 0.9863 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.2455, allocations: 180.3 kB / 0.9865 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.247e-05/0.2455, allocations: 180.2 kB / 0.9867 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.428e-05/0.2455, allocations: 184.2 kB / 0.9868 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.512e-05/0.2456, allocations: 315.6 kB / 0.9871 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.382e-05/0.2457, allocations: 186.1 kB / 0.9873 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.2457, allocations: 180.2 kB / 0.9875 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.2458, allocations: 108.9 kB / 0.9876 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.2459, allocations: 176.3 kB / 0.9878 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.2459, allocations: 116.9 kB / 0.9879 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.877e-05/0.2459, allocations: 87.27 kB / 0.9879 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2459, allocations: 0 / 0.9879 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000237/0.2462, allocations: 23.89 kB / 0.988 GB, free: 18.41 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.0001353/0.2463, allocations: 186.5 kB / 0.9881 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.665e-05/0.2464, allocations: 8 kB / 0.9882 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2464, allocations: 4 kB / 0.9882 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.2464, allocations: 4.125 kB / 0.9882 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.2466, allocations: 0.5263 MB / 0.9887 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002004/0.2468, allocations: 191.8 kB / 0.9889 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.247, allocations: 0.6809 MB / 0.9895 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.097e-05/0.247, allocations: 7.938 kB / 0.9895 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.722e-05/0.247, allocations: 7.438 kB / 0.9895 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.247, allocations: 0 / 0.9895 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of Templates: time 0.002244/0.2493, allocations: 0.5035 MB / 0.99 GB, free: 16.23 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)