Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.22/2.22, 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.001312/0.001312, allocations: 187.5 kB / 499.1 MB, free: 4.629 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.651/1.651, allocations: 222.9 MB / 0.7948 GB, free: 15.77 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.001032/0.001032, allocations: 112.8 kB / 0.9329 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 48.75 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.327, allocations: 140.6 MB / 1.218 GB, free: 117.1 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002404/0.3295, allocations: 1.16 MB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.3305, allocations: 0.9986 MB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.539e-05/0.3306, allocations: 4 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 6.259e-05/0.3307, allocations: 15.8 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.3308, allocations: 23.84 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.3311, allocations: 59.97 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.3313, allocations: 212.1 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.3315, allocations: 116.2 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.3317, allocations: 79.62 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.566e-05/0.3318, allocations: 87.55 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.008e-05/0.3318, allocations: 12 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 2.266e-05/0.3318, allocations: 12 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.453e-05/0.3319, allocations: 35.84 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.598e-05/0.332, allocations: 83.47 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.3322, allocations: 277.1 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3322, allocations: 0 / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3322, allocations: 0 / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.3322, allocations: 3.938 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.0006038/0.3328, allocations: 491.1 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3329, allocations: 8.031 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.83e-05/0.3329, allocations: 24.66 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003981/0.3333, allocations: 282.7 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/0.3334, allocations: 16.81 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.3334, allocations: 20.38 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.3337, allocations: 187.2 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.3338, allocations: 0 / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.3338, allocations: 12 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3338, allocations: 4 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003225/0.3341, allocations: 157.6 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006317/0.3348, allocations: 0.5647 MB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.335, allocations: 126.4 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.3352, allocations: 64.81 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.3352, allocations: 4 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.3352, allocations: 30.56 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/0.3352, allocations: 3.938 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=15): time 0.0005125/0.3358, allocations: 203.9 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.3358, allocations: 55.41 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.3359, allocations: 187.7 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.3359, allocations: 25.7 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/0.336, allocations: 148.2 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.336, allocations: 35.41 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.063e-05/0.3361, allocations: 57.59 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.345e-05/0.3362, allocations: 322.8 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.3363, allocations: 55.95 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.3365, allocations: 98.42 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.3367, allocations: 141 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3367, allocations: 0 / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003398/0.3371, allocations: 180 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.3371, allocations: 13.44 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.3371, allocations: 3.938 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.3371, allocations: 4 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.3373, allocations: 31.91 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.3373, allocations: 8 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.3375, allocations: 19.83 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.3375, allocations: 8 kB / 1.225 GB, free: 110.2 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 9.061e-05/0.3376, allocations: 135.3 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.3376, allocations: 15.81 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.515e-05/0.3377, allocations: 33.39 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3377, allocations: 0 / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3377, allocations: 0 / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3377, allocations: 0 / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.3379, allocations: 265.5 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3379, allocations: 0 / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.338, allocations: 23.98 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.338, allocations: 4 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.3381, allocations: 3.938 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3381, allocations: 0 / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3381, allocations: 0 / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005952/0.3387, allocations: 0.8759 MB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.003e-05/0.3387, allocations: 92.89 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.3387, allocations: 3.984 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.3389, allocations: 8 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.424e-05/0.3389, allocations: 19.97 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.3389, allocations: 7.984 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.942e-05/0.339, allocations: 119.2 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.21e-07/0.339, allocations: 0 / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003436/0.3394, allocations: 43.75 kB / 1.226 GB, free: 108.4 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.0001264/0.3395, allocations: 115.2 kB / 1.226 GB, free: 108.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003558/0.3399, allocations: 131.9 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3399, allocations: 0 / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.34, allocations: 78.31 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.3404, allocations: 19.94 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.0006588/0.3411, allocations: 0.525 MB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/0.3412, allocations: 0.7361 MB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001244/0.3414, allocations: 25.48 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.028e-05/0.3414, allocations: 19.44 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/0.3414, allocations: 0 / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of Templates: time 0.003894/0.3453, allocations: 1.345 MB / 1.229 GB, free: 105.4 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1)