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.0009639/0.0009642, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004852/0.004852, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.436/1.436, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.784/2.784, allocations: 473.4 MB / 0.7469 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003828/0.0003828, allocations: 8.562 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3204, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.005155/0.3256, allocations: 3.53 MB / 1.078 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004468/0.3301, allocations: 2.2 MB / 1.08 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.3311, allocations: 31.94 kB / 1.08 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006181/0.3318, allocations: 138.5 kB / 1.08 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006765/0.3325, allocations: 71.31 kB / 1.08 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.3342, allocations: 0.5676 MB / 1.081 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002079/0.3362, allocations: 1.381 MB / 1.082 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001474/0.3377, allocations: 0.9495 MB / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005072/0.3382, allocations: 338 kB / 1.083 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004177/0.3387, allocations: 413.1 kB / 1.084 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.835e-05/0.3388, allocations: 32 kB / 1.084 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.3389, allocations: 47.98 kB / 1.084 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.3391, allocations: 175 kB / 1.084 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004171/0.3395, allocations: 0.4982 MB / 1.084 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.3412, allocations: 1.981 MB / 1.086 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.3412, allocations: 8 kB / 1.086 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3412, allocations: 0 / 1.086 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.838e-05/0.3412, allocations: 0 / 1.086 GB, free: 11.1 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.002113/0.3433, allocations: 1.264 MB / 1.087 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.3434, allocations: 8.031 kB / 1.087 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002231/0.3436, allocations: 151.2 kB / 1.088 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.3447, allocations: 0.7375 MB / 1.088 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.3448, allocations: 111.2 kB / 1.088 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.345, allocations: 144.4 kB / 1.089 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/0.3471, allocations: 1.139 MB / 1.09 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.3471, allocations: 192 / 1.09 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.3472, allocations: 63.92 kB / 1.09 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.824e-05/0.3472, allocations: 36 kB / 1.09 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/0.3491, allocations: 0.956 MB / 1.091 GB, free: 6.375 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004857/0.3539, allocations: 3.17 MB / 1.094 GB, free: 3.145 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.3551, allocations: 0.5407 MB / 1.094 GB, free: 2.594 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005679/0.3557, allocations: 323.2 kB / 1.095 GB, free: 2.273 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.961e-05/0.3557, allocations: 25.17 kB / 1.095 GB, free: 2.25 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007285/0.3565, allocations: 401.8 kB / 1.095 GB, free: 1.828 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=74): time 2.775e-06/0.3565, allocations: 0 / 1.095 GB, free: 1.828 MB / 0.8419 GB Notification: Performance of matching and sorting (n=74): time 0.001731/0.3582, allocations: 0.818 MB / 1.096 GB, free: 1.008 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.148e-05/0.3583, allocations: 174.7 kB / 1.096 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.3594, allocations: 0.8212 MB / 1.097 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.417e-05/0.3595, allocations: 45.7 kB / 1.097 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004998/0.36, allocations: 0.5612 MB / 1.097 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/0.3602, allocations: 248.5 kB / 1.098 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.3604, allocations: 113.6 kB / 1.098 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3605, allocations: 341.9 kB / 1.098 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005696/0.3611, allocations: 285.9 kB / 1.098 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007463/0.3619, allocations: 0.5036 MB / 1.099 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.3631, allocations: 0.7451 MB / 1.1 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.3631, allocations: 0 / 1.1 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001739/0.3649, allocations: 0.9591 MB / 1.101 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.239e-05/0.365, allocations: 46.94 kB / 1.101 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.365, allocations: 4 kB / 1.101 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.365, allocations: 12 kB / 1.101 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006669/0.3657, allocations: 179.7 kB / 1.101 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.996e-05/0.3657, allocations: 15.94 kB / 1.101 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007905/0.3665, allocations: 214.5 kB / 1.101 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.346e-05/0.3666, allocations: 39.98 kB / 1.101 GB, free: 11.46 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.0005017/0.3671, allocations: 281.6 kB / 1.101 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.3672, allocations: 94.86 kB / 1.101 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/0.3686, allocations: 0.6407 MB / 1.102 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.3686, allocations: 8 kB / 1.102 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.346e-05/0.3686, allocations: 7.984 kB / 1.102 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.3686, allocations: 3.938 kB / 1.102 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003203/0.3719, allocations: 2.332 MB / 1.104 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.3719, allocations: 8 kB / 1.104 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005038/0.3724, allocations: 147.7 kB / 1.104 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.334e-05/0.3724, allocations: 15.94 kB / 1.104 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.027e-05/0.3725, allocations: 27.98 kB / 1.104 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.268e-05/0.3725, allocations: 15.94 kB / 1.105 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/0.3725, allocations: 8.344 kB / 1.105 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.3739, allocations: 0.9556 MB / 1.105 GB, free: 6.633 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/0.3741, allocations: 187.8 kB / 1.106 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.3742, allocations: 35.92 kB / 1.106 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004446/0.3746, allocations: 51.97 kB / 1.106 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.3748, allocations: 88.14 kB / 1.106 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.515e-05/0.3749, allocations: 35.98 kB / 1.106 GB, free: 6.223 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006528/0.3755, allocations: 0.5264 MB / 1.106 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3755, allocations: 0 / 1.106 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007912/0.3763, allocations: 250.9 kB / 1.107 GB, free: 5.453 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.0002666/0.3766, allocations: 146.2 kB / 1.107 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001479/0.3781, allocations: 0.7674 MB / 1.107 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.3781, allocations: 4 kB / 1.107 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007724/0.3789, allocations: 380.4 kB / 1.108 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.3804, allocations: 123.9 kB / 1.108 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003421/0.3838, allocations: 2.337 MB / 1.11 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007228/0.3846, allocations: 1.061 MB / 1.111 GB, free: 492 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004511/0.385, allocations: 127 kB / 1.111 GB, free: 360 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.3853, allocations: 87.41 kB / 1.111 GB, free: 272 kB / 0.8575 GB Notification: Performance of SimCode: time 4.71e-07/0.3853, allocations: 0 / 1.111 GB, free: 272 kB / 0.8575 GB Notification: Performance of Templates: time 0.01741/0.4027, allocations: 7.528 MB / 1.119 GB, free: 8.844 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)