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.000916/0.0009161, allocations: 90.28 kB / 15.36 MB, free: 0.7383 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.008414/0.008414, allocations: 171.7 kB / 16.26 MB, free: 6.676 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.671/1.671, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.787/1.787, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005253/0.0005254, allocations: 13.53 kB / 0.6744 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2981, allocations: 116.3 MB / 0.7879 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.004521/0.3026, allocations: 3.624 MB / 0.7915 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004359/0.307, allocations: 2.221 MB / 0.7936 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007688/0.3079, allocations: 31.94 kB / 0.7937 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004016/0.3083, allocations: 138.5 kB / 0.7938 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003734/0.3087, allocations: 83.19 kB / 0.7939 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.3099, allocations: 0.565 MB / 0.7944 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001427/0.3113, allocations: 1.432 MB / 0.7958 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.3126, allocations: 0.9615 MB / 0.7968 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004707/0.3131, allocations: 349.8 kB / 0.7971 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003973/0.3135, allocations: 413 kB / 0.7975 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.215e-05/0.3136, allocations: 36 kB / 0.7975 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.3137, allocations: 55.91 kB / 0.7976 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.3139, allocations: 178.9 kB / 0.7978 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004544/0.3143, allocations: 0.5214 MB / 0.7983 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.3159, allocations: 2.004 MB / 0.8002 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3159, allocations: 0 / 0.8002 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.485e-06/0.3159, allocations: 0 / 0.8002 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.85e-05/0.316, allocations: 4 kB / 0.8002 GB, free: 14.81 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.002312/0.3183, allocations: 1.337 MB / 0.8015 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.3183, allocations: 8.031 kB / 0.8015 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002609/0.3186, allocations: 159.1 kB / 0.8017 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.3196, allocations: 0.7355 MB / 0.8024 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/0.3198, allocations: 119.2 kB / 0.8025 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/0.32, allocations: 136.4 kB / 0.8027 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00223/0.3222, allocations: 1.155 MB / 0.8038 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.3223, allocations: 4.188 kB / 0.8038 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.3224, allocations: 59.94 kB / 0.8038 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.394e-05/0.3224, allocations: 36 kB / 0.8039 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001877/0.3243, allocations: 0.9873 MB / 0.8048 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005462/0.3298, allocations: 3.278 MB / 0.808 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.3312, allocations: 0.5729 MB / 0.8086 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005266/0.3317, allocations: 266.7 kB / 0.8089 GB, free: 5.766 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.726e-05/0.3318, allocations: 12.66 kB / 0.8089 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008706/0.3327, allocations: 409.8 kB / 0.8093 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=74): time 3.316e-06/0.3327, allocations: 4 kB / 0.8093 GB, free: 5.32 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74): time 0.001931/0.3346, allocations: 0.853 MB / 0.8101 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.3347, allocations: 162.8 kB / 0.8103 GB, free: 4.262 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.336, allocations: 0.8977 MB / 0.8111 GB, free: 3.34 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.425e-05/0.336, allocations: 49.69 kB / 0.8112 GB, free: 3.285 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005232/0.3366, allocations: 0.5887 MB / 0.8118 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/0.3368, allocations: 248.5 kB / 0.812 GB, free: 2.441 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/0.337, allocations: 113.6 kB / 0.8121 GB, free: 2.324 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.3372, allocations: 345.9 kB / 0.8124 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006416/0.3378, allocations: 297.9 kB / 0.8127 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000831/0.3387, allocations: 0.5153 MB / 0.8132 GB, free: 1.086 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/0.3401, allocations: 0.7569 MB / 0.814 GB, free: 248 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.3401, allocations: 4 kB / 0.814 GB, free: 244 kB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001864/0.342, allocations: 0.9864 MB / 0.8149 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.27e-05/0.342, allocations: 37.7 kB / 0.815 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.3421, allocations: 4 kB / 0.815 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.728e-05/0.3421, allocations: 12 kB / 0.815 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006619/0.3428, allocations: 175.7 kB / 0.8151 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.899e-05/0.3428, allocations: 15.94 kB / 0.8152 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000843/0.3436, allocations: 218.5 kB / 0.8154 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.081e-05/0.3437, allocations: 43.98 kB / 0.8154 GB, free: 14.74 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.0005615/0.3443, allocations: 290.1 kB / 0.8157 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.3444, allocations: 110.7 kB / 0.8158 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/0.3458, allocations: 0.6418 MB / 0.8164 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.3458, allocations: 8 kB / 0.8164 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.3458, allocations: 4 kB / 0.8164 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.3458, allocations: 3.984 kB / 0.8164 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003824/0.3497, allocations: 2.447 MB / 0.8188 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.3497, allocations: 4 kB / 0.8188 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004995/0.3502, allocations: 135.8 kB / 0.819 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-05/0.3502, allocations: 15.94 kB / 0.819 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.954e-05/0.3503, allocations: 31.98 kB / 0.819 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-05/0.3503, allocations: 15.94 kB / 0.819 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.669e-06/0.3503, allocations: 11.94 kB / 0.819 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.3518, allocations: 0.9793 MB / 0.82 GB, free: 9.77 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002156/0.352, allocations: 199.7 kB / 0.8202 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.3522, allocations: 31.92 kB / 0.8202 GB, free: 9.523 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004651/0.3526, allocations: 55.97 kB / 0.8203 GB, free: 9.469 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.3528, allocations: 88.2 kB / 0.8203 GB, free: 9.379 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.672e-05/0.3528, allocations: 28 kB / 0.8204 GB, free: 9.352 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007856/0.3536, allocations: 0.5742 MB / 0.8209 GB, free: 8.766 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3536, allocations: 4 kB / 0.8209 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008345/0.3545, allocations: 251 kB / 0.8212 GB, free: 8.516 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.0002305/0.3547, allocations: 145.6 kB / 0.8213 GB, free: 8.367 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001487/0.3562, allocations: 0.7951 MB / 0.8221 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.3562, allocations: 4.062 kB / 0.8221 GB, free: 7.555 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008477/0.3571, allocations: 431.9 kB / 0.8225 GB, free: 7.133 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.3587, allocations: 127.4 kB / 0.8226 GB, free: 7.008 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003227/0.3619, allocations: 2.435 MB / 0.825 GB, free: 4.449 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006453/0.3626, allocations: 1.085 MB / 0.8261 GB, free: 3.34 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004443/0.363, allocations: 115.5 kB / 0.8262 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/0.3632, allocations: 71.42 kB / 0.8262 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of SimCode: time 5.11e-07/0.3632, allocations: 4 kB / 0.8262 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of Templates: time 0.01606/0.3793, allocations: 7.892 MB / 0.8339 GB, free: 11.37 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: