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.001088/0.001088, allocations: 98.56 kB / 16.26 MB, free: 6.418 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.001148/0.001149, allocations: 189.6 kB / 17.2 MB, free: 5.953 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.482/1.482, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.803/1.803, allocations: 292.3 MB / 0.5495 GB, free: 17.52 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.001656/0.001656, allocations: 63.91 kB / 0.6722 GB, free: 6.48 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2534, allocations: 114.6 MB / 0.7841 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.4723/0.7258, allocations: 4.159 MB / 0.7881 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003647/0.7295, allocations: 2.31 MB / 0.7904 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008013/0.7303, allocations: 29.91 kB / 0.7904 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004807/0.7308, allocations: 205 kB / 0.7906 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000377/0.7313, allocations: 139.4 kB / 0.7908 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.7324, allocations: 0.642 MB / 0.7914 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001054/0.7334, allocations: 1.57 MB / 0.7929 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.7345, allocations: 1.025 MB / 0.7939 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004712/0.735, allocations: 0.5568 MB / 0.7945 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003751/0.7354, allocations: 0.6302 MB / 0.7951 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.7356, allocations: 186.8 kB / 0.7953 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.7358, allocations: 200.5 kB / 0.7955 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001819/0.7359, allocations: 352 kB / 0.7958 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004104/0.7364, allocations: 0.7006 MB / 0.7965 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.738, allocations: 2.156 MB / 0.7986 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.738, allocations: 0.6094 kB / 0.7986 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.923e-06/0.738, allocations: 2.625 kB / 0.7986 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.857e-05/0.7381, allocations: 0 / 0.7986 GB, free: 42.85 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.002279/0.7404, allocations: 1.591 MB / 0.8001 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.7404, allocations: 13.22 kB / 0.8001 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002155/0.7406, allocations: 163 kB / 0.8003 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008662/0.7415, allocations: 0.7372 MB / 0.801 GB, free: 41.23 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.845e-05/0.7416, allocations: 116.6 kB / 0.8011 GB, free: 41.18 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.7418, allocations: 143.7 kB / 0.8013 GB, free: 41.13 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/0.7437, allocations: 1.132 MB / 0.8024 GB, free: 40.65 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.7437, allocations: 2.125 kB / 0.8024 GB, free: 40.65 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.171e-05/0.7438, allocations: 64.41 kB / 0.8024 GB, free: 40.6 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.273e-05/0.7438, allocations: 33.78 kB / 0.8025 GB, free: 40.6 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/0.7456, allocations: 0.9697 MB / 0.8034 GB, free: 40.24 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005175/0.7508, allocations: 3.247 MB / 0.8066 GB, free: 38.75 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.752, allocations: 0.5679 MB / 0.8071 GB, free: 38.51 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005089/0.7526, allocations: 258.2 kB / 0.8074 GB, free: 38.41 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.133e-05/0.7526, allocations: 12.34 kB / 0.8074 GB, free: 38.4 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008234/0.7535, allocations: 402.5 kB / 0.8078 GB, free: 38.2 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=74): time 2.385e-06/0.7535, allocations: 0.625 kB / 0.8078 GB, free: 38.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74): time 0.001808/0.7553, allocations: 0.8396 MB / 0.8086 GB, free: 37.84 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.36e-05/0.7554, allocations: 168.2 kB / 0.8088 GB, free: 37.64 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.7566, allocations: 0.8948 MB / 0.8096 GB, free: 37.24 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.304e-05/0.7567, allocations: 44.2 kB / 0.8097 GB, free: 37.2 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003926/0.7571, allocations: 0.5936 MB / 0.8103 GB, free: 36.74 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/0.7572, allocations: 239.6 kB / 0.8105 GB, free: 36.56 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003121/0.7576, allocations: 216.7 kB / 0.8107 GB, free: 36.45 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.04e-05/0.7576, allocations: 342.5 kB / 0.811 GB, free: 36.13 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005766/0.7582, allocations: 286.2 kB / 0.8113 GB, free: 36.03 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006857/0.7589, allocations: 0.5094 MB / 0.8118 GB, free: 35.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.7601, allocations: 0.749 MB / 0.8125 GB, free: 35.16 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.7601, allocations: 0.9375 kB / 0.8125 GB, free: 35.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00169/0.7618, allocations: 0.9644 MB / 0.8135 GB, free: 34.75 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.049e-05/0.7618, allocations: 41.34 kB / 0.8135 GB, free: 34.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.7618, allocations: 6.25 kB / 0.8135 GB, free: 34.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.673e-05/0.7619, allocations: 11.94 kB / 0.8135 GB, free: 34.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006656/0.7626, allocations: 175.3 kB / 0.8137 GB, free: 34.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.205e-05/0.7626, allocations: 16.27 kB / 0.8137 GB, free: 34.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007562/0.7634, allocations: 186.2 kB / 0.8139 GB, free: 34.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.307e-05/0.7634, allocations: 40.27 kB / 0.8139 GB, free: 34.59 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.0004037/0.7638, allocations: 297 kB / 0.8142 GB, free: 34.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.764, allocations: 101.4 kB / 0.8143 GB, free: 34.31 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.7652, allocations: 0.634 MB / 0.8149 GB, free: 34.02 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.7652, allocations: 12.75 kB / 0.8149 GB, free: 34.01 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.7652, allocations: 1.062 kB / 0.8149 GB, free: 34.01 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.7652, allocations: 9.094 kB / 0.8149 GB, free: 34.01 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003182/0.7684, allocations: 2.431 MB / 0.8173 GB, free: 32.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.7685, allocations: 6.438 kB / 0.8173 GB, free: 32.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004905/0.7689, allocations: 129.6 kB / 0.8174 GB, free: 32.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.354e-05/0.769, allocations: 17.91 kB / 0.8175 GB, free: 32.54 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.843e-05/0.769, allocations: 22.48 kB / 0.8175 GB, free: 32.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-05/0.769, allocations: 12.66 kB / 0.8175 GB, free: 32.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.628e-06/0.7691, allocations: 12.66 kB / 0.8175 GB, free: 32.52 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.7703, allocations: 0.9592 MB / 0.8184 GB, free: 31.84 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.7705, allocations: 206.2 kB / 0.8186 GB, free: 31.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.7706, allocations: 31.09 kB / 0.8187 GB, free: 31.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004379/0.771, allocations: 43.52 kB / 0.8187 GB, free: 31.64 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/0.7712, allocations: 87.75 kB / 0.8188 GB, free: 31.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.742e-05/0.7713, allocations: 34.41 kB / 0.8188 GB, free: 31.61 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007904/0.7721, allocations: 0.5753 MB / 0.8194 GB, free: 31.35 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7721, allocations: 0 / 0.8194 GB, free: 31.35 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008828/0.773, allocations: 250.6 kB / 0.8196 GB, free: 31.27 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.0001952/0.7732, allocations: 136.6 kB / 0.8198 GB, free: 31.16 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001578/0.7748, allocations: 0.8165 MB / 0.8206 GB, free: 30.81 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.7748, allocations: 3.406 kB / 0.8206 GB, free: 30.81 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007799/0.7756, allocations: 426.4 kB / 0.821 GB, free: 30.64 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007566/0.7763, allocations: 123.2 kB / 0.8211 GB, free: 30.58 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/0.7792, allocations: 1.978 MB / 0.823 GB, free: 29.3 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000701/0.7799, allocations: 1.086 MB / 0.8241 GB, free: 28.59 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000276/0.7802, allocations: 83.58 kB / 0.8242 GB, free: 28.57 MB / 0.6544 GB Notification: Performance of SimCode: time 3.9e-07/0.7802, allocations: 0 / 0.8242 GB, free: 28.57 MB / 0.6544 GB Notification: Performance of Templates: time 0.02757/0.8078, allocations: 12.61 MB / 0.8365 GB, free: 25.55 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)