Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.719/1.719, allocations: 288.3 MB / 303.2 MB, free: 8.18 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.001104/0.001105, allocations: 183.6 kB / 371.8 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.592/1.592, allocations: 205.4 MB / 0.6306 GB, free: 10.01 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.0009575/0.0009576, allocations: 110.8 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004394/0.0004394, allocations: 14.5 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3151, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001996/0.3172, allocations: 1.45 MB / 0.9808 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002704/0.3175, allocations: 123.7 kB / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.636e-05/0.3176, allocations: 4 kB / 0.9809 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.262e-05/0.3176, allocations: 11.86 kB / 0.981 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000154/0.3178, allocations: 59.86 kB / 0.981 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001289/0.3179, allocations: 23.97 kB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.3181, allocations: 119.7 kB / 0.9812 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.3183, allocations: 25.06 kB / 0.9812 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.698e-05/0.3184, allocations: 51.78 kB / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.3185, allocations: 55.77 kB / 0.9813 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.143e-05/0.3185, allocations: 4 kB / 0.9813 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.435e-05/0.3185, allocations: 8 kB / 0.9813 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.316e-05/0.3186, allocations: 15.91 kB / 0.9813 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.671e-05/0.3186, allocations: 49.64 kB / 0.9814 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.3188, allocations: 76.08 kB / 0.9814 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3188, allocations: 0 / 0.9814 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.865e-06/0.3188, allocations: 0 / 0.9814 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.3188, allocations: 0 / 0.9814 GB, free: 25.63 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007838/0.3196, allocations: 454.7 kB / 0.9819 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.3196, allocations: 8.031 kB / 0.9819 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.3197, allocations: 15.91 kB / 0.9819 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.3199, allocations: 208 kB / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.32, allocations: 4 kB / 0.9821 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.32, allocations: 15.98 kB / 0.9821 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002899/0.3203, allocations: 117.1 kB / 0.9822 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.3203, allocations: 4 kB / 0.9822 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.3203, allocations: 8 kB / 0.9822 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.3204, allocations: 0 / 0.9822 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002779/0.3206, allocations: 107.9 kB / 0.9823 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006966/0.3213, allocations: 484.7 kB / 0.9828 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003497/0.3217, allocations: 137.3 kB / 0.9829 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/0.3218, allocations: 4 kB / 0.9829 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.3218, allocations: 30.56 kB / 0.983 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.3218, allocations: 0 / 0.983 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0005624/0.3224, allocations: 209.5 kB / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.3224, allocations: 81.06 kB / 0.9832 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.3225, allocations: 170.9 kB / 0.9834 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.3226, allocations: 29.7 kB / 0.9834 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.3226, allocations: 112.1 kB / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.3227, allocations: 23.66 kB / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-06/0.3227, allocations: 8 kB / 0.9836 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.3228, allocations: 322.8 kB / 0.9839 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.3229, allocations: 55.97 kB / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.3231, allocations: 61.69 kB / 0.984 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.3232, allocations: 51.92 kB / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3232, allocations: 0 / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000313/0.3235, allocations: 169.4 kB / 0.9842 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3236, allocations: 4 kB / 0.9842 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3236, allocations: 0 / 0.9842 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3236, allocations: 0 / 0.9842 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.3237, allocations: 27.98 kB / 0.9842 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.3238, allocations: 0 / 0.9842 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.3239, allocations: 27.84 kB / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.3239, allocations: 4.188 kB / 0.9843 GB, free: 22.49 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 (10): * Single equations (assignments): 10 * 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.765e-05/0.324, allocations: 117.8 kB / 0.9844 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.489e-05/0.324, allocations: 15.84 kB / 0.9844 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003796/0.3244, allocations: 174.9 kB / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.3244, allocations: 0 / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3245, allocations: 64 / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3245, allocations: 4 kB / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.3247, allocations: 233.5 kB / 0.9848 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3247, allocations: 0 / 0.9848 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.3248, allocations: 27.98 kB / 0.9848 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3249, allocations: 0 / 0.9848 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.3249, allocations: 11.98 kB / 0.9848 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3249, allocations: 0 / 0.9848 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3249, allocations: 0 / 0.9848 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003602/0.3253, allocations: 336.3 kB / 0.9851 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.622e-05/0.3253, allocations: 88.92 kB / 0.9852 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.3253, allocations: 3.984 kB / 0.9852 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.3255, allocations: 12 kB / 0.9852 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/0.3256, allocations: 11.98 kB / 0.9852 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.3256, allocations: 7.953 kB / 0.9852 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.501e-05/0.3257, allocations: 123.2 kB / 0.9854 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3257, allocations: 0 / 0.9854 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002582/0.3259, allocations: 24 kB / 0.9854 GB, free: 21.22 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (9): * Single equations (assignments): 9 * 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.0001115/0.326, allocations: 111.2 kB / 0.9855 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003493/0.3264, allocations: 107.9 kB / 0.9856 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.3264, allocations: 4 kB / 0.9856 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.3266, allocations: 63.91 kB / 0.9857 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.327, allocations: 48.25 kB / 0.9857 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000561/0.3276, allocations: 260.1 kB / 0.986 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.3279, allocations: 0.7125 MB / 0.9867 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.354e-05/0.328, allocations: 12.66 kB / 0.9867 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.233e-05/0.328, allocations: 11.44 kB / 0.9867 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.328, allocations: 0 / 0.9867 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of Templates: time 0.004615/0.3327, allocations: 1.839 MB / 0.9885 GB, free: 18.05 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)