Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, 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.001669/0.001669, allocations: 188.7 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.466/1.466, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.917/2.917, allocations: 472.6 MB / 0.7448 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 67.62 kB / 0.9116 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3619, allocations: 159.9 MB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.00272/0.3646, allocations: 1.186 MB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.3659, allocations: 1.003 MB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.835e-05/0.366, allocations: 4 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.935e-05/0.3661, allocations: 15.8 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.3662, allocations: 19.86 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.3664, allocations: 71.94 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.3667, allocations: 224.1 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000252/0.3669, allocations: 136.1 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.3671, allocations: 95.64 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.3672, allocations: 95.53 kB / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.653e-05/0.3672, allocations: 28 kB / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.905e-05/0.3673, allocations: 24 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.472e-05/0.3673, allocations: 59.72 kB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.406e-05/0.3674, allocations: 99.47 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.3677, allocations: 299.2 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3677, allocations: 0 / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3677, allocations: 0 / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.3677, allocations: 0 / 1.071 GB, free: 7.371 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007043/0.3684, allocations: 499 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.3685, allocations: 12.03 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.727e-05/0.3686, allocations: 28.66 kB / 1.072 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004491/0.369, allocations: 276.3 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.369, allocations: 12.81 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.3691, allocations: 20.38 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004003/0.3695, allocations: 199.8 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3695, allocations: 192 / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.3695, allocations: 11.94 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3695, allocations: 12 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003968/0.3699, allocations: 161.6 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007529/0.3707, allocations: 0.5917 MB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/0.3711, allocations: 158.7 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.3713, allocations: 72.77 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.3713, allocations: 0 / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.3713, allocations: 34.56 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.042e-06/0.3713, allocations: 0 / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.0006132/0.3719, allocations: 222.2 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.372, allocations: 55.41 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.3722, allocations: 180.2 kB / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.3722, allocations: 29.7 kB / 1.073 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.3723, allocations: 144.1 kB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.3723, allocations: 39.41 kB / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-05/0.3724, allocations: 57.69 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.3725, allocations: 322.8 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.3727, allocations: 63.89 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.3729, allocations: 93.11 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000318/0.3732, allocations: 150.3 kB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3732, allocations: 0 / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004087/0.3737, allocations: 194.6 kB / 1.074 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3737, allocations: 8 kB / 1.075 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3737, allocations: 0 / 1.075 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.3737, allocations: 4 kB / 1.075 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.3739, allocations: 43.84 kB / 1.075 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3739, allocations: 0 / 1.075 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.374, allocations: 19.83 kB / 1.075 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.3741, allocations: 16.16 kB / 1.075 GB, free: 3.445 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.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 (22): * Single equations (assignments): 22 * 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.0001734/0.3742, allocations: 133.8 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.3743, allocations: 19.75 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.095e-05/0.3743, allocations: 21.88 kB / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3743, allocations: 0 / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3744, allocations: 3.984 kB / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.3744, allocations: 0 / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002849/0.3747, allocations: 277.4 kB / 1.075 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3747, allocations: 4 kB / 1.075 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.3748, allocations: 19.98 kB / 1.075 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3748, allocations: 4 kB / 1.075 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.3748, allocations: 0 / 1.075 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3748, allocations: 3.984 kB / 1.075 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3748, allocations: 3.938 kB / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004046/0.3752, allocations: 268.9 kB / 1.075 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.468e-05/0.3753, allocations: 92.94 kB / 1.075 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.3753, allocations: 8 kB / 1.075 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.3755, allocations: 7.984 kB / 1.075 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.546e-05/0.3756, allocations: 31.81 kB / 1.075 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.3756, allocations: 8 kB / 1.075 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.05e-05/0.3757, allocations: 120.8 kB / 1.076 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3757, allocations: 4 kB / 1.076 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002683/0.376, allocations: 39.84 kB / 1.076 GB, free: 2.309 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001415/0.3761, allocations: 118 kB / 1.076 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004399/0.3765, allocations: 151.9 kB / 1.076 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3766, allocations: 320 / 1.076 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001721/0.3767, allocations: 82.23 kB / 1.076 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.3771, allocations: 25.7 kB / 1.076 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006796/0.3778, allocations: 408.9 kB / 1.076 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.3781, allocations: 0.7319 MB / 1.077 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001174/0.3782, allocations: 25.53 kB / 1.077 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.974e-05/0.3782, allocations: 19.44 kB / 1.077 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3782, allocations: 4 kB / 1.077 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of Templates: time 0.004398/0.3827, allocations: 1.406 MB / 1.078 GB, free: 15.35 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1)