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.001149/0.001149, allocations: 90.83 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.01173/0.01173, allocations: 172.4 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.511/1.511, allocations: 223.2 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.965/2.965, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005634/0.0005635, allocations: 10.41 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4395/0.4401, allocations: 162.2 MB / 1.074 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.001641/0.4418, allocations: 0.8298 MB / 1.075 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.443, allocations: 0.9986 MB / 1.076 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.474e-05/0.4431, allocations: 4 kB / 1.076 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.174e-05/0.4431, allocations: 15.8 kB / 1.076 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.4433, allocations: 23.84 kB / 1.076 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.4435, allocations: 67.89 kB / 1.076 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002162/0.4437, allocations: 212.1 kB / 1.076 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002702/0.444, allocations: 124.1 kB / 1.076 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.4442, allocations: 67.64 kB / 1.076 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.4443, allocations: 71.56 kB / 1.077 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.4443, allocations: 4 kB / 1.077 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.947e-05/0.4443, allocations: 4 kB / 1.077 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.627e-05/0.4444, allocations: 31.8 kB / 1.077 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.4445, allocations: 101.2 kB / 1.077 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.4448, allocations: 275.2 kB / 1.077 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4448, allocations: 0 / 1.077 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4448, allocations: 4 kB / 1.077 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.4448, allocations: 0 / 1.077 GB, free: 4.633 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.0006949/0.4455, allocations: 467.2 kB / 1.077 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.4456, allocations: 8.031 kB / 1.077 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.944e-05/0.4456, allocations: 28.66 kB / 1.077 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004859/0.4461, allocations: 287.2 kB / 1.078 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.4462, allocations: 20.81 kB / 1.078 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.711e-05/0.4462, allocations: 20.38 kB / 1.078 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004253/0.4466, allocations: 207.8 kB / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.4467, allocations: 192 / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.4467, allocations: 19.92 kB / 1.078 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.4467, allocations: 4 kB / 1.078 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004179/0.4471, allocations: 177.6 kB / 1.078 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008306/0.448, allocations: 0.5839 MB / 1.079 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003451/0.4483, allocations: 166.7 kB / 1.079 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/0.4485, allocations: 72.83 kB / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.4486, allocations: 3.938 kB / 1.079 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.4486, allocations: 34.56 kB / 1.079 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.382e-06/0.4486, allocations: 0 / 1.079 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.0006102/0.4492, allocations: 239 kB / 1.079 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.4493, allocations: 59.41 kB / 1.079 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.4494, allocations: 179.9 kB / 1.079 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.4494, allocations: 29.7 kB / 1.079 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.124e-05/0.4495, allocations: 144.1 kB / 1.08 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.4496, allocations: 39.41 kB / 1.08 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.944e-05/0.4496, allocations: 41.69 kB / 1.08 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.4498, allocations: 326.8 kB / 1.08 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.4499, allocations: 63.95 kB / 1.08 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.4501, allocations: 110.7 kB / 1.08 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003367/0.4505, allocations: 166.3 kB / 1.08 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4505, allocations: 0 / 1.08 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004322/0.4509, allocations: 210.8 kB / 1.08 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.451, allocations: 7.984 kB / 1.08 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.451, allocations: 4 kB / 1.08 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.451, allocations: 0 / 1.08 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.4512, allocations: 35.92 kB / 1.081 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.4512, allocations: 0 / 1.081 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.4513, allocations: 31.98 kB / 1.081 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.4513, allocations: 8 kB / 1.081 GB, free: 0.6484 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.0001851/0.4515, allocations: 141.8 kB / 1.081 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/0.4516, allocations: 19.75 kB / 1.081 GB, free: 492 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.423e-05/0.4516, allocations: 13.88 kB / 1.081 GB, free: 484 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.4516, allocations: 4 kB / 1.081 GB, free: 480 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4517, allocations: 0 / 1.081 GB, free: 480 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4517, allocations: 4 kB / 1.081 GB, free: 476 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/0.452, allocations: 273.5 kB / 1.081 GB, free: 152 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.452, allocations: 7.922 kB / 1.081 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.4521, allocations: 23.98 kB / 1.081 GB, free: 120 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.4521, allocations: 0 / 1.081 GB, free: 120 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.4521, allocations: 4 kB / 1.081 GB, free: 116 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.4521, allocations: 4 kB / 1.081 GB, free: 112 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.4521, allocations: 3.938 kB / 1.081 GB, free: 108 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004411/0.4526, allocations: 272.9 kB / 1.081 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.4527, allocations: 96.8 kB / 1.081 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.4527, allocations: 0 / 1.081 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.4528, allocations: 19.98 kB / 1.081 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.984e-05/0.4529, allocations: 27.91 kB / 1.081 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.118e-06/0.4529, allocations: 4 kB / 1.081 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.75e-05/0.453, allocations: 124.2 kB / 1.082 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.453, allocations: 0 / 1.082 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002599/0.4533, allocations: 43.75 kB / 1.082 GB, free: 15.49 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.000159/0.4534, allocations: 111.2 kB / 1.082 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004263/0.4539, allocations: 157.7 kB / 1.082 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4539, allocations: 4.312 kB / 1.082 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.4541, allocations: 83.89 kB / 1.082 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.4544, allocations: 23.88 kB / 1.082 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007389/0.4551, allocations: 424.4 kB / 1.082 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.4554, allocations: 0.736 MB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001049/0.4556, allocations: 25.48 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.515e-05/0.4556, allocations: 23.42 kB / 1.083 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.4556, allocations: 0 / 1.083 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of Templates: time 0.004209/0.4598, allocations: 1.325 MB / 1.084 GB, free: 12.59 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)