Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.0008061/0.0008059, allocations: 91.84 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.005286/0.005286, allocations: 170.2 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.635/1.635, allocations: 205.4 MB / 222.4 MB, free: 5.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.611/1.611, allocations: 252 MB / 0.5105 GB, free: 4.656 MB / 414.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.0005453/0.0005453, allocations: 12 kB / 0.6249 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6013/0.6018, allocations: 106.3 MB / 0.7288 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.004549/0.6064, allocations: 4.002 MB / 0.7327 GB, free: 7.227 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00255/0.609, allocations: 1.178 MB / 0.7338 GB, free: 6.043 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006215/0.6096, allocations: 19.94 kB / 0.7339 GB, free: 6.023 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003902/0.61, allocations: 122.7 kB / 0.734 GB, free: 5.902 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003404/0.6104, allocations: 71.33 kB / 0.734 GB, free: 5.832 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009383/0.6113, allocations: 451.5 kB / 0.7345 GB, free: 5.391 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001269/0.6126, allocations: 1.28 MB / 0.7357 GB, free: 4.105 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.6139, allocations: 0.8784 MB / 0.7366 GB, free: 3.188 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004274/0.6143, allocations: 318 kB / 0.7369 GB, free: 2.875 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003598/0.6147, allocations: 389.2 kB / 0.7372 GB, free: 2.492 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.423e-05/0.6148, allocations: 35.94 kB / 0.7373 GB, free: 2.457 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.437e-05/0.6149, allocations: 32 kB / 0.7373 GB, free: 2.426 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.615, allocations: 171 kB / 0.7375 GB, free: 2.258 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003822/0.6154, allocations: 486.2 kB / 0.7379 GB, free: 1.773 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001542/0.617, allocations: 1.808 MB / 0.7397 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.617, allocations: 0 / 0.7397 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.735e-06/0.617, allocations: 0 / 0.7397 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.679e-05/0.617, allocations: 4 kB / 0.7397 GB, free: 15.96 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.002047/0.6191, allocations: 1.249 MB / 0.7409 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.6191, allocations: 8.031 kB / 0.7409 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002219/0.6193, allocations: 155.2 kB / 0.7411 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000878/0.6202, allocations: 0.6578 MB / 0.7417 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.6203, allocations: 111.1 kB / 0.7418 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.6205, allocations: 136.4 kB / 0.742 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/0.6224, allocations: 1.11 MB / 0.743 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.6225, allocations: 3.938 kB / 0.7431 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.32e-05/0.6226, allocations: 56 kB / 0.7431 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.6226, allocations: 32 kB / 0.7431 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.6243, allocations: 0.9556 MB / 0.7441 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00451/0.6288, allocations: 3.095 MB / 0.7471 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.63, allocations: 0.5764 MB / 0.7477 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004663/0.6305, allocations: 270.7 kB / 0.7479 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.475e-05/0.6305, allocations: 8.656 kB / 0.7479 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007219/0.6312, allocations: 401.9 kB / 0.7483 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=74): time 2.394e-06/0.6312, allocations: 0 / 0.7483 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74): time 0.001566/0.6328, allocations: 0.8375 MB / 0.7491 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.789e-05/0.6329, allocations: 162.8 kB / 0.7493 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009419/0.6339, allocations: 0.821 MB / 0.7501 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.119e-05/0.6339, allocations: 41.7 kB / 0.7501 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00041/0.6344, allocations: 0.558 MB / 0.7507 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.6346, allocations: 252.5 kB / 0.7509 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.6347, allocations: 105.7 kB / 0.751 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.6348, allocations: 341.9 kB / 0.7513 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000529/0.6354, allocations: 273.9 kB / 0.7516 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006861/0.6361, allocations: 0.4888 MB / 0.7521 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.6371, allocations: 0.7037 MB / 0.7528 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.6371, allocations: 7.938 kB / 0.7528 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001423/0.6386, allocations: 0.8794 MB / 0.7536 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.6386, allocations: 8 kB / 0.7536 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.6386, allocations: 4 kB / 0.7536 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.6386, allocations: 12 kB / 0.7536 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006194/0.6393, allocations: 171.7 kB / 0.7538 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.035e-05/0.6393, allocations: 19.98 kB / 0.7538 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005652/0.6399, allocations: 178.6 kB / 0.754 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.969e-05/0.6399, allocations: 36 kB / 0.754 GB, free: 0.8008 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 34 ($whenCondition1,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.pulseStart,$PRE.winSta.pulseStart,actAirSet_RehBox1.hys.y,$PRE.actAirSet_RehBox1.hys.y,actAirSet_RehBox1.not1.y,actAirSet_RehBox1.uWin,actAirSet_RehBox.hys.y,$PRE.actAirSet_RehBox.hys.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): 119 * Array equations: 0 * Algorithm blocks: 0 * 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.0003682/0.6403, allocations: 285.5 kB / 0.7543 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.6404, allocations: 94.78 kB / 0.7544 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/0.6416, allocations: 0.6292 MB / 0.755 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.6417, allocations: 12 kB / 0.755 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.6417, allocations: 3.938 kB / 0.755 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.557e-06/0.6417, allocations: 3.984 kB / 0.755 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003014/0.6447, allocations: 2.393 MB / 0.7574 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.6447, allocations: 8.938 kB / 0.7574 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000478/0.6452, allocations: 136.3 kB / 0.7575 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.248e-05/0.6452, allocations: 12 kB / 0.7575 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.473e-05/0.6453, allocations: 27.98 kB / 0.7575 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.137e-05/0.6453, allocations: 15.94 kB / 0.7576 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.6453, allocations: 11.94 kB / 0.7576 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.6466, allocations: 0.9673 MB / 0.7585 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.6468, allocations: 187.8 kB / 0.7587 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.419e-05/0.6469, allocations: 27.98 kB / 0.7587 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004481/0.6473, allocations: 55.97 kB / 0.7588 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.6475, allocations: 100.1 kB / 0.7589 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.215e-05/0.6476, allocations: 28 kB / 0.7589 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006068/0.6482, allocations: 0.5263 MB / 0.7594 GB, free: 11 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6482, allocations: 3.938 kB / 0.7594 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006446/0.6488, allocations: 227 kB / 0.7596 GB, free: 10.77 MB / 0.5762 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,actAirSet_RehBox.hys.y,actAirSet_RehBox1.uWin,actAirSet_RehBox1.hys.y,winSta.pulseStart,actAirSet_RehBox1.not1.y,actAirSet_RehBox.not1.y) * Number of discrete states: 2 (actAirSet_RehBox1.hys.y,actAirSet_RehBox.hys.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.0001803/0.649, allocations: 143 kB / 0.7598 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001204/0.6502, allocations: 0.681 MB / 0.7604 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6502, allocations: 1.562 kB / 0.7604 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000748/0.651, allocations: 402.8 kB / 0.7608 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.6524, allocations: 116.3 kB / 0.7609 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003004/0.6554, allocations: 2.306 MB / 0.7632 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006298/0.656, allocations: 1.058 MB / 0.7642 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004172/0.6565, allocations: 115 kB / 0.7643 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.6567, allocations: 71.42 kB / 0.7644 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.6567, allocations: 3.938 kB / 0.7644 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of Templates: time 0.0138/0.6705, allocations: 6.592 MB / 0.7708 GB, free: 15.23 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1) Environment - environmentSimulation: