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.001384/0.001385, allocations: 100.5 kB / 16.35 MB, free: 6.305 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.001363/0.001363, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.406/1.406, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.81/1.81, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001439/0.001439, allocations: 75.88 kB / 0.673 GB, free: 5.746 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2282, allocations: 114.6 MB / 0.7848 GB, free: 3.082 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.3784/0.6066, allocations: 4.161 MB / 0.7889 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004313/0.611, allocations: 2.301 MB / 0.7911 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001288/0.6123, allocations: 30.58 kB / 0.7912 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006522/0.6131, allocations: 208.3 kB / 0.7914 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005235/0.6136, allocations: 140.9 kB / 0.7915 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.6149, allocations: 0.6476 MB / 0.7921 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001327/0.6163, allocations: 1.573 MB / 0.7937 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.6175, allocations: 1.024 MB / 0.7947 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005623/0.6181, allocations: 0.5668 MB / 0.7952 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000434/0.6185, allocations: 0.6257 MB / 0.7958 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001835/0.6187, allocations: 191.9 kB / 0.796 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.6189, allocations: 196.6 kB / 0.7962 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.6191, allocations: 358.9 kB / 0.7966 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003935/0.6195, allocations: 0.7014 MB / 0.7972 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001822/0.6214, allocations: 2.233 MB / 0.7994 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.6214, allocations: 3.344 kB / 0.7994 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6214, allocations: 0 / 0.7994 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.084e-05/0.6214, allocations: 0 / 0.7994 GB, free: 43.14 MB / 0.6544 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.002403/0.6238, allocations: 1.596 MB / 0.801 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.6239, allocations: 7.875 kB / 0.801 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002311/0.6241, allocations: 161.6 kB / 0.8011 GB, free: 42 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.6251, allocations: 0.7557 MB / 0.8019 GB, free: 41.48 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.586e-05/0.6253, allocations: 115 kB / 0.802 GB, free: 41.43 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.6254, allocations: 143 kB / 0.8021 GB, free: 41.39 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/0.6274, allocations: 1.137 MB / 0.8032 GB, free: 40.91 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.6275, allocations: 0.75 kB / 0.8032 GB, free: 40.91 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.083e-05/0.6276, allocations: 64.89 kB / 0.8033 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.077e-05/0.6276, allocations: 34 kB / 0.8033 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/0.6295, allocations: 0.9746 MB / 0.8043 GB, free: 40.49 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005272/0.6348, allocations: 3.208 MB / 0.8074 GB, free: 38.95 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/0.6361, allocations: 0.5645 MB / 0.808 GB, free: 38.71 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005177/0.6366, allocations: 256.8 kB / 0.8082 GB, free: 38.6 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.054e-05/0.6367, allocations: 14.47 kB / 0.8082 GB, free: 38.6 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000769/0.6374, allocations: 404.8 kB / 0.8086 GB, free: 38.39 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=74): time 2.415e-06/0.6375, allocations: 0 / 0.8086 GB, free: 38.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74): time 0.001872/0.6393, allocations: 0.8354 MB / 0.8094 GB, free: 38.03 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.919e-05/0.6394, allocations: 168.1 kB / 0.8096 GB, free: 37.84 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.6407, allocations: 0.8972 MB / 0.8105 GB, free: 37.43 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-05/0.6408, allocations: 39.92 kB / 0.8105 GB, free: 37.39 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004405/0.6412, allocations: 0.5945 MB / 0.8111 GB, free: 36.92 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.6414, allocations: 246 kB / 0.8113 GB, free: 36.73 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003192/0.6417, allocations: 209.4 kB / 0.8115 GB, free: 36.63 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.414e-05/0.6418, allocations: 342.4 kB / 0.8118 GB, free: 36.31 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006189/0.6424, allocations: 294.2 kB / 0.8121 GB, free: 36.2 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007093/0.6432, allocations: 0.5048 MB / 0.8126 GB, free: 35.83 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.6443, allocations: 0.7508 MB / 0.8134 GB, free: 35.3 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/0.6443, allocations: 1.938 kB / 0.8134 GB, free: 35.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001751/0.6461, allocations: 0.9594 MB / 0.8143 GB, free: 34.88 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.176e-05/0.6461, allocations: 46.64 kB / 0.8143 GB, free: 34.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.6461, allocations: 6.875 kB / 0.8143 GB, free: 34.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.839e-05/0.6462, allocations: 13.53 kB / 0.8144 GB, free: 34.83 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006494/0.6468, allocations: 175.8 kB / 0.8145 GB, free: 34.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.912e-05/0.6469, allocations: 12.12 kB / 0.8145 GB, free: 34.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008013/0.6477, allocations: 182 kB / 0.8147 GB, free: 34.72 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/0.6478, allocations: 42.52 kB / 0.8147 GB, free: 34.71 MB / 0.6544 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.0004677/0.6482, allocations: 300 kB / 0.815 GB, free: 34.48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.6484, allocations: 102.1 kB / 0.8151 GB, free: 34.43 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.6497, allocations: 0.6313 MB / 0.8157 GB, free: 34.14 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.6497, allocations: 7.875 kB / 0.8158 GB, free: 34.14 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.6497, allocations: 1.828 kB / 0.8158 GB, free: 34.14 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.6497, allocations: 4.875 kB / 0.8158 GB, free: 34.14 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003345/0.6531, allocations: 2.435 MB / 0.8181 GB, free: 32.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/0.6531, allocations: 7.312 kB / 0.8181 GB, free: 32.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005288/0.6536, allocations: 130.1 kB / 0.8183 GB, free: 32.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-05/0.6537, allocations: 15.16 kB / 0.8183 GB, free: 32.64 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-05/0.6537, allocations: 22.69 kB / 0.8183 GB, free: 32.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.481e-05/0.6537, allocations: 23.2 kB / 0.8183 GB, free: 32.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.6538, allocations: 12.5 kB / 0.8183 GB, free: 32.62 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.655, allocations: 0.9559 MB / 0.8193 GB, free: 31.95 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001897/0.6552, allocations: 206.7 kB / 0.8195 GB, free: 31.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.6553, allocations: 29.92 kB / 0.8195 GB, free: 31.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004487/0.6558, allocations: 44.05 kB / 0.8195 GB, free: 31.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.656, allocations: 87.44 kB / 0.8196 GB, free: 31.72 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.094e-05/0.656, allocations: 30.5 kB / 0.8197 GB, free: 31.71 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007767/0.6568, allocations: 0.5753 MB / 0.8202 GB, free: 31.45 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.1e-07/0.6568, allocations: 3 kB / 0.8202 GB, free: 31.45 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009265/0.6578, allocations: 244.2 kB / 0.8205 GB, free: 31.38 MB / 0.6544 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.0001996/0.658, allocations: 145.2 kB / 0.8206 GB, free: 31.26 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001487/0.6595, allocations: 0.7927 MB / 0.8214 GB, free: 30.93 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.6595, allocations: 1.438 kB / 0.8214 GB, free: 30.93 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007816/0.6603, allocations: 427.2 kB / 0.8218 GB, free: 30.76 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008481/0.6611, allocations: 129.8 kB / 0.8219 GB, free: 30.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002856/0.664, allocations: 1.944 MB / 0.8238 GB, free: 29.45 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006398/0.6646, allocations: 1.089 MB / 0.8249 GB, free: 28.73 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002943/0.6649, allocations: 84.5 kB / 0.8249 GB, free: 28.72 MB / 0.6544 GB Notification: Performance of SimCode: time 7.32e-07/0.665, allocations: 0 / 0.8249 GB, free: 28.72 MB / 0.6544 GB Notification: Performance of Templates: time 0.02553/0.6905, allocations: 12.63 MB / 0.8373 GB, free: 25.59 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)