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.461/1.461, allocations: 252 MB / 268 MB, free: 10.87 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.001001/0.001001, allocations: 178.2 kB / 327.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.4 MB / 0.5786 GB, free: 20.13 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.0007801/0.0007803, allocations: 90.23 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003595, allocations: 8.781 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2379, allocations: 106.3 MB / 0.9014 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001773/0.2398, allocations: 1.534 MB / 0.9029 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002649/0.24, allocations: 119.6 kB / 0.9031 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.397e-05/0.2402, allocations: 0 / 0.9031 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.2403, allocations: 11.92 kB / 0.9031 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.325e-05/0.2404, allocations: 51.55 kB / 0.9031 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001185/0.2405, allocations: 31.97 kB / 0.9032 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.2407, allocations: 159.2 kB / 0.9033 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.2408, allocations: 25.09 kB / 0.9033 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.716e-05/0.2409, allocations: 51.78 kB / 0.9034 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.041e-05/0.241, allocations: 63.7 kB / 0.9034 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.2411, allocations: 8 kB / 0.9034 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.365e-05/0.2411, allocations: 4 kB / 0.9034 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.605e-05/0.2411, allocations: 19.91 kB / 0.9035 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.345e-05/0.2412, allocations: 81.38 kB / 0.9035 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.099e-05/0.2413, allocations: 84.06 kB / 0.9036 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2413, allocations: 0 / 0.9036 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2413, allocations: 0 / 0.9036 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.2413, allocations: 0 / 0.9036 GB, free: 61.23 MB / 0.6042 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.0006284/0.2419, allocations: 447 kB / 0.9041 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.242, allocations: 8.031 kB / 0.9041 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.242, allocations: 16.75 kB / 0.9041 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.2422, allocations: 212.6 kB / 0.9043 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.2422, allocations: 4.375 kB / 0.9043 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.2423, allocations: 16.31 kB / 0.9043 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.2426, allocations: 121 kB / 0.9044 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.2426, allocations: 192 / 0.9044 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.2426, allocations: 3.938 kB / 0.9044 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.2426, allocations: 4 kB / 0.9044 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002765/0.2429, allocations: 111.9 kB / 0.9045 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006201/0.2435, allocations: 480.6 kB / 0.905 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003476/0.2439, allocations: 141.2 kB / 0.9051 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.244, allocations: 73.72 kB / 0.9052 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.2441, allocations: 0 / 0.9052 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.2441, allocations: 38.55 kB / 0.9052 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.2441, allocations: 0 / 0.9052 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0005359/0.2447, allocations: 205.5 kB / 0.9054 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.2447, allocations: 85.05 kB / 0.9055 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.2448, allocations: 167.6 kB / 0.9057 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.2448, allocations: 29.7 kB / 0.9057 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.2449, allocations: 104 kB / 0.9058 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.2449, allocations: 31.55 kB / 0.9058 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.245, allocations: 4 kB / 0.9058 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.624e-05/0.245, allocations: 330.8 kB / 0.9061 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.2452, allocations: 47.97 kB / 0.9062 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.2453, allocations: 65.69 kB / 0.9062 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.2456, allocations: 117.7 kB / 0.9064 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2456, allocations: 3.938 kB / 0.9064 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003158/0.2459, allocations: 157.5 kB / 0.9065 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.2459, allocations: 6.656 kB / 0.9065 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2459, allocations: 4 kB / 0.9065 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.246, allocations: 4 kB / 0.9065 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.2461, allocations: 31.92 kB / 0.9066 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.2461, allocations: 0 / 0.9066 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.2463, allocations: 15.92 kB / 0.9066 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.2463, allocations: 7.938 kB / 0.9066 GB, free: 57.95 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.8e-05/0.2464, allocations: 128 kB / 0.9067 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.634e-05/0.2464, allocations: 15.81 kB / 0.9067 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004044/0.2468, allocations: 170.5 kB / 0.9069 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2468, allocations: 0 / 0.9069 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2468, allocations: 4 kB / 0.9069 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2469, allocations: 240 / 0.9069 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.2471, allocations: 222 kB / 0.9071 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.2471, allocations: 4 kB / 0.9071 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.2472, allocations: 27.98 kB / 0.9071 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.2473, allocations: 7.984 kB / 0.9071 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.2473, allocations: 4 kB / 0.9071 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.2473, allocations: 3.938 kB / 0.9071 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2473, allocations: 4.125 kB / 0.9071 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/0.2476, allocations: 330.5 kB / 0.9075 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.245e-05/0.2477, allocations: 96.88 kB / 0.9076 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.2477, allocations: 4 kB / 0.9076 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.2479, allocations: 15.98 kB / 0.9076 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.2479, allocations: 4 kB / 0.9076 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.248, allocations: 11.92 kB / 0.9076 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.932e-05/0.248, allocations: 131.5 kB / 0.9077 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.248, allocations: 0 / 0.9077 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002533/0.2483, allocations: 24 kB / 0.9077 GB, free: 56.67 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.432e-05/0.2484, allocations: 99.25 kB / 0.9078 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003367/0.2487, allocations: 115.9 kB / 0.9079 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2487, allocations: 0 / 0.9079 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.2489, allocations: 63.91 kB / 0.908 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.2494, allocations: 42.03 kB / 0.908 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000438/0.2498, allocations: 293.8 kB / 0.9083 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.25, allocations: 0.7049 MB / 0.909 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.955e-05/0.25, allocations: 19.38 kB / 0.909 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of SimCode: time 3.7e-07/0.25, allocations: 4 kB / 0.909 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of Templates: time 0.00262/0.2527, allocations: 1.735 MB / 0.9107 GB, free: 53.55 MB / 0.6042 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)