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.001317/0.001317, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001744/0.001743, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.768/1.768, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.556/1.556, allocations: 251.9 MB / 0.51 GB, free: 4.938 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.0005257/0.0005258, allocations: 15.12 kB / 0.6242 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6681/0.6686, allocations: 106.3 MB / 0.728 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.005351/0.674, allocations: 3.767 MB / 0.7317 GB, free: 7.684 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003059/0.6771, allocations: 1.182 MB / 0.7329 GB, free: 6.496 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.6783, allocations: 23.94 kB / 0.7329 GB, free: 6.473 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005173/0.6788, allocations: 90.94 kB / 0.733 GB, free: 6.383 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001082/0.6799, allocations: 111.6 kB / 0.7331 GB, free: 6.273 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.6812, allocations: 327.6 kB / 0.7334 GB, free: 5.953 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001567/0.6828, allocations: 0.7612 MB / 0.7341 GB, free: 5.188 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001367/0.6842, allocations: 0.6491 MB / 0.7348 GB, free: 4.52 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004753/0.6847, allocations: 290.3 kB / 0.735 GB, free: 4.234 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004921/0.6852, allocations: 369.5 kB / 0.7354 GB, free: 3.871 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.6853, allocations: 36 kB / 0.7354 GB, free: 3.836 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.92e-05/0.6854, allocations: 32 kB / 0.7355 GB, free: 3.805 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001748/0.6856, allocations: 163.1 kB / 0.7356 GB, free: 3.645 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002327/0.6858, allocations: 213 kB / 0.7358 GB, free: 3.43 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.6875, allocations: 1.556 MB / 0.7373 GB, free: 1.871 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.6875, allocations: 0 / 0.7373 GB, free: 1.871 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.745e-06/0.6875, allocations: 0 / 0.7373 GB, free: 1.871 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.596e-05/0.6875, allocations: 0 / 0.7373 GB, free: 1.871 MB / 0.545 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.002237/0.6898, allocations: 1.265 MB / 0.7386 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.6898, allocations: 12.03 kB / 0.7386 GB, free: 0.543 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002294/0.6901, allocations: 146.2 kB / 0.7387 GB, free: 408 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009512/0.691, allocations: 0.6568 MB / 0.7394 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/0.6911, allocations: 110.7 kB / 0.7395 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.6913, allocations: 132 kB / 0.7396 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002102/0.6934, allocations: 1.087 MB / 0.7407 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.6934, allocations: 0 / 0.7407 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.6936, allocations: 56 kB / 0.7407 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-05/0.6936, allocations: 35.98 kB / 0.7407 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/0.6954, allocations: 0.9439 MB / 0.7417 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004852/0.7002, allocations: 3.091 MB / 0.7447 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.7016, allocations: 0.5776 MB / 0.7452 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.958e-05/0.7016, allocations: 8.656 kB / 0.7453 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008028/0.7024, allocations: 397.9 kB / 0.7456 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=74): time 3.376e-06/0.7025, allocations: 0 / 0.7456 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74): time 0.001681/0.7041, allocations: 0.8257 MB / 0.7464 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.7043, allocations: 166.7 kB / 0.7466 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000971/0.7052, allocations: 0.8133 MB / 0.7474 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.444e-05/0.7053, allocations: 41.7 kB / 0.7474 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004325/0.7057, allocations: 0.5619 MB / 0.748 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.7059, allocations: 248.5 kB / 0.7482 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.706, allocations: 20 kB / 0.7482 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.7061, allocations: 341.9 kB / 0.7486 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004999/0.7066, allocations: 261.9 kB / 0.7488 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006838/0.7073, allocations: 496.5 kB / 0.7493 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00054/0.7079, allocations: 298.9 kB / 0.7496 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.7079, allocations: 0 / 0.7496 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001498/0.7094, allocations: 0.8755 MB / 0.7504 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.7094, allocations: 4 kB / 0.7504 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.7095, allocations: 8 kB / 0.7504 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.889e-05/0.7095, allocations: 12 kB / 0.7504 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006562/0.7102, allocations: 175.7 kB / 0.7506 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.995e-05/0.7102, allocations: 15.94 kB / 0.7506 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006268/0.7108, allocations: 178.4 kB / 0.7508 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.487e-05/0.7109, allocations: 36 kB / 0.7508 GB, free: 3.641 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.not1.y,$PRE.actAirSet_RehBox.hys.y,actAirSet_RehBox.hys.y,actAirSet_RehBox1.uWin,actAirSet_RehBox1.not1.y,$PRE.actAirSet_RehBox1.hys.y,actAirSet_RehBox1.hys.y,$PRE.winSta.pulseStart,winSta.pulseStart,actAirSet_RehBox1.intEqu4.y,actAirSet_RehBox1.intEqu3.y,actAirSet_RehBox1.intEqu2.y,actAirSet_RehBox1.intEqu1.y,actAirSet_RehBox1.swi3.u2,actAirSet_RehBox1.greThr1.y,actAirSet_RehBox1.gre.y,actAirSet_RehBox.intEqu4.y,actAirSet_RehBox.intEqu3.y,actAirSet_RehBox.intEqu2.y,actAirSet_RehBox.intEqu1.y,actAirSet_RehBox.swi3.u2,actAirSet_RehBox.greThr1.y,actAirSet_RehBox.gre.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004198/0.7113, allocations: 281.5 kB / 0.7511 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.7114, allocations: 102.7 kB / 0.7512 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/0.7127, allocations: 0.6292 MB / 0.7518 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/0.7127, allocations: 8 kB / 0.7518 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.649e-06/0.7127, allocations: 4 kB / 0.7518 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.7127, allocations: 7.938 kB / 0.7518 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003241/0.716, allocations: 2.386 MB / 0.7542 GB, free: 60 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.716, allocations: 8 kB / 0.7542 GB, free: 52 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005043/0.7165, allocations: 135.8 kB / 0.7543 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.732e-05/0.7165, allocations: 12 kB / 0.7543 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.751e-05/0.7166, allocations: 32.45 kB / 0.7543 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.173e-05/0.7166, allocations: 15.94 kB / 0.7544 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/0.7166, allocations: 11.94 kB / 0.7544 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.7184, allocations: 1.31 MB / 0.7557 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001733/0.7186, allocations: 187.8 kB / 0.7558 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.965e-05/0.7187, allocations: 20 kB / 0.7558 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000447/0.7191, allocations: 64 kB / 0.7559 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/0.7193, allocations: 96.19 kB / 0.756 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/0.7194, allocations: 28 kB / 0.756 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006434/0.72, allocations: 0.5146 MB / 0.7565 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.72, allocations: 0 / 0.7565 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007051/0.7207, allocations: 235 kB / 0.7568 GB, free: 13.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002138/0.7209, allocations: 146.9 kB / 0.7569 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001237/0.7222, allocations: 0.6783 MB / 0.7576 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7222, allocations: 0 / 0.7576 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00074/0.7229, allocations: 404.2 kB / 0.7579 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005531/0.7235, allocations: 99.22 kB / 0.758 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00313/0.7266, allocations: 2.177 MB / 0.7602 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000667/0.7273, allocations: 1.077 MB / 0.7612 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004139/0.7277, allocations: 111 kB / 0.7613 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.7279, allocations: 71.42 kB / 0.7614 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/0.728, allocations: 4 kB / 0.7614 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of Templates: time 0.01405/0.742, allocations: 6.354 MB / 0.7676 GB, free: 1.922 MB / 0.5762 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: