Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.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.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007766/0.007766, allocations: 171.3 kB / 16.27 MB, free: 6.652 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.536/1.536, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.103/3.103, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004096/0.0004096, allocations: 8.438 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3644, allocations: 162.2 MB / 1.074 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.001989/0.3664, allocations: 1.108 MB / 1.075 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001754/0.3682, allocations: 1.073 MB / 1.076 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002801/0.3685, allocations: 7.938 kB / 1.076 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.894e-05/0.3686, allocations: 19.78 kB / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002665/0.3689, allocations: 23.8 kB / 1.076 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003646/0.3692, allocations: 107.9 kB / 1.076 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004615/0.3697, allocations: 316.6 kB / 1.077 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004113/0.3701, allocations: 202 kB / 1.077 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.3704, allocations: 91.44 kB / 1.077 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.3705, allocations: 103.3 kB / 1.077 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/0.3706, allocations: 8 kB / 1.077 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.352e-05/0.3706, allocations: 8 kB / 1.077 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.034e-05/0.3707, allocations: 39.77 kB / 1.077 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.3708, allocations: 140.9 kB / 1.077 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004057/0.3712, allocations: 434.6 kB / 1.078 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3712, allocations: 0 / 1.078 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.424e-06/0.3712, allocations: 0 / 1.078 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.3712, allocations: 4 kB / 1.078 GB, free: 3.789 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.000851/0.3721, allocations: 0.5228 MB / 1.078 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.043e-05/0.3722, allocations: 8.031 kB / 1.078 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.555e-05/0.3722, allocations: 44.41 kB / 1.078 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005964/0.3728, allocations: 341.3 kB / 1.079 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.073e-05/0.3729, allocations: 29.38 kB / 1.079 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.262e-05/0.373, allocations: 28.38 kB / 1.079 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005925/0.3735, allocations: 303.1 kB / 1.079 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3736, allocations: 192 / 1.079 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.875e-05/0.3736, allocations: 11.94 kB / 1.079 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.3736, allocations: 8 kB / 1.079 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005525/0.3742, allocations: 251.9 kB / 1.079 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.3753, allocations: 0.8289 MB / 1.08 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005005/0.3759, allocations: 259.5 kB / 1.08 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.3761, allocations: 117.3 kB / 1.08 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.3762, allocations: 8.219 kB / 1.08 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.3762, allocations: 42.8 kB / 1.08 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 2.985e-06/0.3762, allocations: 0 / 1.08 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.0007945/0.377, allocations: 327.3 kB / 1.081 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.3771, allocations: 59.39 kB / 1.081 GB, free: 460 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.3773, allocations: 211.5 kB / 1.081 GB, free: 240 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.3773, allocations: 33.7 kB / 1.081 GB, free: 200 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.3774, allocations: 176.2 kB / 1.081 GB, free: 20 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.982e-05/0.3775, allocations: 75.08 kB / 1.081 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.46e-05/0.3776, allocations: 49.69 kB / 1.081 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3778, allocations: 330.8 kB / 1.082 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.378, allocations: 88.52 kB / 1.082 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/0.3783, allocations: 143.9 kB / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004525/0.3787, allocations: 227.6 kB / 1.082 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.3788, allocations: 4 kB / 1.082 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005514/0.3793, allocations: 281.2 kB / 1.082 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.3793, allocations: 8 kB / 1.082 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3794, allocations: 12.09 kB / 1.082 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.3794, allocations: 7.938 kB / 1.082 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.3796, allocations: 63.89 kB / 1.082 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.3797, allocations: 4 kB / 1.082 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.3798, allocations: 39.67 kB / 1.083 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.3798, allocations: 8 kB / 1.083 GB, free: 14.63 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 (reaToInt2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.y,actAirSet.or3.y,actAirSet.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * 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.0001913/0.38, allocations: 153.8 kB / 1.083 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.456e-05/0.3801, allocations: 23.72 kB / 1.083 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005887/0.3807, allocations: 260.1 kB / 1.083 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.3807, allocations: 3.938 kB / 1.083 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.3807, allocations: 4 kB / 1.083 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.3807, allocations: 3.984 kB / 1.083 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004113/0.3811, allocations: 349.3 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3811, allocations: 0 / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.3813, allocations: 47.91 kB / 1.083 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3813, allocations: 0 / 1.083 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.3814, allocations: 12 kB / 1.083 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3814, allocations: 3.938 kB / 1.083 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3814, allocations: 0 / 1.083 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005568/0.3819, allocations: 343.6 kB / 1.084 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.165e-05/0.382, allocations: 96.86 kB / 1.084 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.3821, allocations: 4 kB / 1.084 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.3822, allocations: 19.92 kB / 1.084 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.849e-05/0.3823, allocations: 27.97 kB / 1.084 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.3823, allocations: 7.984 kB / 1.084 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001119/0.3825, allocations: 137.5 kB / 1.084 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3825, allocations: 4 kB / 1.084 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002975/0.3828, allocations: 59.69 kB / 1.084 GB, free: 13.01 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001737/0.3829, allocations: 115.9 kB / 1.084 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005378/0.3835, allocations: 236 kB / 1.084 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3835, allocations: 3.938 kB / 1.084 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.3837, allocations: 116.3 kB / 1.084 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.3841, allocations: 35.77 kB / 1.084 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009813/0.3851, allocations: 0.6025 MB / 1.085 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.3855, allocations: 0.7674 MB / 1.086 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001454/0.3856, allocations: 34.27 kB / 1.086 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/0.3857, allocations: 31.42 kB / 1.086 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3857, allocations: 0 / 1.086 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of Templates: time 0.005201/0.3909, allocations: 1.706 MB / 1.088 GB, free: 9.359 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1)