Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.24/2.24, allocations: 391.2 MB / 407 MB, free: 10.81 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 194.2 kB / 499.1 MB, free: 4.633 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.612/1.612, allocations: 222.9 MB / 0.7948 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001073, allocations: 111.7 kB / 0.9329 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001163, allocations: 56.91 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3326, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002354/0.335, allocations: 1.152 MB / 1.219 GB, free: 116.1 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.3362, allocations: 1.002 MB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.3363, allocations: 4 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 6.632e-05/0.3364, allocations: 15.84 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.3365, allocations: 11.88 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.3367, allocations: 79.88 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000187/0.3369, allocations: 200.2 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002111/0.3371, allocations: 116.2 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.3373, allocations: 79.64 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.687e-05/0.3374, allocations: 83.55 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.162e-05/0.3374, allocations: 12 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 2.275e-05/0.3375, allocations: 12 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.827e-05/0.3375, allocations: 43.81 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.199e-05/0.3376, allocations: 83.47 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.3378, allocations: 273.1 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.3378, allocations: 0 / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3378, allocations: 0 / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.3378, allocations: 4 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0005991/0.3384, allocations: 491.1 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3385, allocations: 8.031 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/0.3385, allocations: 24.66 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00041/0.339, allocations: 272.3 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.339, allocations: 16.81 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.339, allocations: 28.31 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.3394, allocations: 191.1 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3394, allocations: 0 / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.3394, allocations: 8 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.3394, allocations: 4 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003368/0.3398, allocations: 149.7 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006561/0.3404, allocations: 0.5764 MB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.3407, allocations: 130.6 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.3409, allocations: 60.86 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.3409, allocations: 0 / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.341, allocations: 34.56 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=15): time 9.81e-07/0.341, allocations: 4 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=15): time 0.0005273/0.3415, allocations: 203.6 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.175e-05/0.3415, allocations: 55.34 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.3417, allocations: 191.7 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.3417, allocations: 25.7 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.643e-05/0.3417, allocations: 136.2 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.3418, allocations: 47.47 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.958e-05/0.3418, allocations: 49.61 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.165e-05/0.3419, allocations: 326.8 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.342, allocations: 47.97 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.3422, allocations: 98.48 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.3425, allocations: 135.8 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3425, allocations: 0 / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003441/0.3428, allocations: 185.3 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3428, allocations: 4 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3429, allocations: 3.938 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.3429, allocations: 8.156 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.3431, allocations: 35.92 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.3431, allocations: 7.969 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.573e-05/0.3432, allocations: 15.84 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.3432, allocations: 15.98 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.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 (20): * Single equations (assignments): 20 * 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 8.845e-05/0.3433, allocations: 135.2 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.3433, allocations: 11.81 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.044e-05/0.3434, allocations: 25.47 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3434, allocations: 4 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3434, allocations: 0 / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3434, allocations: 3.984 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.3436, allocations: 261.5 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3436, allocations: 0 / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.3437, allocations: 31.84 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3437, allocations: 0 / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.3438, allocations: 7.938 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3438, allocations: 4 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3438, allocations: 4 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005938/0.3444, allocations: 0.8642 MB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.96e-05/0.3444, allocations: 88.95 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.3444, allocations: 11.94 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.3445, allocations: 11.98 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.381e-05/0.3446, allocations: 23.97 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.3446, allocations: 4 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.903e-05/0.3447, allocations: 119.2 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3447, allocations: 0 / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003581/0.3451, allocations: 39.75 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.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 (15): * Single equations (assignments): 15 * 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.0001175/0.3452, allocations: 115.2 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003538/0.3456, allocations: 141.9 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3456, allocations: 0 / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.3457, allocations: 67.91 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.3461, allocations: 29.98 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006552/0.3468, allocations: 0.5257 MB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.347, allocations: 0.7322 MB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001107/0.3471, allocations: 21.55 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.3472, allocations: 19.42 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/0.3472, allocations: 0 / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of Templates: time 0.003948/0.3511, allocations: 1.335 MB / 1.229 GB, free: 105.5 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1)