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.001965/0.001965, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002397/0.002397, allocations: 197.1 kB / 16.64 MB, free: 6.445 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.57/1.57, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.6107/0.6107, allocations: 95.47 MB / 365.3 MB, free: 9.781 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.00171/0.001711, allocations: 63.91 kB / 446.1 MB, free: 8.844 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3413, allocations: 69.08 MB / 0.5031 GB, free: 17.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset): time 0.003198/0.3445, allocations: 1.808 MB / 0.5049 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000356/0.3449, allocations: 127.6 kB / 0.505 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.3451, allocations: 3.938 kB / 0.505 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.3452, allocations: 11.86 kB / 0.505 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.341e-05/0.3453, allocations: 47.56 kB / 0.5051 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001391/0.3455, allocations: 31.95 kB / 0.5051 GB, free: 15.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002188/0.3457, allocations: 171.1 kB / 0.5053 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.3458, allocations: 29.09 kB / 0.5053 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.855e-05/0.3459, allocations: 47.86 kB / 0.5053 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.93e-05/0.346, allocations: 75.69 kB / 0.5054 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.898e-05/0.3461, allocations: 8 kB / 0.5054 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.297e-05/0.3461, allocations: 12 kB / 0.5054 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.662e-05/0.3461, allocations: 15.92 kB / 0.5054 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.283e-05/0.3462, allocations: 71.59 kB / 0.5055 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.3463, allocations: 129.2 kB / 0.5056 GB, free: 14.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3464, allocations: 0 / 0.5056 GB, free: 14.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3464, allocations: 0 / 0.5056 GB, free: 14.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.3464, allocations: 0 / 0.5056 GB, free: 14.71 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.0007466/0.3471, allocations: 458.8 kB / 0.5061 GB, free: 14.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.3472, allocations: 11.98 kB / 0.5061 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.979e-05/0.3472, allocations: 20.75 kB / 0.5061 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.3475, allocations: 208 kB / 0.5063 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.3475, allocations: 4.375 kB / 0.5063 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.3476, allocations: 8.375 kB / 0.5063 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/0.3478, allocations: 115.9 kB / 0.5064 GB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3478, allocations: 192 / 0.5064 GB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.3479, allocations: 7.938 kB / 0.5064 GB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.3479, allocations: 3.938 kB / 0.5064 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002683/0.3482, allocations: 95.88 kB / 0.5065 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006492/0.3488, allocations: 476.6 kB / 0.507 GB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003326/0.3492, allocations: 129.2 kB / 0.5071 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.3493, allocations: 61.78 kB / 0.5072 GB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.3493, allocations: 4 kB / 0.5072 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.3494, allocations: 42.48 kB / 0.5072 GB, free: 12.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.3494, allocations: 0 / 0.5072 GB, free: 12.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005234/0.3499, allocations: 177.7 kB / 0.5074 GB, free: 12.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.3499, allocations: 81.05 kB / 0.5074 GB, free: 12.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.3501, allocations: 171.1 kB / 0.5076 GB, free: 12.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.3501, allocations: 25.7 kB / 0.5076 GB, free: 12.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.001e-05/0.3502, allocations: 112 kB / 0.5077 GB, free: 12.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.3502, allocations: 27.55 kB / 0.5078 GB, free: 12.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.3502, allocations: 21.72 kB / 0.5078 GB, free: 12.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.22e-05/0.3503, allocations: 330.8 kB / 0.5081 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.3504, allocations: 43.91 kB / 0.5081 GB, free: 11.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.3506, allocations: 61.67 kB / 0.5082 GB, free: 11.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.3508, allocations: 101.6 kB / 0.5083 GB, free: 11.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3508, allocations: 0 / 0.5083 GB, free: 11.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002935/0.3511, allocations: 149.4 kB / 0.5084 GB, free: 11.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3511, allocations: 8 kB / 0.5085 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3511, allocations: 3.984 kB / 0.5085 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.3512, allocations: 0 / 0.5085 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.3513, allocations: 31.92 kB / 0.5085 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3513, allocations: 3.984 kB / 0.5085 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.3515, allocations: 11.92 kB / 0.5085 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.3515, allocations: 7.938 kB / 0.5085 GB, free: 11.5 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 7.069e-05/0.3516, allocations: 125.8 kB / 0.5086 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.966e-05/0.3516, allocations: 15.81 kB / 0.5086 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003707/0.352, allocations: 158.9 kB / 0.5088 GB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.352, allocations: 0 / 0.5088 GB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.352, allocations: 64 / 0.5088 GB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.352, allocations: 4 kB / 0.5088 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.3522, allocations: 225.6 kB / 0.509 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3523, allocations: 192 / 0.509 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.3524, allocations: 23.98 kB / 0.509 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3524, allocations: 7.875 kB / 0.509 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.3524, allocations: 4 kB / 0.5091 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3524, allocations: 0 / 0.5091 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3524, allocations: 0 / 0.5091 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.3528, allocations: 322.5 kB / 0.5094 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.178e-05/0.3528, allocations: 88.95 kB / 0.5094 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.3529, allocations: 0 / 0.5094 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.353, allocations: 11.98 kB / 0.5095 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/0.3531, allocations: 7.984 kB / 0.5095 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.3531, allocations: 7.938 kB / 0.5095 GB, free: 10.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.079e-05/0.3532, allocations: 123.2 kB / 0.5096 GB, free: 10.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3532, allocations: 4 kB / 0.5096 GB, free: 10.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000289/0.3535, allocations: 28 kB / 0.5096 GB, free: 10.26 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.134e-05/0.3536, allocations: 99.25 kB / 0.5097 GB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003323/0.3539, allocations: 103.9 kB / 0.5098 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3539, allocations: 3.938 kB / 0.5098 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.3541, allocations: 59.91 kB / 0.5099 GB, free: 9.992 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.3545, allocations: 42.19 kB / 0.5099 GB, free: 9.957 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004829/0.355, allocations: 239.4 kB / 0.5101 GB, free: 9.695 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.3552, allocations: 0.7084 MB / 0.5108 GB, free: 8.961 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.198e-05/0.3552, allocations: 12.78 kB / 0.5108 GB, free: 8.949 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.825e-05/0.3553, allocations: 19.42 kB / 0.5109 GB, free: 8.93 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.3553, allocations: 0 / 0.5109 GB, free: 8.93 MB / 382.1 MB Notification: Performance of Templates: time 0.004516/0.3598, allocations: 2.089 MB / 0.5129 GB, free: 6.883 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)