Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 91.45 kB / 15.36 MB, free: 0.7344 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.008154/0.008154, allocations: 169.2 kB / 16.26 MB, free: 6.68 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.546/1.546, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.072/3.072, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004909/0.0004909, allocations: 10.16 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4127/0.4132, allocations: 162.2 MB / 1.074 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.001879/0.4151, allocations: 0.8289 MB / 1.075 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.4167, allocations: 0.9986 MB / 1.076 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.4168, allocations: 4 kB / 1.076 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.248e-05/0.4169, allocations: 15.8 kB / 1.076 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.417, allocations: 19.84 kB / 1.076 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.4173, allocations: 75.89 kB / 1.076 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.4176, allocations: 204.2 kB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002962/0.4179, allocations: 124.1 kB / 1.076 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.4181, allocations: 67.64 kB / 1.076 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.4182, allocations: 79.5 kB / 1.077 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.4182, allocations: 4 kB / 1.077 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.296e-05/0.4183, allocations: 4 kB / 1.077 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.094e-05/0.4183, allocations: 35.78 kB / 1.077 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.823e-05/0.4184, allocations: 101.2 kB / 1.077 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002881/0.4187, allocations: 267.2 kB / 1.077 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.4187, allocations: 0 / 1.077 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.484e-06/0.4187, allocations: 4 kB / 1.077 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.4187, allocations: 0 / 1.077 GB, free: 4.668 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.0006948/0.4194, allocations: 467.2 kB / 1.077 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.4195, allocations: 8.031 kB / 1.077 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.012e-05/0.4196, allocations: 28.66 kB / 1.077 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005038/0.4201, allocations: 284.3 kB / 1.078 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.4201, allocations: 20.81 kB / 1.078 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.4201, allocations: 20.38 kB / 1.078 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000428/0.4206, allocations: 207.7 kB / 1.078 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.4206, allocations: 192 / 1.078 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.4206, allocations: 15.94 kB / 1.078 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.4206, allocations: 4 kB / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004201/0.4211, allocations: 173.6 kB / 1.078 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008369/0.4219, allocations: 0.5878 MB / 1.079 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003596/0.4223, allocations: 170.6 kB / 1.079 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.4225, allocations: 68.83 kB / 1.079 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.4225, allocations: 8.062 kB / 1.079 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.4225, allocations: 38.56 kB / 1.079 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.4225, allocations: 0 / 1.079 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.0006457/0.4232, allocations: 238.7 kB / 1.079 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.4233, allocations: 55.41 kB / 1.079 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.4234, allocations: 183.9 kB / 1.079 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.4234, allocations: 25.7 kB / 1.079 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.413e-05/0.4235, allocations: 140.1 kB / 1.08 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.4236, allocations: 43.41 kB / 1.08 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.211e-05/0.4236, allocations: 41.69 kB / 1.08 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.4237, allocations: 330.8 kB / 1.08 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.4239, allocations: 63.95 kB / 1.08 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.4241, allocations: 102.4 kB / 1.08 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/0.4245, allocations: 167 kB / 1.08 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4245, allocations: 0 / 1.08 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004288/0.425, allocations: 201.2 kB / 1.08 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.425, allocations: 11.92 kB / 1.08 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.425, allocations: 4 kB / 1.08 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.425, allocations: 0 / 1.08 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.4252, allocations: 40.14 kB / 1.081 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.4253, allocations: 3.984 kB / 1.081 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.4254, allocations: 23.83 kB / 1.081 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.4254, allocations: 12 kB / 1.081 GB, free: 0.6875 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.0001716/0.4256, allocations: 141.8 kB / 1.081 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.4256, allocations: 23.75 kB / 1.081 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.247e-05/0.4257, allocations: 17.88 kB / 1.081 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4257, allocations: 4 kB / 1.081 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.4257, allocations: 0 / 1.081 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.4257, allocations: 3.984 kB / 1.081 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002821/0.426, allocations: 273.5 kB / 1.081 GB, free: 184 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.426, allocations: 7.922 kB / 1.081 GB, free: 176 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.4262, allocations: 27.92 kB / 1.081 GB, free: 148 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4262, allocations: 0 / 1.081 GB, free: 148 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.4262, allocations: 4 kB / 1.081 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4262, allocations: 4 kB / 1.081 GB, free: 140 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4262, allocations: 0 / 1.081 GB, free: 140 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004435/0.4266, allocations: 273.5 kB / 1.081 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.249e-05/0.4267, allocations: 96.8 kB / 1.081 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.4267, allocations: 4 kB / 1.081 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.4269, allocations: 15.98 kB / 1.081 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.31e-05/0.427, allocations: 27.91 kB / 1.081 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.427, allocations: 7.938 kB / 1.081 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.419e-05/0.4271, allocations: 124.2 kB / 1.082 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4271, allocations: 4 kB / 1.082 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002783/0.4274, allocations: 39.75 kB / 1.082 GB, free: 15.52 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.0001463/0.4275, allocations: 110.1 kB / 1.082 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004438/0.428, allocations: 164 kB / 1.082 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.428, allocations: 0 / 1.082 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.4282, allocations: 81.3 kB / 1.082 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.4285, allocations: 32.7 kB / 1.082 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006966/0.4292, allocations: 420.3 kB / 1.082 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.4296, allocations: 0.7361 MB / 1.083 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001178/0.4297, allocations: 21.55 kB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.019e-05/0.4298, allocations: 19.42 kB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of SimCode: time 3.81e-07/0.4298, allocations: 0 / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of Templates: time 0.004545/0.4344, allocations: 1.325 MB / 1.084 GB, free: 12.63 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1)