Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 191.5 kB / 16.13 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.028/3.028, allocations: 472.6 MB / 0.7447 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 63.52 kB / 0.9113 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.534/0.5355, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003706/0.5392, allocations: 1.877 MB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003182/0.5396, allocations: 123.6 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.862e-05/0.5397, allocations: 0 / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001454/0.5398, allocations: 7.922 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.54, allocations: 43.64 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.5401, allocations: 43.88 kB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.5404, allocations: 155.2 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.5405, allocations: 32.86 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.15e-05/0.5406, allocations: 51.8 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.5407, allocations: 67.75 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.632e-05/0.5408, allocations: 4 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.144e-05/0.5408, allocations: 11.94 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.718e-05/0.5409, allocations: 15.91 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.948e-05/0.541, allocations: 63.66 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.5411, allocations: 119.8 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.5411, allocations: 3.984 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5412, allocations: 0 / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.5412, allocations: 4 kB / 1.07 GB, free: 8.309 MB / 0.8262 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.0008768/0.542, allocations: 454.8 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.5421, allocations: 8.031 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.539e-05/0.5422, allocations: 12.84 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.5424, allocations: 200.1 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.5424, allocations: 4.375 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.5425, allocations: 8.375 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/0.5428, allocations: 119.8 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.5428, allocations: 4.188 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.5428, allocations: 7.938 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.5428, allocations: 0 / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.5432, allocations: 91.88 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008032/0.544, allocations: 480.5 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004134/0.5444, allocations: 133.2 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.5446, allocations: 61.78 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.5446, allocations: 0 / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.5446, allocations: 34.56 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.5446, allocations: 0 / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0005993/0.5452, allocations: 189.3 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.5453, allocations: 77.11 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.5455, allocations: 168.1 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.5455, allocations: 29.7 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.767e-05/0.5456, allocations: 108 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.5456, allocations: 31.62 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.729e-05/0.5457, allocations: 29.72 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.5459, allocations: 326.8 kB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.5461, allocations: 43.91 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.5462, allocations: 61.67 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/0.5465, allocations: 105.9 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5465, allocations: 0 / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003453/0.5469, allocations: 145.4 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.5469, allocations: 8 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.5469, allocations: 0 / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.5469, allocations: 3.984 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.5471, allocations: 23.92 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.5471, allocations: 8 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.5473, allocations: 11.89 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.5473, allocations: 7.938 kB / 1.073 GB, free: 5.109 MB / 0.8262 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 0.000122/0.5474, allocations: 118.5 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.429e-05/0.5475, allocations: 11.91 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004305/0.5479, allocations: 154.5 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.5479, allocations: 7.984 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.5479, allocations: 0 / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.5479, allocations: 240 / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003286/0.5483, allocations: 233.4 kB / 1.073 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.5483, allocations: 0 / 1.073 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.5484, allocations: 23.97 kB / 1.073 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.5484, allocations: 192 / 1.073 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.5485, allocations: 4 kB / 1.073 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.5485, allocations: 7.938 kB / 1.073 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.5485, allocations: 0 / 1.073 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004164/0.5489, allocations: 314.5 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.146e-05/0.549, allocations: 89.11 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.549, allocations: 8 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.5492, allocations: 11.98 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/0.5493, allocations: 11.92 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.5493, allocations: 7.938 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001085/0.5494, allocations: 128.2 kB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5494, allocations: 0 / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002826/0.5497, allocations: 28 kB / 1.074 GB, free: 3.875 MB / 0.8262 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 0.0001404/0.5499, allocations: 99.25 kB / 1.074 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003737/0.5502, allocations: 107.9 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5502, allocations: 3.938 kB / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.5504, allocations: 55.91 kB / 1.074 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005502/0.551, allocations: 40.62 kB / 1.074 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000574/0.5515, allocations: 261.3 kB / 1.075 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.5519, allocations: 0.7009 MB / 1.075 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.506e-05/0.552, allocations: 12.66 kB / 1.075 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.209e-05/0.552, allocations: 15.42 kB / 1.075 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.552, allocations: 0 / 1.075 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of Templates: time 0.00574/0.5578, allocations: 1.928 MB / 1.077 GB, free: 0.6406 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)