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.0008464/0.0008465, allocations: 98.53 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.0008489/0.0008489, allocations: 177.3 kB / 15.94 MB, free: 228 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.27/1.27, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.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.574/1.574, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0004832/0.0004833, allocations: 17.78 kB / 0.6736 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1864, allocations: 116.3 MB / 0.7872 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.003891/0.1904, allocations: 3.376 MB / 0.7905 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003374/0.1938, allocations: 2.178 MB / 0.7926 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007843/0.1946, allocations: 31.88 kB / 0.7926 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003202/0.1949, allocations: 102.8 kB / 0.7927 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000699/0.1956, allocations: 143.5 kB / 0.7929 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.1968, allocations: 458.4 kB / 0.7933 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001312/0.1981, allocations: 0.8508 MB / 0.7941 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009891/0.1991, allocations: 0.7093 MB / 0.7948 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003881/0.1995, allocations: 330.2 kB / 0.7951 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003919/0.1999, allocations: 401.3 kB / 0.7955 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.2, allocations: 36 kB / 0.7955 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.2002, allocations: 51.92 kB / 0.7956 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.2003, allocations: 171.1 kB / 0.7958 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.2005, allocations: 225 kB / 0.796 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.2018, allocations: 1.71 MB / 0.7976 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.2018, allocations: 4 kB / 0.7976 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2018, allocations: 0 / 0.7976 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.039e-05/0.2019, allocations: 0 / 0.7976 GB, free: 1.078 MB / 0.6075 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.002209/0.2041, allocations: 1.352 MB / 0.799 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.2041, allocations: 12.03 kB / 0.799 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002701/0.2044, allocations: 158.1 kB / 0.7991 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.2054, allocations: 0.7268 MB / 0.7998 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.957e-05/0.2056, allocations: 114.8 kB / 0.8 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/0.2057, allocations: 144 kB / 0.8001 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/0.2078, allocations: 1.123 MB / 0.8012 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.2078, allocations: 0 / 0.8012 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.491e-05/0.2079, allocations: 60 kB / 0.8012 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.582e-05/0.2079, allocations: 36 kB / 0.8013 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/0.2098, allocations: 0.9716 MB / 0.8022 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004863/0.2147, allocations: 3.266 MB / 0.8054 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.2159, allocations: 0.5815 MB / 0.806 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.747e-05/0.2159, allocations: 8.656 kB / 0.806 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007081/0.2166, allocations: 409.8 kB / 0.8064 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=74): time 2.484e-06/0.2167, allocations: 0 / 0.8064 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74): time 0.001596/0.2183, allocations: 0.853 MB / 0.8072 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.767e-05/0.2184, allocations: 162.8 kB / 0.8074 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000999/0.2194, allocations: 0.8859 MB / 0.8082 GB, free: 5.938 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.886e-05/0.2194, allocations: 49.64 kB / 0.8083 GB, free: 5.883 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000414/0.2199, allocations: 0.5969 MB / 0.8089 GB, free: 5.277 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.22, allocations: 244.5 kB / 0.8091 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.2201, allocations: 20 kB / 0.8091 GB, free: 5.016 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.2202, allocations: 341.9 kB / 0.8094 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005682/0.2208, allocations: 293.9 kB / 0.8097 GB, free: 4.391 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006969/0.2215, allocations: 0.4997 MB / 0.8102 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006196/0.2221, allocations: 352.6 kB / 0.8105 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.2222, allocations: 0 / 0.8105 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001573/0.2237, allocations: 0.9824 MB / 0.8115 GB, free: 2.457 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/0.2238, allocations: 33.7 kB / 0.8115 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.2238, allocations: 8 kB / 0.8115 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.2238, allocations: 12 kB / 0.8116 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006374/0.2245, allocations: 175.7 kB / 0.8117 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.068e-05/0.2245, allocations: 15.94 kB / 0.8117 GB, free: 2.211 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007673/0.2253, allocations: 218.5 kB / 0.812 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.218e-05/0.2254, allocations: 39.98 kB / 0.812 GB, free: 1.957 MB / 0.6231 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.not1.y,$PRE.actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox1.not1.y,$PRE.actAirSet_RehBox1.greThr.greHys.y,actAirSet_RehBox1.greThr.greHys.y,$PRE.winSta.y,winSta.y,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): 118 * Array equations: 0 * Algorithm blocks: 1 * 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.0004324/0.2258, allocations: 293.5 kB / 0.8123 GB, free: 1.66 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.2259, allocations: 102.6 kB / 0.8124 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.2271, allocations: 0.6495 MB / 0.813 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.2271, allocations: 8 kB / 0.813 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2271, allocations: 0 / 0.813 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.2271, allocations: 3.984 kB / 0.813 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003138/0.2303, allocations: 2.443 MB / 0.8154 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.2303, allocations: 12.19 kB / 0.8154 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000505/0.2308, allocations: 131.8 kB / 0.8155 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-05/0.2308, allocations: 12 kB / 0.8155 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.342e-05/0.2309, allocations: 31.92 kB / 0.8156 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.264e-05/0.2309, allocations: 11.94 kB / 0.8156 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.2309, allocations: 12.44 kB / 0.8156 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.2324, allocations: 1.331 MB / 0.8169 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/0.2326, allocations: 195.6 kB / 0.8171 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.2327, allocations: 31.98 kB / 0.8171 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004583/0.2332, allocations: 62.72 kB / 0.8172 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.2333, allocations: 92.17 kB / 0.8173 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.677e-05/0.2334, allocations: 32 kB / 0.8173 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006687/0.2341, allocations: 0.5665 MB / 0.8178 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2341, allocations: 3.938 kB / 0.8179 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007173/0.2348, allocations: 246.9 kB / 0.8181 GB, free: 11.22 MB / 0.6387 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 (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.000203/0.235, allocations: 155 kB / 0.8182 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001333/0.2363, allocations: 0.7756 MB / 0.819 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.2363, allocations: 4 kB / 0.819 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007751/0.2371, allocations: 432.1 kB / 0.8194 GB, free: 9.852 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005298/0.2377, allocations: 115.3 kB / 0.8195 GB, free: 9.734 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002884/0.2406, allocations: 2.291 MB / 0.8218 GB, free: 7.324 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006311/0.2412, allocations: 1.108 MB / 0.8228 GB, free: 6.188 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004219/0.2416, allocations: 123.5 kB / 0.823 GB, free: 6.062 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.2418, allocations: 75.42 kB / 0.823 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of SimCode: time 2.71e-07/0.2418, allocations: 0 / 0.823 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of Templates: time 0.01439/0.2562, allocations: 7.633 MB / 0.8305 GB, free: 14.47 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: