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.0008081/0.0008081, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008652/0.0008653, allocations: 168.7 kB / 15.95 MB, free: 204 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.38/1.38, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.671/1.671, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005434/0.0005436, allocations: 14.34 kB / 0.6738 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2194, allocations: 116.3 MB / 0.7873 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.003826/0.2232, allocations: 3.329 MB / 0.7906 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003412/0.2267, allocations: 2.202 MB / 0.7927 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007804/0.2275, allocations: 23.94 kB / 0.7928 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004343/0.2279, allocations: 138.5 kB / 0.7929 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004872/0.2284, allocations: 83.19 kB / 0.793 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.2295, allocations: 434.8 kB / 0.7934 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001359/0.2308, allocations: 1.362 MB / 0.7947 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.232, allocations: 0.7092 MB / 0.7954 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004633/0.2325, allocations: 322.1 kB / 0.7957 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004568/0.2329, allocations: 405.3 kB / 0.7961 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.2331, allocations: 36 kB / 0.7961 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.2333, allocations: 47.98 kB / 0.7962 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.2334, allocations: 175 kB / 0.7964 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002184/0.2336, allocations: 225 kB / 0.7966 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.2351, allocations: 1.71 MB / 0.7982 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.363e-05/0.2351, allocations: 4 kB / 0.7982 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2351, allocations: 0 / 0.7982 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.722e-05/0.2351, allocations: 4 kB / 0.7982 GB, free: 0.6289 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.002266/0.2374, allocations: 1.348 MB / 0.7996 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.2375, allocations: 12.03 kB / 0.7996 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003381/0.2378, allocations: 154.1 kB / 0.7997 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.2388, allocations: 0.7268 MB / 0.8004 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.239, allocations: 114.8 kB / 0.8005 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/0.2391, allocations: 144 kB / 0.8007 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/0.2412, allocations: 1.131 MB / 0.8018 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.2413, allocations: 3.938 kB / 0.8018 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.882e-05/0.2414, allocations: 63.98 kB / 0.8018 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/0.2414, allocations: 32 kB / 0.8019 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.2432, allocations: 0.9756 MB / 0.8028 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004299/0.2475, allocations: 3.266 MB / 0.806 GB, free: 8.473 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.2486, allocations: 0.5776 MB / 0.8066 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004378/0.249, allocations: 262.7 kB / 0.8068 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.117e-05/0.2491, allocations: 12.66 kB / 0.8068 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006709/0.2498, allocations: 405.8 kB / 0.8072 GB, free: 7.188 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=74): time 2.364e-06/0.2498, allocations: 7.938 kB / 0.8072 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74): time 0.001514/0.2513, allocations: 0.853 MB / 0.8081 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.015e-05/0.2514, allocations: 162.8 kB / 0.8082 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009736/0.2524, allocations: 0.8898 MB / 0.8091 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.558e-05/0.2525, allocations: 37.7 kB / 0.8091 GB, free: 5.168 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004133/0.2529, allocations: 0.6008 MB / 0.8097 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/0.2531, allocations: 240.5 kB / 0.81 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.396e-05/0.2531, allocations: 24 kB / 0.81 GB, free: 4.297 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.2532, allocations: 341.9 kB / 0.8103 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005418/0.2538, allocations: 293.9 kB / 0.8106 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006729/0.2545, allocations: 0.5075 MB / 0.8111 GB, free: 3.074 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005781/0.2551, allocations: 348.6 kB / 0.8114 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.2551, allocations: 7.891 kB / 0.8114 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001542/0.2566, allocations: 0.9706 MB / 0.8124 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.143e-05/0.2567, allocations: 41.69 kB / 0.8124 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.2567, allocations: 8 kB / 0.8124 GB, free: 1.684 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.2567, allocations: 12 kB / 0.8124 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006023/0.2573, allocations: 171.9 kB / 0.8126 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.856e-05/0.2573, allocations: 19.92 kB / 0.8126 GB, free: 1.484 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006443/0.258, allocations: 218.5 kB / 0.8128 GB, free: 1.27 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.043e-05/0.2581, allocations: 40 kB / 0.8129 GB, free: 1.23 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.0003869/0.2585, allocations: 294.2 kB / 0.8131 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.2586, allocations: 106.6 kB / 0.8132 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.2597, allocations: 0.6455 MB / 0.8139 GB, free: 180 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.2598, allocations: 8 kB / 0.8139 GB, free: 172 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.2598, allocations: 0 / 0.8139 GB, free: 172 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.2598, allocations: 7.984 kB / 0.8139 GB, free: 164 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002978/0.2628, allocations: 2.431 MB / 0.8163 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.2628, allocations: 8 kB / 0.8163 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004872/0.2633, allocations: 139.8 kB / 0.8164 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/0.2633, allocations: 12 kB / 0.8164 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.573e-05/0.2633, allocations: 20.47 kB / 0.8164 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.416e-05/0.2634, allocations: 19.92 kB / 0.8164 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/0.2634, allocations: 12 kB / 0.8165 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.2647, allocations: 0.9796 MB / 0.8174 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/0.2649, allocations: 195.6 kB / 0.8176 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.265, allocations: 24 kB / 0.8176 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004055/0.2654, allocations: 63.95 kB / 0.8177 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.2655, allocations: 100.1 kB / 0.8178 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.748e-05/0.2656, allocations: 35.94 kB / 0.8178 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006705/0.2663, allocations: 0.5665 MB / 0.8184 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2663, allocations: 0 / 0.8184 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006956/0.267, allocations: 246.9 kB / 0.8186 GB, free: 11.04 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.0001892/0.2672, allocations: 139 kB / 0.8187 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001307/0.2685, allocations: 0.7864 MB / 0.8195 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.2685, allocations: 0 / 0.8195 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007902/0.2693, allocations: 433 kB / 0.8199 GB, free: 9.668 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007635/0.2701, allocations: 127.4 kB / 0.82 GB, free: 9.539 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/0.2729, allocations: 2.297 MB / 0.8223 GB, free: 7.129 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006259/0.2736, allocations: 1.085 MB / 0.8233 GB, free: 6.016 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004439/0.274, allocations: 127.5 kB / 0.8235 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.2742, allocations: 75.42 kB / 0.8235 GB, free: 5.812 MB / 0.6387 GB Notification: Performance of SimCode: time 4.21e-07/0.2742, allocations: 0 / 0.8235 GB, free: 5.812 MB / 0.6387 GB Notification: Performance of Templates: time 0.01438/0.2886, allocations: 7.63 MB / 0.831 GB, free: 14.3 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: