Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.781/1.781, allocations: 288.4 MB / 303.7 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001454/0.001454, allocations: 180.5 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.764/1.764, allocations: 205.4 MB / 0.631 GB, free: 9.867 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008907/0.0008907, allocations: 97.08 kB / 0.7444 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00043/0.0004302, allocations: 12.47 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2726, allocations: 115.3 MB / 0.9802 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.003067/0.2757, allocations: 3.329 MB / 0.9834 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003339/0.2791, allocations: 2.19 MB / 0.9856 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005318/0.2796, allocations: 31.88 kB / 0.9856 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003073/0.2799, allocations: 134.5 kB / 0.9857 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.2802, allocations: 83.17 kB / 0.9858 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000948/0.2812, allocations: 439.2 kB / 0.9862 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008875/0.2821, allocations: 1.389 MB / 0.9876 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009989/0.2831, allocations: 0.9654 MB / 0.9885 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003138/0.2834, allocations: 322.1 kB / 0.9888 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.2837, allocations: 401.3 kB / 0.9892 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.258e-05/0.2838, allocations: 36 kB / 0.9893 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.2839, allocations: 51.92 kB / 0.9893 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.284, allocations: 167.1 kB / 0.9895 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002654/0.2843, allocations: 0.4946 MB / 0.9899 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009492/0.2852, allocations: 1.71 MB / 0.9916 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.2852, allocations: 0 / 0.9916 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.295e-06/0.2852, allocations: 3.938 kB / 0.9916 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.415e-05/0.2853, allocations: 4 kB / 0.9916 GB, free: 15.48 MB / 0.6198 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.001684/0.287, allocations: 1.339 MB / 0.9929 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.287, allocations: 8.031 kB / 0.9929 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.2872, allocations: 159.1 kB / 0.9931 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007426/0.2879, allocations: 0.7393 MB / 0.9938 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.01e-05/0.288, allocations: 123.2 kB / 0.9939 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.2882, allocations: 136.4 kB / 0.9941 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/0.2899, allocations: 1.139 MB / 0.9952 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.2899, allocations: 192 / 0.9952 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-05/0.29, allocations: 59.94 kB / 0.9952 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.596e-05/0.29, allocations: 36 kB / 0.9953 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/0.2916, allocations: 0.9794 MB / 0.9962 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00408/0.2957, allocations: 3.274 MB / 0.9994 GB, free: 7.305 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.2968, allocations: 0.5725 MB / 1 GB, free: 6.727 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004098/0.2972, allocations: 262.7 kB / 1 GB, free: 6.465 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.674e-05/0.2972, allocations: 12.66 kB / 1 GB, free: 6.453 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007023/0.298, allocations: 413.8 kB / 1.001 GB, free: 6.023 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=74): time 4.589e-06/0.298, allocations: 4 kB / 1.001 GB, free: 6.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74): time 0.001478/0.2995, allocations: 0.8413 MB / 1.001 GB, free: 5.172 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.2995, allocations: 166.8 kB / 1.002 GB, free: 4.973 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008569/0.3004, allocations: 0.8898 MB / 1.002 GB, free: 4.059 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.901e-05/0.3005, allocations: 45.64 kB / 1.003 GB, free: 4.008 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003275/0.3008, allocations: 0.5931 MB / 1.003 GB, free: 3.406 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.3009, allocations: 240.5 kB / 1.003 GB, free: 3.168 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.301, allocations: 24 kB / 1.003 GB, free: 3.145 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.118e-05/0.3011, allocations: 345.9 kB / 1.004 GB, free: 2.801 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004941/0.3016, allocations: 289.9 kB / 1.004 GB, free: 2.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005658/0.3021, allocations: 0.5114 MB / 1.004 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009269/0.3031, allocations: 0.7608 MB / 1.005 GB, free: 1.066 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3031, allocations: 0 / 1.005 GB, free: 1.066 MB / 0.6198 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001365/0.3045, allocations: 0.9747 MB / 1.006 GB, free: 80 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/0.3045, allocations: 33.7 kB / 1.006 GB, free: 40 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.3045, allocations: 8 kB / 1.006 GB, free: 32 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/0.3046, allocations: 8 kB / 1.006 GB, free: 24 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000658/0.3052, allocations: 183.7 kB / 1.006 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-05/0.3052, allocations: 8 kB / 1.006 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007631/0.306, allocations: 218.5 kB / 1.007 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.075e-05/0.3061, allocations: 47.92 kB / 1.007 GB, free: 15.57 MB / 0.6355 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.0004534/0.3066, allocations: 297.5 kB / 1.007 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.3067, allocations: 106.7 kB / 1.007 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.3079, allocations: 0.6378 MB / 1.008 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.3079, allocations: 12 kB / 1.008 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3079, allocations: 0 / 1.008 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.308, allocations: 3.984 kB / 1.008 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003371/0.3113, allocations: 2.443 MB / 1.01 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.557e-06/0.3114, allocations: 4 kB / 1.01 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005064/0.3119, allocations: 136.3 kB / 1.01 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.527e-05/0.3119, allocations: 15.94 kB / 1.01 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.75e-05/0.3119, allocations: 23.98 kB / 1.01 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.648e-05/0.312, allocations: 23.88 kB / 1.01 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.07e-05/0.312, allocations: 11.94 kB / 1.01 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.3133, allocations: 0.9792 MB / 1.011 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.3135, allocations: 195.7 kB / 1.011 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.3136, allocations: 31.92 kB / 1.011 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00044/0.3141, allocations: 59.95 kB / 1.011 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.3143, allocations: 84.22 kB / 1.012 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-05/0.3143, allocations: 35.98 kB / 1.012 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007012/0.315, allocations: 0.5626 MB / 1.012 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.6e-07/0.315, allocations: 4 kB / 1.012 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008054/0.3159, allocations: 243 kB / 1.012 GB, free: 9.375 MB / 0.6355 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.0002886/0.3161, allocations: 143 kB / 1.013 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001414/0.3176, allocations: 0.7833 MB / 1.013 GB, free: 8.434 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.3176, allocations: 12.25 kB / 1.013 GB, free: 8.422 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007723/0.3184, allocations: 423.7 kB / 1.014 GB, free: 8.012 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.3198, allocations: 136.8 kB / 1.014 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003221/0.3231, allocations: 2.298 MB / 1.016 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000721/0.3238, allocations: 1.085 MB / 1.017 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004978/0.3243, allocations: 119.5 kB / 1.017 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/0.3245, allocations: 75.42 kB / 1.017 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of SimCode: time 6.51e-07/0.3246, allocations: 4 kB / 1.017 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of Templates: time 0.01623/0.3408, allocations: 7.684 MB / 1.025 GB, free: 12.57 MB / 0.6511 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)