Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0014/0.0014, allocations: 188.2 kB / 16.13 MB, free: 6.656 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.55/1.55, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.912/2.912, allocations: 472.6 MB / 0.7447 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 60.7 kB / 0.9114 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4311/0.4324, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002703/0.4351, allocations: 1.353 MB / 1.069 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.4364, allocations: 1.061 MB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.4365, allocations: 7.938 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.4367, allocations: 19.78 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.593e-05/0.4368, allocations: 27.78 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.4371, allocations: 91.95 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002508/0.4373, allocations: 276.4 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002724/0.4376, allocations: 172.8 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.4378, allocations: 99.5 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.4379, allocations: 119.3 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.719e-05/0.4379, allocations: 16 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.199e-05/0.438, allocations: 16 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.086e-05/0.438, allocations: 55.75 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.4381, allocations: 115.3 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003159/0.4385, allocations: 374.9 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4385, allocations: 4 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.615e-06/0.4385, allocations: 3.984 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.4385, allocations: 0 / 1.071 GB, free: 7 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008537/0.4394, allocations: 0.542 MB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.4394, allocations: 12.03 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.553e-05/0.4395, allocations: 28.56 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005354/0.44, allocations: 329 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.44, allocations: 24.88 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.4401, allocations: 24.38 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004554/0.4405, allocations: 237.4 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.4406, allocations: 4.172 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.4406, allocations: 15.94 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.4406, allocations: 7.938 kB / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004357/0.4411, allocations: 182.1 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009759/0.442, allocations: 0.6978 MB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000445/0.4425, allocations: 176.8 kB / 1.073 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.4427, allocations: 82.53 kB / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.4427, allocations: 0 / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.4428, allocations: 46.56 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=19): time 1.012e-06/0.4428, allocations: 0 / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19): time 0.0006105/0.4434, allocations: 233.2 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.4434, allocations: 55.39 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.4436, allocations: 215.5 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.4437, allocations: 33.7 kB / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.4438, allocations: 164.5 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/0.4438, allocations: 47.3 kB / 1.074 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.4439, allocations: 65.83 kB / 1.074 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.4441, allocations: 330.8 kB / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.4443, allocations: 64.42 kB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.4445, allocations: 119.8 kB / 1.075 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/0.4448, allocations: 180.3 kB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4448, allocations: 0 / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004528/0.4453, allocations: 230.9 kB / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.4453, allocations: 5.719 kB / 1.075 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.4453, allocations: 4 kB / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.4453, allocations: 4 kB / 1.075 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.4455, allocations: 39.91 kB / 1.075 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.4456, allocations: 0 / 1.075 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.4457, allocations: 32.05 kB / 1.075 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.4457, allocations: 8 kB / 1.075 GB, free: 2.547 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 17 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.gre.greHys.y,$PRE.actAirSet.gre.greHys.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 (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 prepare postOptimizeDAE: time 0.0001873/0.4459, allocations: 157.7 kB / 1.075 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.805e-05/0.446, allocations: 19.72 kB / 1.076 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.944e-05/0.446, allocations: 25.86 kB / 1.076 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.446, allocations: 4 kB / 1.076 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.446, allocations: 0 / 1.076 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4461, allocations: 4 kB / 1.076 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003101/0.4464, allocations: 313.3 kB / 1.076 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4464, allocations: 0 / 1.076 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.4465, allocations: 23.97 kB / 1.076 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.4465, allocations: 0 / 1.076 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.4466, allocations: 4 kB / 1.076 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.4466, allocations: 0 / 1.076 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4466, allocations: 3.938 kB / 1.076 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004271/0.447, allocations: 284.5 kB / 1.076 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/0.4471, allocations: 96.8 kB / 1.076 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/0.4471, allocations: 8 kB / 1.076 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.4472, allocations: 11.98 kB / 1.076 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.765e-05/0.4473, allocations: 27.95 kB / 1.076 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.4474, allocations: 4 kB / 1.076 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001111/0.4475, allocations: 145.5 kB / 1.076 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4475, allocations: 0 / 1.076 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002902/0.4478, allocations: 47.75 kB / 1.076 GB, free: 1.305 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: 11 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.gre.greHys.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.000178/0.448, allocations: 112.2 kB / 1.077 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004504/0.4484, allocations: 178.3 kB / 1.077 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4484, allocations: 0 / 1.077 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.4486, allocations: 79.89 kB / 1.077 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.449, allocations: 36.8 kB / 1.077 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000806/0.4498, allocations: 497.5 kB / 1.077 GB, free: 396 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.4502, allocations: 0.749 MB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001461/0.4504, allocations: 29.92 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.939e-05/0.4505, allocations: 23.44 kB / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of SimCode: time 3.81e-07/0.4505, allocations: 4 kB / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of Templates: time 0.005164/0.4556, allocations: 1.774 MB / 1.08 GB, free: 13.84 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1)