Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.345/1.345, allocations: 252 MB / 267.9 MB, free: 10.94 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 184.4 kB / 327.6 MB, free: 2.176 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 205.4 MB / 0.5785 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007451/0.0007451, allocations: 83.94 kB / 0.6831 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003976/0.0003976, allocations: 15 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2008, allocations: 106.3 MB / 0.9012 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1547/0.3556, allocations: 132.3 MB / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.3558, allocations: 75.95 kB / 1.031 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00486/0.3607, allocations: 1.871 MB / 1.032 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.943e-06/0.3607, allocations: 0 / 1.032 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.3608, allocations: 0 / 1.032 GB, free: 9.273 MB / 0.6823 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.0005941/0.3614, allocations: 444 kB / 1.033 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.3614, allocations: 8.031 kB / 1.033 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.3615, allocations: 16.75 kB / 1.033 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.3617, allocations: 204.7 kB / 1.033 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.3617, allocations: 12.31 kB / 1.033 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.3617, allocations: 4.375 kB / 1.033 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.362, allocations: 131.8 kB / 1.033 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.362, allocations: 192 / 1.033 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.362, allocations: 3.938 kB / 1.033 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.362, allocations: 0 / 1.033 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002919/0.3623, allocations: 119.9 kB / 1.033 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006765/0.363, allocations: 468.8 kB / 1.034 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003389/0.3634, allocations: 133.2 kB / 1.034 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.3636, allocations: 69.78 kB / 1.034 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.3636, allocations: 8.062 kB / 1.034 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.3636, allocations: 34.5 kB / 1.034 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.3636, allocations: 4 kB / 1.034 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0005369/0.3642, allocations: 201.4 kB / 1.034 GB, free: 7.258 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.3642, allocations: 81.05 kB / 1.034 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.3644, allocations: 175.5 kB / 1.034 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.3644, allocations: 25.7 kB / 1.034 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.041e-05/0.3645, allocations: 108 kB / 1.035 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.3645, allocations: 27.56 kB / 1.035 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-06/0.3645, allocations: 4 kB / 1.035 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.3646, allocations: 330.8 kB / 1.035 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.3648, allocations: 51.97 kB / 1.035 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.3649, allocations: 61.69 kB / 1.035 GB, free: 6.359 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002631/0.3652, allocations: 117.6 kB / 1.035 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3652, allocations: 0 / 1.035 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003316/0.3655, allocations: 161.8 kB / 1.035 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3656, allocations: 4 kB / 1.035 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.3656, allocations: 64 / 1.035 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.3656, allocations: 4 kB / 1.035 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.3657, allocations: 39.86 kB / 1.035 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.3658, allocations: 0 / 1.035 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.3659, allocations: 19.89 kB / 1.035 GB, free: 6.008 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.3659, allocations: 7.938 kB / 1.035 GB, free: 6 MB / 0.6823 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.447e-05/0.366, allocations: 113.8 kB / 1.035 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/0.366, allocations: 12.09 kB / 1.035 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003988/0.3665, allocations: 190.5 kB / 1.036 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3665, allocations: 7.938 kB / 1.036 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3665, allocations: 0 / 1.036 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3665, allocations: 0 / 1.036 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.3668, allocations: 217.5 kB / 1.036 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3668, allocations: 0 / 1.036 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.3669, allocations: 27.98 kB / 1.036 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3669, allocations: 0 / 1.036 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.3669, allocations: 4 kB / 1.036 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.3669, allocations: 7.922 kB / 1.036 GB, free: 5.367 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.367, allocations: 4 kB / 1.036 GB, free: 5.363 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.3673, allocations: 326.6 kB / 1.036 GB, free: 5.027 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.3674, allocations: 88.92 kB / 1.036 GB, free: 4.922 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.3674, allocations: 0 / 1.036 GB, free: 4.922 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.3676, allocations: 15.98 kB / 1.036 GB, free: 4.906 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.3677, allocations: 7.984 kB / 1.036 GB, free: 4.898 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.3677, allocations: 7.938 kB / 1.036 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.396e-05/0.3678, allocations: 127.5 kB / 1.036 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3678, allocations: 4 kB / 1.036 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002586/0.368, allocations: 24 kB / 1.036 GB, free: 4.738 MB / 0.6823 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 9.323e-05/0.3681, allocations: 107.2 kB / 1.037 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003188/0.3685, allocations: 111.9 kB / 1.037 GB, free: 4.516 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3685, allocations: 4 kB / 1.037 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.3686, allocations: 60.22 kB / 1.037 GB, free: 4.453 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.3691, allocations: 47.81 kB / 1.037 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004576/0.3695, allocations: 260 kB / 1.037 GB, free: 4.121 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.3698, allocations: 0.7048 MB / 1.038 GB, free: 3.391 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.567e-05/0.3699, allocations: 12.66 kB / 1.038 GB, free: 3.379 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.21e-05/0.37, allocations: 11.44 kB / 1.038 GB, free: 3.371 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/0.37, allocations: 0 / 1.038 GB, free: 3.371 MB / 0.6823 GB Notification: Performance of Templates: time 0.004254/0.3742, allocations: 1.885 MB / 1.04 GB, free: 1.539 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)