Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.HotWaterTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, 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.00203/0.002031, allocations: 192.1 kB / 16.13 MB, free: 6.652 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.462/1.462, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6574/0.6574, allocations: 95.49 MB / 364.8 MB, free: 10.07 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 63.91 kB / 444.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4117, allocations: 69.07 MB / 0.5017 GB, free: 17.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset): time 0.002681/0.4144, allocations: 1.861 MB / 0.5035 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002245/0.4147, allocations: 119.6 kB / 0.5036 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.134e-05/0.4148, allocations: 0 / 0.5036 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.4149, allocations: 15.86 kB / 0.5036 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.326e-05/0.415, allocations: 43.61 kB / 0.5037 GB, free: 15.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001056/0.4151, allocations: 31.97 kB / 0.5037 GB, free: 15.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.4153, allocations: 163.1 kB / 0.5039 GB, free: 15.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.4154, allocations: 29.03 kB / 0.5039 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.159e-05/0.4154, allocations: 51.84 kB / 0.5039 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.249e-05/0.4155, allocations: 59.75 kB / 0.504 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.4156, allocations: 7.938 kB / 0.504 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.593e-05/0.4156, allocations: 12 kB / 0.504 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.476e-05/0.4156, allocations: 19.91 kB / 0.504 GB, free: 15.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.553e-05/0.4157, allocations: 55.73 kB / 0.5041 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.4158, allocations: 125.5 kB / 0.5042 GB, free: 15.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.4158, allocations: 4 kB / 0.5042 GB, free: 15.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.4158, allocations: 0 / 0.5042 GB, free: 15.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.4158, allocations: 0 / 0.5042 GB, free: 15.01 MB / 382.1 MB 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.000673/0.4165, allocations: 446.9 kB / 0.5046 GB, free: 14.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.4166, allocations: 15.98 kB / 0.5047 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.013e-05/0.4166, allocations: 12.75 kB / 0.5047 GB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.4168, allocations: 208 kB / 0.5049 GB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.4168, allocations: 8.375 kB / 0.5049 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.4168, allocations: 4.375 kB / 0.5049 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.4171, allocations: 123.9 kB / 0.505 GB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.4171, allocations: 4.125 kB / 0.505 GB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.4171, allocations: 3.938 kB / 0.505 GB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.4171, allocations: 0 / 0.505 GB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002606/0.4174, allocations: 95.92 kB / 0.5051 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006013/0.418, allocations: 472.6 kB / 0.5055 GB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003423/0.4184, allocations: 133.2 kB / 0.5057 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.4185, allocations: 69.77 kB / 0.5057 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.4186, allocations: 4 kB / 0.5057 GB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.4186, allocations: 34.56 kB / 0.5058 GB, free: 13.22 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.4186, allocations: 3.938 kB / 0.5058 GB, free: 13.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005127/0.4191, allocations: 181.5 kB / 0.506 GB, free: 13.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.4192, allocations: 77.11 kB / 0.506 GB, free: 12.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.4193, allocations: 171.3 kB / 0.5062 GB, free: 12.76 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.4193, allocations: 25.7 kB / 0.5062 GB, free: 12.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.4194, allocations: 116.1 kB / 0.5063 GB, free: 12.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.4194, allocations: 27.56 kB / 0.5064 GB, free: 12.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.4194, allocations: 21.7 kB / 0.5064 GB, free: 12.56 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.639e-05/0.4195, allocations: 334.8 kB / 0.5067 GB, free: 12.22 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.4196, allocations: 39.97 kB / 0.5067 GB, free: 12.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.4198, allocations: 57.62 kB / 0.5068 GB, free: 12.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002365/0.42, allocations: 105.7 kB / 0.5069 GB, free: 12.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.42, allocations: 4 kB / 0.5069 GB, free: 12.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002931/0.4203, allocations: 145.4 kB / 0.507 GB, free: 11.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.4203, allocations: 6.031 kB / 0.507 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.4203, allocations: 0 / 0.507 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.4204, allocations: 0 / 0.507 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.4205, allocations: 23.98 kB / 0.5071 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.4205, allocations: 0 / 0.5071 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.4207, allocations: 24.3 kB / 0.5071 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.4207, allocations: 3.938 kB / 0.5071 GB, free: 11.8 MB / 382.1 MB 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 6.553e-05/0.4207, allocations: 121.7 kB / 0.5072 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/0.4208, allocations: 15.81 kB / 0.5072 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003616/0.4212, allocations: 170.7 kB / 0.5074 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4212, allocations: 0 / 0.5074 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4212, allocations: 48 / 0.5074 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4212, allocations: 3.984 kB / 0.5074 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.4214, allocations: 217.5 kB / 0.5076 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4214, allocations: 0 / 0.5076 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.4216, allocations: 23.97 kB / 0.5076 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.4216, allocations: 4 kB / 0.5076 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.4216, allocations: 4 kB / 0.5076 GB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.4216, allocations: 0 / 0.5076 GB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4216, allocations: 4 kB / 0.5076 GB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.4219, allocations: 314.7 kB / 0.5079 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.811e-05/0.422, allocations: 89.05 kB / 0.508 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.422, allocations: 11.86 kB / 0.508 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.4222, allocations: 8 kB / 0.508 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.4222, allocations: 11.98 kB / 0.508 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.4223, allocations: 7.938 kB / 0.508 GB, free: 10.72 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.894e-05/0.4223, allocations: 132.2 kB / 0.5082 GB, free: 10.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4223, allocations: 0 / 0.5082 GB, free: 10.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000273/0.4226, allocations: 24 kB / 0.5082 GB, free: 10.57 MB / 382.1 MB 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 8.51e-05/0.4227, allocations: 103.2 kB / 0.5083 GB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003011/0.423, allocations: 99.94 kB / 0.5084 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.423, allocations: 0 / 0.5084 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.4232, allocations: 55.91 kB / 0.5084 GB, free: 10.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004911/0.4237, allocations: 41.66 kB / 0.5085 GB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004311/0.4241, allocations: 277.1 kB / 0.5087 GB, free: 9.965 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.4242, allocations: 0.7048 MB / 0.5094 GB, free: 9.234 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.009e-05/0.4243, allocations: 16.64 kB / 0.5095 GB, free: 9.219 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.064e-05/0.4244, allocations: 11.44 kB / 0.5095 GB, free: 9.207 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4244, allocations: 0 / 0.5095 GB, free: 9.207 MB / 382.1 MB Notification: Performance of Templates: time 0.00364/0.428, allocations: 1.924 MB / 0.5113 GB, free: 7.324 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.makefile (rm -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe ; mkfifo Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe >> ../files/Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.sim & ./Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe 2>&1)