Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Obsolete.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") translateModel(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.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.001637/0.001637, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002058/0.002058, allocations: 191.3 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 239.9 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.971/2.971, allocations: 472.6 MB / 0.7448 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 69.14 kB / 0.9116 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2992, allocations: 159.9 MB / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.005811/0.305, allocations: 4.034 MB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003608/0.3087, allocations: 2.204 MB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008229/0.3095, allocations: 39.81 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006247/0.3102, allocations: 138.6 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005405/0.3107, allocations: 67.38 kB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.3122, allocations: 0.5614 MB / 1.075 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001749/0.3139, allocations: 1.514 MB / 1.076 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001583/0.3155, allocations: 1.012 MB / 1.077 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006658/0.3162, allocations: 0.5526 MB / 1.078 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006117/0.3168, allocations: 0.6102 MB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002915/0.3171, allocations: 180 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002538/0.3174, allocations: 192 kB / 1.079 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002649/0.3177, allocations: 354.8 kB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000715/0.3184, allocations: 0.6645 MB / 1.08 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001927/0.3203, allocations: 2.13 MB / 1.082 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3203, allocations: 0 / 1.082 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3203, allocations: 0 / 1.082 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.051e-05/0.3204, allocations: 0 / 1.082 GB, free: 12.38 MB / 0.8419 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.003103/0.3235, allocations: 1.513 MB / 1.083 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3236, allocations: 8.031 kB / 1.083 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002731/0.3239, allocations: 155.1 kB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.325, allocations: 0.7335 MB / 1.084 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.124e-05/0.3251, allocations: 111.2 kB / 1.084 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/0.3253, allocations: 140.4 kB / 1.084 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00221/0.3275, allocations: 1.131 MB / 1.085 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/0.3276, allocations: 4.125 kB / 1.085 GB, free: 8.469 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/0.3277, allocations: 63.94 kB / 1.085 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.821e-05/0.3277, allocations: 36 kB / 1.085 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001901/0.3296, allocations: 0.9443 MB / 1.086 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005333/0.335, allocations: 3.142 MB / 1.089 GB, free: 4.219 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.3362, allocations: 0.5321 MB / 1.09 GB, free: 3.676 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005913/0.3368, allocations: 319.3 kB / 1.09 GB, free: 3.363 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.398e-05/0.3369, allocations: 29.16 kB / 1.09 GB, free: 3.336 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008004/0.3377, allocations: 389.8 kB / 1.091 GB, free: 2.926 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=74): time 3.416e-06/0.3377, allocations: 4 kB / 1.091 GB, free: 2.922 MB / 0.8419 GB Notification: Performance of matching and sorting (n=74): time 0.001765/0.3394, allocations: 0.8023 MB / 1.091 GB, free: 2.117 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.3396, allocations: 166.8 kB / 1.092 GB, free: 1.918 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.3407, allocations: 0.8171 MB / 1.092 GB, free: 1.09 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 8.4e-05/0.3408, allocations: 49.69 kB / 1.092 GB, free: 1.035 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000444/0.3412, allocations: 0.5612 MB / 1.093 GB, free: 476 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/0.3414, allocations: 240.6 kB / 1.093 GB, free: 232 kB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003197/0.3418, allocations: 218.4 kB / 1.093 GB, free: 4 kB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3419, allocations: 341.9 kB / 1.094 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005986/0.3425, allocations: 281.9 kB / 1.094 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007469/0.3433, allocations: 0.4919 MB / 1.095 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.3445, allocations: 0.7295 MB / 1.095 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.096e-06/0.3445, allocations: 4 kB / 1.095 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001849/0.3464, allocations: 0.9358 MB / 1.096 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.765e-05/0.3464, allocations: 41.7 kB / 1.096 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/0.3465, allocations: 15.97 kB / 1.096 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.3465, allocations: 12 kB / 1.096 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006704/0.3472, allocations: 183.6 kB / 1.096 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.326e-05/0.3472, allocations: 12.5 kB / 1.096 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007432/0.348, allocations: 174.5 kB / 1.097 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.903e-05/0.3481, allocations: 51.92 kB / 1.097 GB, free: 12.55 MB / 0.8575 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.0004222/0.3485, allocations: 289.5 kB / 1.097 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.3487, allocations: 94.78 kB / 1.097 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.35, allocations: 0.6213 MB / 1.098 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.35, allocations: 8 kB / 1.098 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.35, allocations: 4 kB / 1.098 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.35, allocations: 3.984 kB / 1.098 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00329/0.3533, allocations: 2.319 MB / 1.1 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/0.3533, allocations: 8 kB / 1.1 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005262/0.3539, allocations: 139.7 kB / 1.1 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.658e-05/0.3539, allocations: 15.94 kB / 1.1 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-05/0.354, allocations: 27.98 kB / 1.1 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.131e-05/0.354, allocations: 12 kB / 1.1 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/0.354, allocations: 11.94 kB / 1.1 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.3554, allocations: 0.9364 MB / 1.101 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/0.3556, allocations: 191.7 kB / 1.101 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.3557, allocations: 27.94 kB / 1.101 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004746/0.3562, allocations: 47.95 kB / 1.101 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.3564, allocations: 88.16 kB / 1.101 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.404e-05/0.3564, allocations: 39.98 kB / 1.101 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006916/0.3571, allocations: 0.5225 MB / 1.102 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3572, allocations: 0 / 1.102 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009007/0.3581, allocations: 246.9 kB / 1.102 GB, free: 6.613 MB / 0.8575 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.0002618/0.3583, allocations: 140.9 kB / 1.102 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001791/0.3601, allocations: 0.7909 MB / 1.103 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.3602, allocations: 0 / 1.103 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000836/0.361, allocations: 378.4 kB / 1.103 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008873/0.3619, allocations: 132.9 kB / 1.104 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003482/0.3654, allocations: 2.314 MB / 1.106 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007057/0.3661, allocations: 1.061 MB / 1.107 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004861/0.3666, allocations: 131 kB / 1.107 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/0.3668, allocations: 83.41 kB / 1.107 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of SimCode: time 3.3e-07/0.3668, allocations: 0 / 1.107 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of Templates: time 0.01671/0.3836, allocations: 7.962 MB / 1.115 GB, free: 9.582 MB / 0.8731 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & ./Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)