Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001041/0.001041, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.0116/0.0116, allocations: 172 kB / 16.26 MB, free: 6.613 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.603/1.603, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.965/2.965, allocations: 473.4 MB / 0.7469 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003813, allocations: 7.656 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3397, allocations: 162.2 MB / 1.074 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.001926/0.3416, allocations: 1.112 MB / 1.075 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.3431, allocations: 1.069 MB / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.3432, allocations: 8 kB / 1.076 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.835e-05/0.3433, allocations: 19.78 kB / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00015/0.3435, allocations: 27.78 kB / 1.076 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.3437, allocations: 99.94 kB / 1.076 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002859/0.344, allocations: 316.6 kB / 1.077 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003644/0.3444, allocations: 210 kB / 1.077 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.3446, allocations: 83.52 kB / 1.077 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.3447, allocations: 103.2 kB / 1.077 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/0.3448, allocations: 8 kB / 1.077 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.2e-05/0.3448, allocations: 8 kB / 1.077 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.892e-05/0.3448, allocations: 47.77 kB / 1.077 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.345, allocations: 132.9 kB / 1.077 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003489/0.3453, allocations: 434.6 kB / 1.078 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3453, allocations: 4 kB / 1.078 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3453, allocations: 0 / 1.078 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.3454, allocations: 0 / 1.078 GB, free: 3.766 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.0007886/0.3461, allocations: 0.5228 MB / 1.078 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.3462, allocations: 12.03 kB / 1.078 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.779e-05/0.3463, allocations: 36.47 kB / 1.078 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005478/0.3468, allocations: 353.3 kB / 1.079 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.3469, allocations: 25.38 kB / 1.079 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.655e-05/0.3469, allocations: 32.38 kB / 1.079 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005771/0.3475, allocations: 299.1 kB / 1.079 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.3475, allocations: 192 / 1.079 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.62e-05/0.3476, allocations: 19.94 kB / 1.079 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.3476, allocations: 8 kB / 1.079 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005359/0.3481, allocations: 251.9 kB / 1.079 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.3492, allocations: 0.825 MB / 1.08 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005085/0.3498, allocations: 247.6 kB / 1.08 GB, free: 1 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002461/0.35, allocations: 133.1 kB / 1.08 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.855e-05/0.3501, allocations: 12.22 kB / 1.08 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.3501, allocations: 30.8 kB / 1.08 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 2.915e-06/0.3501, allocations: 0 / 1.08 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.0007732/0.3509, allocations: 327.3 kB / 1.081 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.3509, allocations: 59.39 kB / 1.081 GB, free: 432 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.3512, allocations: 211.6 kB / 1.081 GB, free: 212 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.3512, allocations: 29.7 kB / 1.081 GB, free: 176 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.3513, allocations: 180.3 kB / 1.081 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.901e-05/0.3514, allocations: 74.92 kB / 1.081 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/0.3515, allocations: 49.62 kB / 1.081 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3516, allocations: 334.8 kB / 1.082 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.3518, allocations: 80.52 kB / 1.082 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000255/0.3521, allocations: 147.9 kB / 1.082 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004416/0.3525, allocations: 231.6 kB / 1.082 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3525, allocations: 4 kB / 1.082 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005608/0.3531, allocations: 281.4 kB / 1.082 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.3531, allocations: 4 kB / 1.082 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.3532, allocations: 7.938 kB / 1.082 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.3532, allocations: 11.92 kB / 1.082 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.3535, allocations: 59.89 kB / 1.082 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.3535, allocations: 7.938 kB / 1.082 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.3536, allocations: 35.67 kB / 1.082 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.3537, allocations: 16.06 kB / 1.083 GB, free: 14.6 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.0001981/0.3539, allocations: 149.8 kB / 1.083 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.482e-05/0.3539, allocations: 19.72 kB / 1.083 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005864/0.3545, allocations: 268.1 kB / 1.083 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.3545, allocations: 7.938 kB / 1.083 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3545, allocations: 0 / 1.083 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3546, allocations: 3.984 kB / 1.083 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004156/0.355, allocations: 349.3 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.355, allocations: 0 / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.3552, allocations: 47.91 kB / 1.083 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3552, allocations: 0 / 1.083 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.3552, allocations: 8 kB / 1.083 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3552, allocations: 3.938 kB / 1.083 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3552, allocations: 0 / 1.083 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005787/0.3558, allocations: 347.6 kB / 1.084 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.3559, allocations: 96.86 kB / 1.084 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.3559, allocations: 4 kB / 1.084 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.3561, allocations: 23.86 kB / 1.084 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.06e-05/0.3561, allocations: 23.97 kB / 1.084 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.3562, allocations: 8 kB / 1.084 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001041/0.3563, allocations: 145.5 kB / 1.084 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3563, allocations: 0 / 1.084 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002947/0.3566, allocations: 59.69 kB / 1.084 GB, free: 12.97 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.0001459/0.3567, allocations: 113.6 kB / 1.084 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005093/0.3572, allocations: 236 kB / 1.084 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3573, allocations: 0 / 1.084 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002433/0.3575, allocations: 124.3 kB / 1.084 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.3578, allocations: 27.77 kB / 1.084 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009668/0.3588, allocations: 0.6064 MB / 1.085 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.3592, allocations: 0.7636 MB / 1.086 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001533/0.3593, allocations: 34.28 kB / 1.086 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.111e-05/0.3594, allocations: 27.42 kB / 1.086 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.3594, allocations: 0 / 1.086 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of Templates: time 0.005063/0.3645, allocations: 1.708 MB / 1.088 GB, free: 9.328 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1)