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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.818/1.818, allocations: 292.3 MB / 308.1 MB, free: 4.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001557/0.001557, allocations: 196.5 kB / 376.9 MB, free: 1.777 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.778/1.778, allocations: 205.1 MB / 0.6354 GB, free: 9.773 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 100.1 kB / 0.748 GB, free: 61.15 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 55.92 kB / 0.8704 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3089, allocations: 114.5 MB / 0.9823 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.007118/0.3161, allocations: 4.139 MB / 0.9863 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004796/0.3209, allocations: 2.229 MB / 0.9885 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002041/0.323, allocations: 27.94 kB / 0.9885 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.3241, allocations: 146.5 kB / 0.9887 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.3253, allocations: 87.19 kB / 0.9887 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002079/0.3274, allocations: 0.5542 MB / 0.9893 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.002498/0.3299, allocations: 1.467 MB / 0.9907 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002116/0.3321, allocations: 0.9888 MB / 0.9917 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.3331, allocations: 477.8 kB / 0.9921 GB, free: 132 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009721/0.3341, allocations: 0.5673 MB / 0.9927 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0004246/0.3345, allocations: 96 kB / 0.9928 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004893/0.3351, allocations: 107.9 kB / 0.9929 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.000368/0.3354, allocations: 258.9 kB / 0.9931 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0009073/0.3363, allocations: 0.6095 MB / 0.9937 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.002771/0.3391, allocations: 2.075 MB / 0.9958 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.3392, allocations: 0 / 0.9958 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3392, allocations: 3.938 kB / 0.9958 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001283/0.3393, allocations: 0 / 0.9958 GB, free: 12.41 MB / 0.7292 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.004343/0.3437, allocations: 1.598 MB / 0.9973 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/0.3437, allocations: 11.97 kB / 0.9973 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003186/0.3441, allocations: 163 kB / 0.9975 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.3453, allocations: 0.7355 MB / 0.9982 GB, free: 9.797 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/0.3455, allocations: 123.2 kB / 0.9983 GB, free: 9.676 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.3457, allocations: 140.4 kB / 0.9985 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002175/0.3478, allocations: 1.135 MB / 0.9996 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.3479, allocations: 192 / 0.9996 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.562e-05/0.348, allocations: 59.94 kB / 0.9996 GB, free: 8.324 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.609e-05/0.348, allocations: 36 kB / 0.9997 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/0.3498, allocations: 0.9716 MB / 1.001 GB, free: 7.312 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005733/0.3556, allocations: 3.246 MB / 1.004 GB, free: 4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.3571, allocations: 0.5675 MB / 1.004 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005631/0.3576, allocations: 254.8 kB / 1.005 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.809e-05/0.3578, allocations: 21.19 kB / 1.005 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/0.3588, allocations: 397.8 kB / 1.005 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=74): time 9.438e-06/0.3588, allocations: 0 / 1.005 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of matching and sorting (n=74): time 0.00192/0.3608, allocations: 0.8335 MB / 1.006 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.3609, allocations: 170.8 kB / 1.006 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.3623, allocations: 0.8938 MB / 1.007 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.389e-05/0.3624, allocations: 49.64 kB / 1.007 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006681/0.3631, allocations: 0.5886 MB / 1.007 GB, free: 132 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/0.3633, allocations: 240.7 kB / 1.008 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003756/0.3637, allocations: 218.4 kB / 1.008 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3639, allocations: 341.9 kB / 1.008 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006173/0.3645, allocations: 285.9 kB / 1.008 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007529/0.3653, allocations: 0.4997 MB / 1.009 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.3666, allocations: 0.7529 MB / 1.01 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.3666, allocations: 0 / 1.01 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001896/0.3685, allocations: 0.963 MB / 1.011 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.758e-05/0.3686, allocations: 48.34 kB / 1.011 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.3686, allocations: 4 kB / 1.011 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.317e-05/0.3686, allocations: 12 kB / 1.011 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006396/0.3693, allocations: 168.2 kB / 1.011 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.473e-05/0.3693, allocations: 15.94 kB / 1.011 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008658/0.3702, allocations: 190.5 kB / 1.011 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.303e-05/0.3703, allocations: 39.94 kB / 1.011 GB, free: 12.17 MB / 0.7448 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.0006237/0.3709, allocations: 309.4 kB / 1.011 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.3711, allocations: 102.7 kB / 1.011 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/0.3725, allocations: 0.6378 MB / 1.012 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.3725, allocations: 8 kB / 1.012 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/0.3726, allocations: 0 / 1.012 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.3726, allocations: 3.984 kB / 1.012 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004026/0.3766, allocations: 2.435 MB / 1.015 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/0.3766, allocations: 12.19 kB / 1.015 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005196/0.3772, allocations: 131.8 kB / 1.015 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-05/0.3772, allocations: 11.94 kB / 1.015 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.448e-05/0.3773, allocations: 24 kB / 1.015 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.45e-05/0.3773, allocations: 15.94 kB / 1.015 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.186e-05/0.3773, allocations: 15.92 kB / 1.015 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002505/0.3798, allocations: 1.964 MB / 1.017 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00026/0.3801, allocations: 203.6 kB / 1.017 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.3802, allocations: 27.98 kB / 1.017 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004767/0.3807, allocations: 43.97 kB / 1.017 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/0.3809, allocations: 92.09 kB / 1.017 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.856e-05/0.381, allocations: 35.98 kB / 1.017 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0008088/0.3818, allocations: 0.5704 MB / 1.018 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.51e-07/0.3818, allocations: 0 / 1.018 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001091/0.3829, allocations: 247 kB / 1.018 GB, free: 4.949 MB / 0.7448 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.000308/0.3832, allocations: 149 kB / 1.018 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001679/0.3849, allocations: 0.7715 MB / 1.019 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.3849, allocations: 0 / 1.019 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008489/0.3858, allocations: 418.5 kB / 1.019 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008729/0.3867, allocations: 133.1 kB / 1.019 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004621/0.3913, allocations: 2.813 MB / 1.022 GB, free: 0.5234 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5378/0.9291, allocations: 1.105 MB / 1.023 GB, free: 96.15 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006635/0.9298, allocations: 121.3 kB / 1.023 GB, free: 96.14 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.9301, allocations: 72.72 kB / 1.023 GB, free: 96.14 MB / 0.7448 GB Notification: Performance of SimCode: time 8.52e-07/0.9301, allocations: 0 / 1.023 GB, free: 96.14 MB / 0.7448 GB Notification: Performance of Templates: time 0.01782/0.9479, allocations: 8.336 MB / 1.031 GB, free: 95.84 MB / 0.7448 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)