Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001234/0.001234, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006723/0.006723, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.551/1.551, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.075/3.075, allocations: 473.4 MB / 0.7469 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004944/0.0004944, allocations: 10.66 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4233/0.4238, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.00166/0.4255, allocations: 0.8276 MB / 1.075 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.4269, allocations: 0.9986 MB / 1.076 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.56e-05/0.427, allocations: 4 kB / 1.076 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.259e-05/0.4271, allocations: 15.8 kB / 1.076 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.4272, allocations: 19.84 kB / 1.076 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.4275, allocations: 67.95 kB / 1.076 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002203/0.4277, allocations: 212.2 kB / 1.076 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002614/0.428, allocations: 124 kB / 1.076 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.4281, allocations: 67.64 kB / 1.076 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.4282, allocations: 71.56 kB / 1.077 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.4283, allocations: 4 kB / 1.077 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.141e-05/0.4283, allocations: 8 kB / 1.077 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.712e-05/0.4283, allocations: 31.78 kB / 1.077 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.824e-05/0.4284, allocations: 105.2 kB / 1.077 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002794/0.4287, allocations: 267.2 kB / 1.077 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4287, allocations: 4 kB / 1.077 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.304e-06/0.4287, allocations: 0 / 1.077 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.453e-06/0.4288, allocations: 0 / 1.077 GB, free: 4.684 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.0007134/0.4295, allocations: 463.2 kB / 1.077 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/0.4295, allocations: 16.03 kB / 1.077 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.268e-05/0.4296, allocations: 24.59 kB / 1.077 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005179/0.4302, allocations: 287.2 kB / 1.078 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.4302, allocations: 16.81 kB / 1.078 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/0.4302, allocations: 20.38 kB / 1.078 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004363/0.4307, allocations: 203.8 kB / 1.078 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.4307, allocations: 4.125 kB / 1.078 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.4307, allocations: 15.94 kB / 1.078 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.4308, allocations: 4 kB / 1.078 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004399/0.4312, allocations: 177.6 kB / 1.078 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008914/0.4321, allocations: 0.5878 MB / 1.079 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003802/0.4325, allocations: 170.6 kB / 1.079 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.4327, allocations: 72.83 kB / 1.079 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.4327, allocations: 3.938 kB / 1.079 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.4328, allocations: 38.5 kB / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.4328, allocations: 0 / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.0006429/0.4334, allocations: 238.6 kB / 1.079 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.4335, allocations: 55.41 kB / 1.079 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.4337, allocations: 183.9 kB / 1.079 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.4337, allocations: 25.7 kB / 1.079 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.4338, allocations: 148.1 kB / 1.08 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/0.4339, allocations: 39.47 kB / 1.08 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.464e-05/0.4339, allocations: 41.69 kB / 1.08 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.4341, allocations: 322.8 kB / 1.08 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.4343, allocations: 67.95 kB / 1.08 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.4345, allocations: 106.9 kB / 1.08 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.4348, allocations: 167.4 kB / 1.08 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4348, allocations: 0 / 1.08 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004349/0.4353, allocations: 205.2 kB / 1.08 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.4353, allocations: 9.875 kB / 1.08 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.4353, allocations: 0 / 1.08 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.4353, allocations: 4 kB / 1.081 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.4355, allocations: 35.92 kB / 1.081 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/0.4356, allocations: 4 kB / 1.081 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.4357, allocations: 23.98 kB / 1.081 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.4357, allocations: 12 kB / 1.081 GB, free: 0.7031 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.000164/0.4359, allocations: 141.8 kB / 1.081 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.96e-05/0.4359, allocations: 19.75 kB / 1.081 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.444e-05/0.436, allocations: 17.88 kB / 1.081 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.436, allocations: 0 / 1.081 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.436, allocations: 4 kB / 1.081 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.436, allocations: 3.984 kB / 1.081 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.4363, allocations: 273.5 kB / 1.081 GB, free: 204 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4363, allocations: 3.938 kB / 1.081 GB, free: 200 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.4364, allocations: 23.98 kB / 1.081 GB, free: 176 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4364, allocations: 0 / 1.081 GB, free: 176 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.4365, allocations: 8 kB / 1.081 GB, free: 168 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4365, allocations: 0 / 1.081 GB, free: 168 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4365, allocations: 0 / 1.081 GB, free: 168 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004537/0.4369, allocations: 275.2 kB / 1.081 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.097e-05/0.437, allocations: 100.8 kB / 1.081 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.437, allocations: 0 / 1.081 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.4371, allocations: 23.97 kB / 1.081 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.331e-05/0.4372, allocations: 19.97 kB / 1.081 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.4372, allocations: 7.938 kB / 1.081 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.352e-05/0.4373, allocations: 128.2 kB / 1.082 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4374, allocations: 0 / 1.082 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002763/0.4376, allocations: 39.75 kB / 1.082 GB, free: 15.55 MB / 0.8419 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.000155/0.4378, allocations: 115.2 kB / 1.082 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004263/0.4382, allocations: 158.2 kB / 1.082 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4382, allocations: 4 kB / 1.082 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.4384, allocations: 83.89 kB / 1.082 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.4387, allocations: 19.94 kB / 1.082 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006875/0.4394, allocations: 424.4 kB / 1.082 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.4397, allocations: 0.7322 MB / 1.083 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001094/0.4399, allocations: 25.55 kB / 1.083 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.312e-05/0.4399, allocations: 19.42 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of SimCode: time 4.51e-07/0.4399, allocations: 3.938 kB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of Templates: time 0.004522/0.4445, allocations: 1.324 MB / 1.084 GB, free: 12.65 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1)