Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001325/0.001325, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001406/0.001407, allocations: 194.5 kB / 16.25 MB, free: 6.621 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.648/1.648, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.79/1.79, allocations: 292.2 MB / 0.5485 GB, free: 13.66 MB / 462.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.001475/0.001475, allocations: 68.86 kB / 0.671 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2967, allocations: 114.6 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.005668/0.3024, allocations: 4.138 MB / 0.7869 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003806/0.3063, allocations: 2.217 MB / 0.7891 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.3075, allocations: 31.88 kB / 0.7891 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006477/0.3082, allocations: 146.5 kB / 0.7893 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005137/0.3088, allocations: 83.25 kB / 0.7894 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.3101, allocations: 0.5651 MB / 0.7899 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001675/0.3118, allocations: 1.564 MB / 0.7914 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001381/0.3132, allocations: 1.016 MB / 0.7924 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007025/0.3139, allocations: 0.5603 MB / 0.793 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005011/0.3144, allocations: 0.6335 MB / 0.7936 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002088/0.3147, allocations: 184 kB / 0.7938 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002733/0.3149, allocations: 196 kB / 0.794 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002595/0.3152, allocations: 362.8 kB / 0.7943 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005394/0.3158, allocations: 0.6994 MB / 0.795 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00186/0.3176, allocations: 2.153 MB / 0.7971 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3176, allocations: 0 / 0.7971 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3177, allocations: 0 / 0.7971 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.963e-05/0.3177, allocations: 0 / 0.7971 GB, free: 15.25 MB / 0.6231 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.002688/0.3204, allocations: 1.594 MB / 0.7986 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.3205, allocations: 15.97 kB / 0.7987 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002443/0.3207, allocations: 155.1 kB / 0.7988 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009172/0.3216, allocations: 0.7316 MB / 0.7995 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.3218, allocations: 119.2 kB / 0.7996 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.3219, allocations: 140.4 kB / 0.7998 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00202/0.3239, allocations: 1.143 MB / 0.8009 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/0.324, allocations: 8.188 kB / 0.8009 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.3241, allocations: 59.94 kB / 0.801 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.248e-05/0.3241, allocations: 36 kB / 0.801 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/0.3259, allocations: 0.9677 MB / 0.8019 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005204/0.3312, allocations: 3.25 MB / 0.8051 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.3324, allocations: 0.5638 MB / 0.8057 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004764/0.3329, allocations: 270.7 kB / 0.8059 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.769e-05/0.333, allocations: 13.19 kB / 0.8059 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007779/0.3338, allocations: 405.8 kB / 0.8063 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=74): time 2.565e-06/0.3338, allocations: 0 / 0.8063 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74): time 0.001717/0.3356, allocations: 0.8296 MB / 0.8071 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.483e-05/0.3357, allocations: 170.7 kB / 0.8073 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.3367, allocations: 0.8898 MB / 0.8082 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.12e-05/0.3368, allocations: 45.7 kB / 0.8082 GB, free: 3.562 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004874/0.3373, allocations: 0.5964 MB / 0.8088 GB, free: 2.957 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.3375, allocations: 240.5 kB / 0.809 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002993/0.3378, allocations: 218.4 kB / 0.8092 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.338, allocations: 341.9 kB / 0.8095 GB, free: 2.16 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000561/0.3385, allocations: 285.9 kB / 0.8098 GB, free: 1.883 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006894/0.3392, allocations: 0.5075 MB / 0.8103 GB, free: 1.281 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.3404, allocations: 0.7452 MB / 0.811 GB, free: 464 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/0.3404, allocations: 0 / 0.811 GB, free: 464 kB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001869/0.3423, allocations: 0.9708 MB / 0.812 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.657e-05/0.3424, allocations: 33.7 kB / 0.812 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.3424, allocations: 4 kB / 0.812 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.943e-05/0.3425, allocations: 12 kB / 0.812 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007197/0.3432, allocations: 179.7 kB / 0.8122 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.489e-05/0.3432, allocations: 15.94 kB / 0.8122 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009039/0.3441, allocations: 186.5 kB / 0.8124 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.946e-05/0.3442, allocations: 43.98 kB / 0.8124 GB, free: 14.99 MB / 0.6387 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.0006055/0.3448, allocations: 290.2 kB / 0.8127 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.345, allocations: 103.2 kB / 0.8128 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.3463, allocations: 0.6339 MB / 0.8134 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.3464, allocations: 8 kB / 0.8134 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.3464, allocations: 0 / 0.8134 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.3464, allocations: 11.98 kB / 0.8135 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003125/0.3495, allocations: 2.431 MB / 0.8158 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.3496, allocations: 8 kB / 0.8158 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005072/0.3501, allocations: 135.8 kB / 0.816 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.891e-05/0.3501, allocations: 15.94 kB / 0.816 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.275e-05/0.3502, allocations: 23.98 kB / 0.816 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/0.3502, allocations: 8 kB / 0.816 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/0.3502, allocations: 11.94 kB / 0.816 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/0.3516, allocations: 0.9598 MB / 0.817 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002591/0.3519, allocations: 203.6 kB / 0.8172 GB, free: 9.871 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.352, allocations: 27.92 kB / 0.8172 GB, free: 9.844 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004502/0.3525, allocations: 51.95 kB / 0.8172 GB, free: 9.793 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.3527, allocations: 92.09 kB / 0.8173 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-05/0.3527, allocations: 28 kB / 0.8173 GB, free: 9.672 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000784/0.3535, allocations: 0.5743 MB / 0.8179 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3535, allocations: 4 kB / 0.8179 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009705/0.3545, allocations: 243 kB / 0.8181 GB, free: 8.844 MB / 0.6387 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.0003226/0.3548, allocations: 149.8 kB / 0.8183 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001742/0.3566, allocations: 0.8145 MB / 0.8191 GB, free: 7.859 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3566, allocations: 0 / 0.8191 GB, free: 7.859 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008373/0.3574, allocations: 422.8 kB / 0.8195 GB, free: 7.445 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009202/0.3584, allocations: 144.4 kB / 0.8196 GB, free: 7.309 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003488/0.3619, allocations: 2.42 MB / 0.822 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007228/0.3626, allocations: 1.085 MB / 0.823 GB, free: 3.656 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005332/0.3632, allocations: 119.5 kB / 0.8232 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.3634, allocations: 75.42 kB / 0.8232 GB, free: 3.461 MB / 0.6387 GB Notification: Performance of SimCode: time 8.71e-07/0.3634, allocations: 0 / 0.8232 GB, free: 3.461 MB / 0.6387 GB Notification: Performance of Templates: time 0.01621/0.3796, allocations: 8.36 MB / 0.8314 GB, free: 11.22 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.makefile (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & ./Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)