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.001186/0.001186, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001349, allocations: 195.3 kB / 16.64 MB, free: 6.453 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.611/1.611, allocations: 205.1 MB / 222.5 MB, free: 4.578 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.855/1.855, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001467/0.001467, allocations: 64.06 kB / 0.6723 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2895, allocations: 114.6 MB / 0.7842 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.006834/0.2964, allocations: 4.173 MB / 0.7883 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005896/0.3023, allocations: 2.311 MB / 0.7905 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.3038, allocations: 27.94 kB / 0.7905 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006706/0.3045, allocations: 205.5 kB / 0.7907 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004874/0.3051, allocations: 142.3 kB / 0.7909 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.3067, allocations: 0.6512 MB / 0.7915 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002174/0.3089, allocations: 1.568 MB / 0.793 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001877/0.3108, allocations: 1.032 MB / 0.794 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007726/0.3116, allocations: 0.5603 MB / 0.7946 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006591/0.3122, allocations: 0.6374 MB / 0.7952 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002499/0.3125, allocations: 184 kB / 0.7954 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000246/0.3127, allocations: 196 kB / 0.7956 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003073/0.3131, allocations: 354.8 kB / 0.7959 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005559/0.3136, allocations: 0.6956 MB / 0.7966 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002423/0.316, allocations: 2.238 MB / 0.7988 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.3161, allocations: 0 / 0.7988 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3161, allocations: 0 / 0.7988 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.379e-05/0.3161, allocations: 4 kB / 0.7988 GB, free: 13.64 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.002772/0.3189, allocations: 1.594 MB / 0.8003 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.319, allocations: 12.02 kB / 0.8004 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003474/0.3193, allocations: 163.1 kB / 0.8005 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.3205, allocations: 0.7511 MB / 0.8012 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.3206, allocations: 115.2 kB / 0.8014 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.3208, allocations: 140.4 kB / 0.8015 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/0.3229, allocations: 1.143 MB / 0.8026 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.3229, allocations: 192 / 0.8026 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.323, allocations: 63.88 kB / 0.8027 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.9e-05/0.3231, allocations: 36 kB / 0.8027 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/0.3249, allocations: 0.9755 MB / 0.8037 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005125/0.33, allocations: 3.204 MB / 0.8068 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.3315, allocations: 0.5714 MB / 0.8073 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007056/0.3322, allocations: 262.7 kB / 0.8076 GB, free: 4.426 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.622e-05/0.3323, allocations: 13.19 kB / 0.8076 GB, free: 4.414 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008132/0.3332, allocations: 409.8 kB / 0.808 GB, free: 3.984 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=74): time 2.214e-06/0.3332, allocations: 0 / 0.808 GB, free: 3.984 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74): time 0.001908/0.3351, allocations: 0.8339 MB / 0.8088 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.3352, allocations: 166.8 kB / 0.809 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.3365, allocations: 0.8976 MB / 0.8098 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.635e-05/0.3366, allocations: 45.69 kB / 0.8099 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005584/0.3371, allocations: 0.5925 MB / 0.8105 GB, free: 1.367 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/0.3374, allocations: 240.5 kB / 0.8107 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000409/0.3378, allocations: 214.4 kB / 0.8109 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.338, allocations: 341.9 kB / 0.8112 GB, free: 0.5742 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006698/0.3386, allocations: 293.9 kB / 0.8115 GB, free: 296 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000903/0.3395, allocations: 0.4998 MB / 0.812 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.3411, allocations: 0.7607 MB / 0.8127 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.3411, allocations: 4 kB / 0.8127 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001835/0.343, allocations: 0.9583 MB / 0.8137 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.466e-05/0.343, allocations: 38.52 kB / 0.8137 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.3431, allocations: 8 kB / 0.8137 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.3431, allocations: 15.98 kB / 0.8137 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006432/0.3437, allocations: 167.7 kB / 0.8139 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.532e-05/0.3438, allocations: 15.94 kB / 0.8139 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009505/0.3447, allocations: 174.6 kB / 0.8141 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.692e-05/0.3448, allocations: 43.98 kB / 0.8141 GB, free: 13.41 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.0005402/0.3454, allocations: 297.5 kB / 0.8144 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.3455, allocations: 102.6 kB / 0.8145 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.3468, allocations: 0.6339 MB / 0.8151 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.3468, allocations: 8 kB / 0.8151 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.3468, allocations: 4 kB / 0.8151 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.3468, allocations: 3.984 kB / 0.8151 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003565/0.3504, allocations: 2.423 MB / 0.8175 GB, free: 9.777 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.3504, allocations: 8 kB / 0.8175 GB, free: 9.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000497/0.3509, allocations: 135.8 kB / 0.8176 GB, free: 9.637 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.521e-05/0.351, allocations: 16.66 kB / 0.8177 GB, free: 9.621 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.782e-05/0.351, allocations: 23.98 kB / 0.8177 GB, free: 9.598 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.998e-05/0.3511, allocations: 23.88 kB / 0.8177 GB, free: 9.574 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/0.3511, allocations: 11.94 kB / 0.8177 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/0.3525, allocations: 0.952 MB / 0.8186 GB, free: 8.5 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001902/0.3527, allocations: 203.6 kB / 0.8188 GB, free: 8.281 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.3528, allocations: 31.92 kB / 0.8189 GB, free: 8.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004602/0.3533, allocations: 51.89 kB / 0.8189 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.3535, allocations: 88.17 kB / 0.819 GB, free: 8.109 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.656e-05/0.3535, allocations: 27.98 kB / 0.819 GB, free: 8.082 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008334/0.3544, allocations: 0.5743 MB / 0.8196 GB, free: 7.496 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3544, allocations: 0 / 0.8196 GB, free: 7.496 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008069/0.3552, allocations: 251 kB / 0.8198 GB, free: 7.25 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.0002223/0.3554, allocations: 151 kB / 0.82 GB, free: 7.094 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001532/0.357, allocations: 0.791 MB / 0.8207 GB, free: 6.293 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.357, allocations: 0 / 0.8207 GB, free: 6.293 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008674/0.3578, allocations: 419.7 kB / 0.8211 GB, free: 5.883 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007729/0.3586, allocations: 135.8 kB / 0.8213 GB, free: 5.75 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002952/0.3616, allocations: 1.9 MB / 0.8231 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006559/0.3623, allocations: 1.089 MB / 0.8242 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004282/0.3627, allocations: 123.5 kB / 0.8243 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/0.3629, allocations: 75.42 kB / 0.8244 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of SimCode: time 6.41e-07/0.3629, allocations: 0 / 0.8244 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of Templates: time 0.01881/0.3818, allocations: 8.526 MB / 0.8327 GB, free: 10 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)