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.796/1.796, allocations: 288.4 MB / 303.4 MB, free: 8.137 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.001937/0.001937, allocations: 180.5 kB / 372 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 2.08/2.08, allocations: 205.4 MB / 0.6307 GB, free: 9.969 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.0007455/0.0007457, allocations: 90.36 kB / 0.7441 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000561/0.0005612, allocations: 11.69 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2297, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001702/0.2314, allocations: 1.5 MB / 0.981 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002123/0.2317, allocations: 123.6 kB / 0.9812 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.856e-05/0.2318, allocations: 7.938 kB / 0.9812 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.271e-05/0.2319, allocations: 7.922 kB / 0.9812 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.762e-05/0.2319, allocations: 47.61 kB / 0.9812 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000103/0.232, allocations: 23.97 kB / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.2322, allocations: 151.1 kB / 0.9814 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.2323, allocations: 25.11 kB / 0.9814 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.9e-05/0.2324, allocations: 43.84 kB / 0.9814 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.247e-05/0.2324, allocations: 63.75 kB / 0.9815 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.2325, allocations: 4 kB / 0.9815 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.231e-05/0.2325, allocations: 8 kB / 0.9815 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.599e-05/0.2325, allocations: 15.91 kB / 0.9815 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.2326, allocations: 49.64 kB / 0.9816 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.003e-05/0.2327, allocations: 76.08 kB / 0.9817 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2327, allocations: 3.938 kB / 0.9817 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.205e-06/0.2327, allocations: 4 kB / 0.9817 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.699e-06/0.2327, allocations: 0 / 0.9817 GB, free: 25.5 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.0006342/0.2333, allocations: 446.7 kB / 0.9821 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.2334, allocations: 12.03 kB / 0.9821 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.2334, allocations: 11.91 kB / 0.9821 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.2336, allocations: 208 kB / 0.9823 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.2336, allocations: 4 kB / 0.9823 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.2337, allocations: 8 kB / 0.9823 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.2339, allocations: 123.3 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.234, allocations: 3.938 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.234, allocations: 4 kB / 0.9824 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.234, allocations: 4 kB / 0.9825 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002777/0.2343, allocations: 107.9 kB / 0.9826 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005726/0.2348, allocations: 472.7 kB / 0.983 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003192/0.2352, allocations: 141.2 kB / 0.9831 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.2353, allocations: 77.77 kB / 0.9832 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.2354, allocations: 4 kB / 0.9832 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.2354, allocations: 34.5 kB / 0.9832 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.2354, allocations: 0 / 0.9832 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0005259/0.2359, allocations: 205.4 kB / 0.9834 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.236, allocations: 81.06 kB / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.2361, allocations: 174.9 kB / 0.9837 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.2361, allocations: 29.7 kB / 0.9837 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/0.2361, allocations: 112.2 kB / 0.9838 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.2362, allocations: 27.72 kB / 0.9839 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-06/0.2362, allocations: 4 kB / 0.9839 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.707e-05/0.2362, allocations: 322.8 kB / 0.9842 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.2364, allocations: 55.95 kB / 0.9842 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.2365, allocations: 65.62 kB / 0.9843 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.2367, allocations: 51.98 kB / 0.9843 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2367, allocations: 0 / 0.9843 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003157/0.237, allocations: 157.4 kB / 0.9845 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.237, allocations: 8 kB / 0.9845 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.2371, allocations: 0 / 0.9845 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.2371, allocations: 4 kB / 0.9845 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.2372, allocations: 31.86 kB / 0.9845 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2372, allocations: 3.953 kB / 0.9845 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.2374, allocations: 23.89 kB / 0.9845 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.2374, allocations: 0 / 0.9845 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 (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 7.063e-05/0.2375, allocations: 117.8 kB / 0.9847 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.594e-05/0.2375, allocations: 11.91 kB / 0.9847 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003714/0.2379, allocations: 178.5 kB / 0.9848 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2379, allocations: 0 / 0.9848 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.2379, allocations: 4 kB / 0.9848 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.2379, allocations: 3.953 kB / 0.9848 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.2381, allocations: 217.9 kB / 0.9851 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2381, allocations: 0 / 0.9851 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.2383, allocations: 31.92 kB / 0.9851 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.2383, allocations: 8 kB / 0.9851 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.2383, allocations: 7.984 kB / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2383, allocations: 0 / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2383, allocations: 0 / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.2386, allocations: 330.7 kB / 0.9854 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.034e-05/0.2387, allocations: 88.92 kB / 0.9855 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.2387, allocations: 0 / 0.9855 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.2389, allocations: 15.98 kB / 0.9855 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.2389, allocations: 11.98 kB / 0.9855 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.2389, allocations: 4 kB / 0.9855 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.203e-05/0.239, allocations: 119.2 kB / 0.9856 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.9e-07/0.239, allocations: 4 kB / 0.9857 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002437/0.2393, allocations: 28 kB / 0.9857 GB, free: 21.04 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 8.527e-05/0.2394, allocations: 103.2 kB / 0.9858 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000323/0.2397, allocations: 119.9 kB / 0.9859 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2397, allocations: 0 / 0.9859 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.2398, allocations: 59.91 kB / 0.9859 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.2403, allocations: 45.47 kB / 0.986 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004168/0.2407, allocations: 256.4 kB / 0.9862 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.2408, allocations: 0.7048 MB / 0.9869 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.458e-05/0.2409, allocations: 12.64 kB / 0.9869 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/0.241, allocations: 15.53 kB / 0.9869 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.241, allocations: 3.938 kB / 0.987 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of Templates: time 0.003711/0.2447, allocations: 1.839 MB / 0.9887 GB, free: 17.88 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)