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.001119/0.001119, allocations: 107.4 kB / 16.29 MB, free: 6.43 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.001158/0.001159, allocations: 184 kB / 17.22 MB, free: 5.934 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.532/1.532, 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.881/1.881, allocations: 292.3 MB / 0.5495 GB, free: 17.43 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.001534/0.001534, allocations: 59.91 kB / 0.6723 GB, free: 6.434 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2513, allocations: 114.5 MB / 0.7841 GB, free: 3.77 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.4713/0.7226, allocations: 4.174 MB / 0.7882 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005193/0.7279, allocations: 2.298 MB / 0.7904 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001761/0.7297, allocations: 33.83 kB / 0.7905 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007187/0.7305, allocations: 205.3 kB / 0.7907 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005402/0.7311, allocations: 141.8 kB / 0.7908 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.7325, allocations: 0.6446 MB / 0.7914 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001639/0.7341, allocations: 1.576 MB / 0.793 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001478/0.7356, allocations: 1.025 MB / 0.794 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008098/0.7364, allocations: 0.5576 MB / 0.7945 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000555/0.737, allocations: 0.6361 MB / 0.7951 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002133/0.7372, allocations: 181.5 kB / 0.7953 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002572/0.7375, allocations: 200.8 kB / 0.7955 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002253/0.7377, allocations: 355.9 kB / 0.7958 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005294/0.7383, allocations: 0.7008 MB / 0.7965 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002251/0.7405, allocations: 2.238 MB / 0.7987 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.7405, allocations: 0 / 0.7987 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.145e-06/0.7406, allocations: 1.359 kB / 0.7987 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.584e-05/0.7406, allocations: 0 / 0.7987 GB, free: 42.79 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.002892/0.7435, allocations: 1.592 MB / 0.8003 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.7436, allocations: 9.156 kB / 0.8003 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000262/0.7439, allocations: 159.7 kB / 0.8004 GB, free: 41.66 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.7449, allocations: 0.7432 MB / 0.8012 GB, free: 41.17 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.745, allocations: 120.7 kB / 0.8013 GB, free: 41.12 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.7452, allocations: 145.7 kB / 0.8014 GB, free: 41.07 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002274/0.7475, allocations: 1.139 MB / 0.8025 GB, free: 40.59 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.238e-05/0.7475, allocations: 0.7969 kB / 0.8025 GB, free: 40.59 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.7476, allocations: 57.72 kB / 0.8026 GB, free: 40.55 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.181e-05/0.7477, allocations: 34.91 kB / 0.8026 GB, free: 40.55 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002001/0.7497, allocations: 0.969 MB / 0.8036 GB, free: 40.18 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005982/0.7557, allocations: 3.206 MB / 0.8067 GB, free: 38.7 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.7572, allocations: 0.5661 MB / 0.8072 GB, free: 38.46 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005462/0.7577, allocations: 263 kB / 0.8075 GB, free: 38.36 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.632e-05/0.7578, allocations: 12.8 kB / 0.8075 GB, free: 38.36 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009443/0.7587, allocations: 398.2 kB / 0.8079 GB, free: 38.15 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=74): time 6.021e-06/0.7588, allocations: 0 / 0.8079 GB, free: 38.15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74): time 0.002083/0.7609, allocations: 0.8341 MB / 0.8087 GB, free: 37.8 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.129e-05/0.7609, allocations: 170.6 kB / 0.8089 GB, free: 37.61 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/0.7624, allocations: 0.8929 MB / 0.8097 GB, free: 37.2 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.7625, allocations: 44.39 kB / 0.8098 GB, free: 37.16 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004954/0.763, allocations: 0.597 MB / 0.8104 GB, free: 36.7 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/0.7633, allocations: 241.7 kB / 0.8106 GB, free: 36.52 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003509/0.7636, allocations: 213.6 kB / 0.8108 GB, free: 36.41 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.736e-05/0.7637, allocations: 347.6 kB / 0.8111 GB, free: 36.09 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006334/0.7644, allocations: 285.8 kB / 0.8114 GB, free: 35.99 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007531/0.7651, allocations: 0.5107 MB / 0.8119 GB, free: 35.62 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.7664, allocations: 0.7467 MB / 0.8126 GB, free: 35.11 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/0.7664, allocations: 1.312 kB / 0.8126 GB, free: 35.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002167/0.7686, allocations: 0.9654 MB / 0.8136 GB, free: 34.67 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.405e-05/0.7686, allocations: 36.83 kB / 0.8136 GB, free: 34.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.7687, allocations: 6.469 kB / 0.8136 GB, free: 34.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.919e-05/0.7687, allocations: 10.94 kB / 0.8136 GB, free: 34.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006832/0.7694, allocations: 176.8 kB / 0.8138 GB, free: 34.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.452e-05/0.7694, allocations: 12.86 kB / 0.8138 GB, free: 34.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000862/0.7703, allocations: 184.7 kB / 0.814 GB, free: 34.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.297e-05/0.7704, allocations: 40.95 kB / 0.814 GB, free: 34.52 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.000544/0.771, allocations: 301.4 kB / 0.8143 GB, free: 34.29 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.7711, allocations: 100.3 kB / 0.8144 GB, free: 34.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/0.7725, allocations: 0.6321 MB / 0.815 GB, free: 33.94 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.7726, allocations: 8.562 kB / 0.815 GB, free: 33.94 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.7726, allocations: 0 / 0.815 GB, free: 33.94 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.7726, allocations: 6.234 kB / 0.815 GB, free: 33.94 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003918/0.7765, allocations: 2.435 MB / 0.8174 GB, free: 32.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.7766, allocations: 11.94 kB / 0.8174 GB, free: 32.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005861/0.7771, allocations: 133 kB / 0.8176 GB, free: 32.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-05/0.7772, allocations: 13.72 kB / 0.8176 GB, free: 32.46 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.035e-05/0.7772, allocations: 24.92 kB / 0.8176 GB, free: 32.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.879e-05/0.7773, allocations: 14.73 kB / 0.8176 GB, free: 32.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.247e-06/0.7773, allocations: 13.14 kB / 0.8176 GB, free: 32.45 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.7788, allocations: 0.9608 MB / 0.8186 GB, free: 31.77 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002216/0.7791, allocations: 201.9 kB / 0.8187 GB, free: 31.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.7792, allocations: 28.14 kB / 0.8188 GB, free: 31.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004405/0.7796, allocations: 47.77 kB / 0.8188 GB, free: 31.57 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/0.7798, allocations: 86.72 kB / 0.8189 GB, free: 31.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.843e-05/0.7799, allocations: 29.75 kB / 0.8189 GB, free: 31.54 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008708/0.7808, allocations: 0.5724 MB / 0.8195 GB, free: 31.28 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7808, allocations: 4 kB / 0.8195 GB, free: 31.27 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00127/0.782, allocations: 243.6 kB / 0.8197 GB, free: 31.2 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.0002563/0.7823, allocations: 149.5 kB / 0.8199 GB, free: 31.08 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0018/0.7841, allocations: 0.792 MB / 0.8206 GB, free: 30.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/0.7841, allocations: 3.812 kB / 0.8206 GB, free: 30.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009666/0.7851, allocations: 424.6 kB / 0.8211 GB, free: 30.58 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008983/0.786, allocations: 125.3 kB / 0.8212 GB, free: 30.52 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/0.7894, allocations: 1.911 MB / 0.823 GB, free: 29.3 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007396/0.7902, allocations: 1.089 MB / 0.8241 GB, free: 28.58 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005364/0.7907, allocations: 124.4 kB / 0.8242 GB, free: 28.55 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/0.791, allocations: 72.55 kB / 0.8243 GB, free: 28.54 MB / 0.6544 GB Notification: Performance of SimCode: time 1.804e-06/0.791, allocations: 0 / 0.8243 GB, free: 28.54 MB / 0.6544 GB Notification: Performance of Templates: time 0.02605/0.817, allocations: 8.527 MB / 0.8326 GB, free: 28.02 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)