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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007895/0.007895, allocations: 97.2 kB / 15.73 MB, free: 5.547 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.00135/0.00135, allocations: 190 kB / 16.67 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.535/1.535, allocations: 251.7 MB / 0.5094 GB, free: 428 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 71.89 kB / 0.7258 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9224/0.9242, allocations: 104.7 MB / 0.828 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.00339/0.9277, allocations: 1.828 MB / 0.8298 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0003524/0.9281, allocations: 123.6 kB / 0.8299 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.9282, allocations: 0 / 0.8299 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.9284, allocations: 15.8 kB / 0.8299 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.9285, allocations: 43.58 kB / 0.83 GB, free: 0.625 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.9286, allocations: 43.94 kB / 0.83 GB, free: 0.582 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00027/0.9289, allocations: 171.1 kB / 0.8302 GB, free: 424 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.9291, allocations: 21.11 kB / 0.8302 GB, free: 404 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.9292, allocations: 59.78 kB / 0.8302 GB, free: 344 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.9294, allocations: 67.75 kB / 0.8303 GB, free: 276 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.417e-05/0.9294, allocations: 8 kB / 0.8303 GB, free: 268 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 4.11e-05/0.9294, allocations: 16 kB / 0.8303 GB, free: 252 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 4.445e-05/0.9295, allocations: 23.86 kB / 0.8304 GB, free: 228 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 8.905e-05/0.9296, allocations: 67.66 kB / 0.8304 GB, free: 160 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.9299, allocations: 128.1 kB / 0.8305 GB, free: 40 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.001e-05/0.9299, allocations: 4 kB / 0.8305 GB, free: 36 kB / 0.6231 GB Notification: Performance of FrontEnd: time 2.524e-06/0.9299, allocations: 0 / 0.8305 GB, free: 36 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.9299, allocations: 0 / 0.8305 GB, free: 36 kB / 0.6231 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.001036/0.9309, allocations: 462.7 kB / 0.831 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.931, allocations: 8.031 kB / 0.831 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.612e-05/0.9311, allocations: 16.89 kB / 0.831 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.9314, allocations: 208.1 kB / 0.8312 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.9315, allocations: 4.375 kB / 0.8312 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.9315, allocations: 8.375 kB / 0.8312 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003306/0.9318, allocations: 123.8 kB / 0.8313 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.9318, allocations: 192 / 0.8313 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.9319, allocations: 7.938 kB / 0.8314 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.9319, allocations: 0 / 0.8314 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002859/0.9322, allocations: 87.94 kB / 0.8314 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009087/0.9331, allocations: 484.6 kB / 0.8319 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004151/0.9335, allocations: 125.2 kB / 0.832 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.9337, allocations: 65.78 kB / 0.8321 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.9337, allocations: 0 / 0.8321 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.9338, allocations: 34.56 kB / 0.8321 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.9338, allocations: 0 / 0.8321 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of matching and sorting (n=9): time 0.0005861/0.9344, allocations: 193.6 kB / 0.8323 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.798e-05/0.9345, allocations: 77.11 kB / 0.8324 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.9346, allocations: 164.9 kB / 0.8325 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.9347, allocations: 29.7 kB / 0.8326 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.104e-05/0.9348, allocations: 108.1 kB / 0.8327 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.9348, allocations: 31.73 kB / 0.8327 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.223e-05/0.9349, allocations: 25.66 kB / 0.8327 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.935, allocations: 326.8 kB / 0.833 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.9352, allocations: 47.97 kB / 0.8331 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.9353, allocations: 57.67 kB / 0.8331 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.9356, allocations: 97.67 kB / 0.8332 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.9356, allocations: 4.188 kB / 0.8332 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003376/0.936, allocations: 153.8 kB / 0.8334 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.936, allocations: 7.938 kB / 0.8334 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.936, allocations: 0 / 0.8334 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.936, allocations: 0 / 0.8334 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.9362, allocations: 27.97 kB / 0.8334 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.9362, allocations: 3.938 kB / 0.8334 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.9363, allocations: 15.89 kB / 0.8334 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.9363, allocations: 11.92 kB / 0.8334 GB, free: 12.82 MB / 0.6387 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.000103/0.9364, allocations: 118.9 kB / 0.8335 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.795e-05/0.9365, allocations: 11.95 kB / 0.8336 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004362/0.9369, allocations: 154.5 kB / 0.8337 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.9369, allocations: 0 / 0.8337 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.937, allocations: 4 kB / 0.8337 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.937, allocations: 3.984 kB / 0.8337 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/0.9373, allocations: 229.5 kB / 0.8339 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.9373, allocations: 0 / 0.8339 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.9374, allocations: 19.98 kB / 0.834 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.585e-06/0.9375, allocations: 4 kB / 0.834 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.9375, allocations: 3.938 kB / 0.834 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.9375, allocations: 0 / 0.834 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.9375, allocations: 0 / 0.834 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004595/0.9379, allocations: 322.5 kB / 0.8343 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/0.938, allocations: 89 kB / 0.8344 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.9381, allocations: 4 kB / 0.8344 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.9382, allocations: 7.984 kB / 0.8344 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.547e-05/0.9383, allocations: 11.92 kB / 0.8344 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.9383, allocations: 11.94 kB / 0.8344 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001214/0.9384, allocations: 125.2 kB / 0.8345 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9385, allocations: 4 kB / 0.8345 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002773/0.9387, allocations: 28 kB / 0.8345 GB, free: 11.59 MB / 0.6387 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.0001228/0.9389, allocations: 95.25 kB / 0.8346 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003809/0.9393, allocations: 108.1 kB / 0.8347 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9393, allocations: 0 / 0.8347 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.9394, allocations: 60.02 kB / 0.8348 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.9399, allocations: 44.06 kB / 0.8348 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005673/0.9404, allocations: 239.2 kB / 0.8351 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.9408, allocations: 0.7006 MB / 0.8357 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 7.468e-05/0.9409, allocations: 16.78 kB / 0.8358 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.922e-05/0.9409, allocations: 11.44 kB / 0.8358 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of SimCode: time 2.41e-07/0.9409, allocations: 0 / 0.8358 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of Templates: time 0.005491/0.9464, allocations: 2.102 MB / 0.8378 GB, free: 8.211 MB / 0.6387 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)