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.001073/0.001073, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001413/0.001413, allocations: 192.6 kB / 16.25 MB, free: 6.617 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.726/1.726, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.587/1.587, allocations: 251.6 MB / 0.5089 GB, free: 3.312 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.001432/0.001432, allocations: 67.89 kB / 0.6218 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7716/0.773, allocations: 104.7 MB / 0.724 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.006125/0.7792, allocations: 4.5 MB / 0.7284 GB, free: 8.551 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003186/0.7824, allocations: 1.182 MB / 0.7296 GB, free: 7.363 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.7836, allocations: 23.94 kB / 0.7296 GB, free: 7.34 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006401/0.7844, allocations: 130.7 kB / 0.7297 GB, free: 7.211 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005158/0.7849, allocations: 71.31 kB / 0.7298 GB, free: 7.141 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.7862, allocations: 443.7 kB / 0.7302 GB, free: 6.707 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001579/0.7878, allocations: 1.393 MB / 0.7316 GB, free: 5.309 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001374/0.7892, allocations: 0.933 MB / 0.7325 GB, free: 4.336 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000598/0.7898, allocations: 0.5136 MB / 0.733 GB, free: 3.82 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005189/0.7903, allocations: 0.5752 MB / 0.7336 GB, free: 3.242 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001954/0.7905, allocations: 172 kB / 0.7337 GB, free: 3.074 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.7907, allocations: 176 kB / 0.7339 GB, free: 2.902 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002693/0.791, allocations: 342.9 kB / 0.7342 GB, free: 2.566 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005648/0.7915, allocations: 0.6372 MB / 0.7348 GB, free: 1.926 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001794/0.7933, allocations: 1.953 MB / 0.7367 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.7934, allocations: 0 / 0.7367 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7934, allocations: 0 / 0.7367 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.895e-05/0.7934, allocations: 0 / 0.7367 GB, free: 15.97 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.002355/0.7958, allocations: 1.479 MB / 0.7382 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.7958, allocations: 8.031 kB / 0.7382 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002084/0.796, allocations: 147.2 kB / 0.7383 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008586/0.7969, allocations: 0.6655 MB / 0.739 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.797, allocations: 119.1 kB / 0.7391 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.7972, allocations: 136.4 kB / 0.7392 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002251/0.7994, allocations: 1.091 MB / 0.7403 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/0.7995, allocations: 3.938 kB / 0.7403 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.7996, allocations: 60 kB / 0.7404 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/0.7996, allocations: 32 kB / 0.7404 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.8013, allocations: 0.94 MB / 0.7413 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00472/0.8061, allocations: 3.072 MB / 0.7443 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.8072, allocations: 0.5651 MB / 0.7449 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004593/0.8077, allocations: 262.7 kB / 0.7451 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.409e-05/0.8078, allocations: 12.8 kB / 0.7451 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000713/0.8085, allocations: 397.7 kB / 0.7455 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=74): time 2.515e-06/0.8085, allocations: 0 / 0.7455 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74): time 0.001639/0.8102, allocations: 0.8103 MB / 0.7463 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.8103, allocations: 162.8 kB / 0.7464 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000976/0.8113, allocations: 0.821 MB / 0.7473 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.95e-05/0.8113, allocations: 45.7 kB / 0.7473 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004462/0.8118, allocations: 0.5497 MB / 0.7478 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/0.812, allocations: 252.4 kB / 0.7481 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002803/0.8123, allocations: 202.5 kB / 0.7483 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.8124, allocations: 341.9 kB / 0.7486 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005121/0.813, allocations: 253.9 kB / 0.7488 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006716/0.8136, allocations: 0.4931 MB / 0.7493 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.8147, allocations: 0.6958 MB / 0.75 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.8147, allocations: 0 / 0.75 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001536/0.8163, allocations: 0.8599 MB / 0.7508 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.8163, allocations: 12.06 kB / 0.7508 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.8163, allocations: 8 kB / 0.7509 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.8163, allocations: 12 kB / 0.7509 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006497/0.817, allocations: 171.7 kB / 0.751 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.133e-05/0.817, allocations: 19.86 kB / 0.751 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006679/0.8177, allocations: 154.6 kB / 0.7512 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.056e-05/0.8178, allocations: 40 kB / 0.7512 GB, free: 0.6484 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.000478/0.8183, allocations: 273.6 kB / 0.7515 GB, free: 380 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.8184, allocations: 90.78 kB / 0.7516 GB, free: 288 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.8197, allocations: 0.6253 MB / 0.7522 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.8198, allocations: 8 kB / 0.7522 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.8198, allocations: 3.984 kB / 0.7522 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-05/0.8198, allocations: 11.97 kB / 0.7522 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003647/0.8234, allocations: 2.37 MB / 0.7545 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.19e-05/0.8235, allocations: 8.938 kB / 0.7545 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005042/0.824, allocations: 135.8 kB / 0.7547 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.696e-05/0.824, allocations: 16 kB / 0.7547 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.738e-05/0.8241, allocations: 23.98 kB / 0.7547 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.348e-05/0.8241, allocations: 11.94 kB / 0.7547 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.377e-06/0.8241, allocations: 8 kB / 0.7547 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.8256, allocations: 0.9479 MB / 0.7556 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002455/0.8259, allocations: 195.7 kB / 0.7558 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.826, allocations: 24 kB / 0.7559 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004736/0.8265, allocations: 47.95 kB / 0.7559 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/0.8267, allocations: 100.1 kB / 0.756 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.537e-05/0.8268, allocations: 28 kB / 0.756 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007093/0.8275, allocations: 0.5225 MB / 0.7565 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.452e-06/0.8275, allocations: 0 / 0.7565 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007952/0.8283, allocations: 230.9 kB / 0.7568 GB, free: 10.69 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.0002279/0.8286, allocations: 143 kB / 0.7569 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001575/0.8301, allocations: 0.7047 MB / 0.7576 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.8301, allocations: 0 / 0.7576 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008173/0.831, allocations: 397.1 kB / 0.758 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008306/0.8318, allocations: 115.2 kB / 0.7581 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003653/0.8355, allocations: 2.294 MB / 0.7603 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008124/0.8363, allocations: 1.053 MB / 0.7613 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004761/0.8368, allocations: 111 kB / 0.7614 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.837, allocations: 75.42 kB / 0.7615 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of SimCode: time 4.71e-07/0.837, allocations: 4 kB / 0.7615 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of Templates: time 0.01696/0.854, allocations: 7.008 MB / 0.7684 GB, free: 14.73 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.makefile (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)