Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.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.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") translateModel(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001464, 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.001656/0.001656, allocations: 196 kB / 16.14 MB, free: 6.711 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.423/1.423, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.894/2.894, allocations: 472.6 MB / 0.7447 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 67.02 kB / 0.9114 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3849, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.006565/0.3915, allocations: 4.031 MB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004723/0.3963, allocations: 2.219 MB / 1.074 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001468/0.3978, allocations: 27.94 kB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009073/0.3988, allocations: 146.5 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000963/0.3998, allocations: 67.39 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.4015, allocations: 0.5615 MB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001781/0.4033, allocations: 1.389 MB / 1.076 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/0.4047, allocations: 0.9729 MB / 1.077 GB, free: 1.316 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006307/0.4054, allocations: 473.9 kB / 1.077 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004809/0.4059, allocations: 0.5556 MB / 1.078 GB, free: 300 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.406, allocations: 88 kB / 1.078 GB, free: 212 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.4062, allocations: 103.9 kB / 1.078 GB, free: 108 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002185/0.4064, allocations: 259 kB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005155/0.4069, allocations: 0.5941 MB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001657/0.4086, allocations: 2.052 MB / 1.081 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4086, allocations: 0 / 1.081 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.021e-06/0.4086, allocations: 3.938 kB / 1.081 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.38e-05/0.4087, allocations: 0 / 1.081 GB, free: 13.19 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 361 * Number of variables: 361 Notification: Performance of Generate backend data structure: time 0.002527/0.4112, allocations: 1.513 MB / 1.082 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.4113, allocations: 8.031 kB / 1.082 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000241/0.4115, allocations: 155.1 kB / 1.082 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.4126, allocations: 0.7374 MB / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.492e-05/0.4127, allocations: 107.2 kB / 1.083 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.4129, allocations: 144.4 kB / 1.083 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/0.4148, allocations: 1.131 MB / 1.084 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.4149, allocations: 192 / 1.084 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.886e-05/0.415, allocations: 59.94 kB / 1.085 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.526e-05/0.415, allocations: 36 kB / 1.085 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/0.4168, allocations: 0.9443 MB / 1.085 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004807/0.4216, allocations: 3.15 MB / 1.089 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.4228, allocations: 0.5321 MB / 1.089 GB, free: 4.488 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005588/0.4233, allocations: 319.3 kB / 1.089 GB, free: 4.176 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.629e-05/0.4234, allocations: 33.14 kB / 1.089 GB, free: 4.145 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008155/0.4243, allocations: 389.8 kB / 1.09 GB, free: 3.734 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=74): time 2.896e-06/0.4243, allocations: 0 / 1.09 GB, free: 3.734 MB / 0.8419 GB Notification: Performance of matching and sorting (n=74): time 0.001684/0.426, allocations: 0.8062 MB / 1.091 GB, free: 2.926 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.4261, allocations: 162.8 kB / 1.091 GB, free: 2.73 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009649/0.427, allocations: 0.821 MB / 1.092 GB, free: 1.898 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.338e-05/0.4271, allocations: 45.7 kB / 1.092 GB, free: 1.848 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004266/0.4276, allocations: 0.5612 MB / 1.092 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/0.4278, allocations: 244.5 kB / 1.092 GB, free: 1.035 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003004/0.4281, allocations: 218.4 kB / 1.093 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.4282, allocations: 341.9 kB / 1.093 GB, free: 484 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005851/0.4288, allocations: 277.9 kB / 1.093 GB, free: 208 kB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007421/0.4296, allocations: 0.4958 MB / 1.094 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.4307, allocations: 0.7295 MB / 1.094 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.4308, allocations: 4 kB / 1.094 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001673/0.4324, allocations: 0.9358 MB / 1.095 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.143e-05/0.4325, allocations: 39.25 kB / 1.095 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.4325, allocations: 8 kB / 1.095 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.4326, allocations: 12 kB / 1.095 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000644/0.4332, allocations: 175.7 kB / 1.096 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.135e-05/0.4332, allocations: 15.94 kB / 1.096 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000724/0.434, allocations: 186.5 kB / 1.096 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.699e-05/0.4341, allocations: 47.92 kB / 1.096 GB, free: 13.37 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 34 ($whenCondition1,$whenCondition2,actAirSet_RehBox1.conInt4.y,actAirSet_RehBox1.conInt3.y,actAirSet_RehBox1.conInt2.y,actAirSet_RehBox1.conInt1.y,actAirSet_RehBox1.conInt.y,actAirSet_RehBox.conInt4.y,actAirSet_RehBox.conInt3.y,actAirSet_RehBox.conInt2.y,actAirSet_RehBox.conInt1.y,actAirSet_RehBox.conInt.y,actAirSet_RehBox.gre.y,actAirSet_RehBox.greThr1.y,actAirSet_RehBox.swi3.u2,actAirSet_RehBox.intEqu1.y,actAirSet_RehBox.intEqu2.y,actAirSet_RehBox.intEqu3.y,actAirSet_RehBox.intEqu4.y,actAirSet_RehBox1.gre.y,actAirSet_RehBox1.greThr1.y,actAirSet_RehBox1.swi3.u2,actAirSet_RehBox1.intEqu1.y,actAirSet_RehBox1.intEqu2.y,actAirSet_RehBox1.intEqu3.y,actAirSet_RehBox1.intEqu4.y,winSta.y,$PRE.winSta.y,actAirSet_RehBox1.greThr.greHys.y,$PRE.actAirSet_RehBox1.greThr.greHys.y,actAirSet_RehBox1.not1.y,actAirSet_RehBox.greThr.greHys.y,$PRE.actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox.not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 1 * 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.0004626/0.4345, allocations: 285.5 kB / 1.096 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.4347, allocations: 102.7 kB / 1.096 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/0.4359, allocations: 0.6175 MB / 1.097 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/0.436, allocations: 8 kB / 1.097 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.436, allocations: 0 / 1.097 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.436, allocations: 3.984 kB / 1.097 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003213/0.4392, allocations: 2.319 MB / 1.099 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.4392, allocations: 8.5 kB / 1.099 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005071/0.4398, allocations: 139.8 kB / 1.099 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.455e-05/0.4398, allocations: 15.94 kB / 1.099 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.242e-05/0.4398, allocations: 28.64 kB / 1.099 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-05/0.4399, allocations: 23.91 kB / 1.099 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/0.4399, allocations: 15.94 kB / 1.099 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.4412, allocations: 0.9323 MB / 1.1 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/0.4414, allocations: 191.7 kB / 1.1 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.4416, allocations: 31.92 kB / 1.1 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004196/0.442, allocations: 43.97 kB / 1.1 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.4422, allocations: 88.2 kB / 1.1 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.298e-05/0.4422, allocations: 35.98 kB / 1.1 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000655/0.4429, allocations: 0.5225 MB / 1.101 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4429, allocations: 0 / 1.101 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00079/0.4437, allocations: 246.9 kB / 1.101 GB, free: 7.426 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox1.greThr.greHys.y,winSta.y,actAirSet_RehBox1.not1.y,actAirSet_RehBox.not1.y) * Number of discrete states: 2 (actAirSet_RehBox1.greThr.greHys.y,actAirSet_RehBox.greThr.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002391/0.4439, allocations: 148.7 kB / 1.101 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001396/0.4453, allocations: 0.756 MB / 1.102 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.4453, allocations: 4 kB / 1.102 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007457/0.4461, allocations: 371.6 kB / 1.102 GB, free: 6.145 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007856/0.4469, allocations: 124.4 kB / 1.103 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003086/0.45, allocations: 2.316 MB / 1.105 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006417/0.4506, allocations: 1.061 MB / 1.106 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004649/0.4511, allocations: 123 kB / 1.106 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.4513, allocations: 87.34 kB / 1.106 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of SimCode: time 8.22e-07/0.4513, allocations: 0 / 1.106 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of Templates: time 0.01612/0.4675, allocations: 7.607 MB / 1.114 GB, free: 10.78 MB / 0.8731 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & ./Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)