Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.00124/0.00124, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001698/0.001698, allocations: 191 kB / 16.14 MB, free: 6.688 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.477/1.477, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.828/2.828, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 61.39 kB / 0.9114 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.421, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002904/0.424, allocations: 1.186 MB / 1.069 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.4253, allocations: 1.01 MB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.4254, allocations: 4 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.074e-05/0.4255, allocations: 11.86 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.4257, allocations: 27.78 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.4259, allocations: 63.97 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.4262, allocations: 212.2 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002688/0.4265, allocations: 128.1 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.4266, allocations: 83.64 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.4268, allocations: 95.47 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.497e-05/0.4268, allocations: 12 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.07e-05/0.4269, allocations: 12 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.707e-05/0.4269, allocations: 39.84 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.978e-05/0.427, allocations: 91.45 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.4273, allocations: 283.2 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4273, allocations: 3.984 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.62e-07/0.4273, allocations: 7.938 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.4274, allocations: 0 / 1.071 GB, free: 7.605 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.0008045/0.4282, allocations: 495.1 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.4282, allocations: 12.03 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.832e-05/0.4283, allocations: 24.59 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005041/0.4288, allocations: 276.2 kB / 1.072 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.4288, allocations: 28.8 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.4289, allocations: 20.38 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004626/0.4293, allocations: 195.8 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.4294, allocations: 192 / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.4294, allocations: 11.94 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.4294, allocations: 8 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004094/0.4298, allocations: 157.6 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008977/0.4307, allocations: 0.5878 MB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/0.4311, allocations: 166.6 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.4313, allocations: 64.83 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.4313, allocations: 4.062 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.4314, allocations: 38.56 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.4314, allocations: 0 / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.000641/0.432, allocations: 218.7 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.4321, allocations: 55.41 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.4323, allocations: 179.9 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.4323, allocations: 33.7 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.4324, allocations: 136.1 kB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.4325, allocations: 51.38 kB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.423e-05/0.4326, allocations: 53.69 kB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002072/0.4329, allocations: 326.8 kB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.433, allocations: 51.95 kB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.4332, allocations: 101.1 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000331/0.4336, allocations: 150.1 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4336, allocations: 0 / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004674/0.4341, allocations: 199.3 kB / 1.074 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.4341, allocations: 8.156 kB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.4341, allocations: 4 kB / 1.074 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.4342, allocations: 4 kB / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.4344, allocations: 27.92 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.4344, allocations: 7.984 kB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.4345, allocations: 19.84 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.4345, allocations: 11.98 kB / 1.074 GB, free: 3.684 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.0002315/0.4348, allocations: 147.5 kB / 1.074 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/0.4348, allocations: 19.75 kB / 1.074 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.464e-05/0.4349, allocations: 17.88 kB / 1.074 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.4349, allocations: 4 kB / 1.074 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.4349, allocations: 3.938 kB / 1.074 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4349, allocations: 3.984 kB / 1.075 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.4352, allocations: 273.4 kB / 1.075 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4352, allocations: 3.938 kB / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.4354, allocations: 19.98 kB / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4354, allocations: 0 / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.4354, allocations: 12 kB / 1.075 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.4354, allocations: 0 / 1.075 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4354, allocations: 0 / 1.075 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004492/0.4359, allocations: 267.1 kB / 1.075 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.436, allocations: 88.95 kB / 1.075 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.436, allocations: 4 kB / 1.075 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.4362, allocations: 15.98 kB / 1.075 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-05/0.4363, allocations: 23.88 kB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.4363, allocations: 8 kB / 1.075 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000131/0.4364, allocations: 120.2 kB / 1.075 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4364, allocations: 0 / 1.075 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002759/0.4367, allocations: 39.84 kB / 1.075 GB, free: 2.547 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.0001838/0.4369, allocations: 115.2 kB / 1.075 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004316/0.4373, allocations: 141.4 kB / 1.076 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4373, allocations: 0 / 1.076 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.4375, allocations: 83.89 kB / 1.076 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.4379, allocations: 24.23 kB / 1.076 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007568/0.4386, allocations: 406.8 kB / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.439, allocations: 0.7321 MB / 1.077 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001231/0.4391, allocations: 29.52 kB / 1.077 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.58e-05/0.4392, allocations: 19.44 kB / 1.077 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.4392, allocations: 0 / 1.077 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of Templates: time 0.004878/0.444, allocations: 1.336 MB / 1.078 GB, free: 15.67 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1)