Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 195 kB / 16.53 MB, free: 6.664 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.414/1.414, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.057/3.057, allocations: 472.6 MB / 0.7451 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 57.91 kB / 0.9121 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3638, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002786/0.3667, allocations: 1.126 MB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.368, allocations: 1.022 MB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.3681, allocations: 4 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.722e-05/0.3682, allocations: 27.66 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.3684, allocations: 19.69 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.3686, allocations: 83.91 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002483/0.3689, allocations: 232.1 kB / 1.071 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002803/0.3692, allocations: 136.5 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.3694, allocations: 87.66 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.3695, allocations: 103.5 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.07e-05/0.3696, allocations: 24 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.461e-05/0.3696, allocations: 24 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.034e-05/0.3697, allocations: 59.72 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.3698, allocations: 99.47 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003179/0.3701, allocations: 299.2 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.3702, allocations: 7.984 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3702, allocations: 0 / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.3702, allocations: 4 kB / 1.071 GB, free: 7.039 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.0007946/0.371, allocations: 491.1 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.371, allocations: 8.031 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.2e-05/0.3711, allocations: 24.66 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005259/0.3716, allocations: 276.3 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/0.3717, allocations: 24.75 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.3717, allocations: 20.38 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/0.3721, allocations: 199.8 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3722, allocations: 192 / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.3722, allocations: 11.94 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.3722, allocations: 4 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004105/0.3726, allocations: 165.6 kB / 1.073 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000839/0.3735, allocations: 0.5917 MB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003532/0.3738, allocations: 158.6 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.374, allocations: 70.55 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.3741, allocations: 4 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.3741, allocations: 34.56 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.3741, allocations: 4 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.0006076/0.3747, allocations: 213.2 kB / 1.074 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.3748, allocations: 59.34 kB / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.3749, allocations: 186.9 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.3749, allocations: 25.7 kB / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.582e-05/0.3751, allocations: 144.2 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.3751, allocations: 47.39 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.662e-05/0.3752, allocations: 53.69 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.3753, allocations: 322.8 kB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.3755, allocations: 55.95 kB / 1.075 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.3757, allocations: 102 kB / 1.075 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004001/0.3761, allocations: 143.3 kB / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3761, allocations: 4 kB / 1.075 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004319/0.3766, allocations: 197.3 kB / 1.075 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.3766, allocations: 9.719 kB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.629e-06/0.3766, allocations: 0 / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.3766, allocations: 4 kB / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.3768, allocations: 27.92 kB / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.3769, allocations: 7.984 kB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.377, allocations: 23.78 kB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.377, allocations: 7.984 kB / 1.075 GB, free: 3.125 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.000195/0.3772, allocations: 145.9 kB / 1.075 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.3773, allocations: 15.75 kB / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.309e-05/0.3773, allocations: 17.88 kB / 1.075 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.3773, allocations: 4 kB / 1.075 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3773, allocations: 0 / 1.075 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3773, allocations: 3.984 kB / 1.075 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/0.3777, allocations: 277.4 kB / 1.075 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3777, allocations: 4 kB / 1.075 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.3778, allocations: 27.92 kB / 1.076 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3778, allocations: 0 / 1.076 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.3778, allocations: 8 kB / 1.076 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3778, allocations: 0 / 1.076 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3779, allocations: 0 / 1.076 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004389/0.3783, allocations: 263.1 kB / 1.076 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.3784, allocations: 92.95 kB / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.3784, allocations: 3.938 kB / 1.076 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.3785, allocations: 11.98 kB / 1.076 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.32e-05/0.3786, allocations: 27.88 kB / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.3786, allocations: 8 kB / 1.076 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.698e-05/0.3787, allocations: 115.2 kB / 1.076 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3787, allocations: 0 / 1.076 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002815/0.379, allocations: 39.84 kB / 1.076 GB, free: 1.992 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.0001812/0.3792, allocations: 121.2 kB / 1.076 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000458/0.3797, allocations: 153.7 kB / 1.076 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3797, allocations: 4 kB / 1.076 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002129/0.3799, allocations: 80.2 kB / 1.076 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.3802, allocations: 32.5 kB / 1.076 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007017/0.3809, allocations: 342.3 kB / 1.077 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.3813, allocations: 0.7319 MB / 1.077 GB, free: 500 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001232/0.3814, allocations: 25.53 kB / 1.078 GB, free: 476 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.957e-05/0.3815, allocations: 23.42 kB / 1.078 GB, free: 452 kB / 0.8262 GB Notification: Performance of SimCode: time 3.6e-07/0.3815, allocations: 0 / 1.078 GB, free: 452 kB / 0.8262 GB Notification: Performance of Templates: time 0.00475/0.3863, allocations: 1.467 MB / 1.079 GB, free: 15.03 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1)