Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.0008426/0.0008426, allocations: 97.33 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.009761/0.009762, allocations: 173.2 kB / 16.27 MB, free: 6.66 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.504/1.504, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.983/2.983, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004048/0.0004053, allocations: 8.062 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4398/0.4403, allocations: 162.2 MB / 1.074 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.001952/0.4423, allocations: 0.8328 MB / 1.075 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001995/0.4443, allocations: 1.006 MB / 1.076 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002605/0.4446, allocations: 4 kB / 1.076 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.885e-05/0.4447, allocations: 11.86 kB / 1.076 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002072/0.4449, allocations: 15.86 kB / 1.076 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.4452, allocations: 75.88 kB / 1.076 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002664/0.4455, allocations: 208.2 kB / 1.076 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003416/0.4459, allocations: 124.1 kB / 1.076 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.4461, allocations: 67.66 kB / 1.076 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.4462, allocations: 71.5 kB / 1.077 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.4462, allocations: 4 kB / 1.077 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.438e-05/0.4463, allocations: 8 kB / 1.077 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.052e-05/0.4463, allocations: 27.78 kB / 1.077 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.703e-05/0.4464, allocations: 101.2 kB / 1.077 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.4467, allocations: 279.2 kB / 1.077 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.4467, allocations: 0 / 1.077 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.233e-06/0.4467, allocations: 0 / 1.077 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.4467, allocations: 0 / 1.077 GB, free: 4.652 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.0006941/0.4474, allocations: 467.2 kB / 1.077 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.4475, allocations: 8.031 kB / 1.077 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.302e-05/0.4475, allocations: 28.66 kB / 1.077 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000498/0.448, allocations: 284.3 kB / 1.078 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/0.4481, allocations: 20.75 kB / 1.078 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.031e-05/0.4481, allocations: 24.38 kB / 1.078 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004537/0.4486, allocations: 203.8 kB / 1.078 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.4486, allocations: 4.188 kB / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.894e-05/0.4486, allocations: 11.94 kB / 1.078 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.4487, allocations: 4 kB / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004078/0.4491, allocations: 169.6 kB / 1.078 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008761/0.45, allocations: 0.5995 MB / 1.079 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000374/0.4504, allocations: 166.6 kB / 1.079 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.4505, allocations: 68.83 kB / 1.079 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.4506, allocations: 4 kB / 1.079 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.4506, allocations: 34.56 kB / 1.079 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.4506, allocations: 0 / 1.079 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.0006683/0.4513, allocations: 242.9 kB / 1.079 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.4514, allocations: 51.41 kB / 1.079 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.4515, allocations: 183.9 kB / 1.079 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.4516, allocations: 29.64 kB / 1.079 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.4517, allocations: 148.1 kB / 1.08 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.4518, allocations: 43.47 kB / 1.08 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/0.4518, allocations: 37.69 kB / 1.08 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.452, allocations: 326.8 kB / 1.08 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.4522, allocations: 63.95 kB / 1.08 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.4524, allocations: 106.4 kB / 1.08 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/0.4528, allocations: 162.3 kB / 1.08 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4528, allocations: 0 / 1.08 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004222/0.4532, allocations: 203 kB / 1.08 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.4533, allocations: 11.94 kB / 1.08 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.4533, allocations: 4.141 kB / 1.08 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.4533, allocations: 8 kB / 1.08 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.4535, allocations: 27.98 kB / 1.081 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.4535, allocations: 4 kB / 1.081 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.4536, allocations: 27.83 kB / 1.081 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.4536, allocations: 4 kB / 1.081 GB, free: 0.6797 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.0001796/0.4538, allocations: 145.8 kB / 1.081 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.4539, allocations: 19.75 kB / 1.081 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.444e-05/0.4539, allocations: 25.86 kB / 1.081 GB, free: 500 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4539, allocations: 0 / 1.081 GB, free: 500 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.454, allocations: 4 kB / 1.081 GB, free: 496 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.454, allocations: 0 / 1.081 GB, free: 496 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002986/0.4543, allocations: 269.5 kB / 1.081 GB, free: 176 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4543, allocations: 3.938 kB / 1.081 GB, free: 172 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.4544, allocations: 35.91 kB / 1.081 GB, free: 136 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.4544, allocations: 4 kB / 1.081 GB, free: 132 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.4545, allocations: 0 / 1.081 GB, free: 132 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4545, allocations: 0 / 1.081 GB, free: 132 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4545, allocations: 0 / 1.081 GB, free: 132 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004383/0.4549, allocations: 271.3 kB / 1.081 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.455, allocations: 96.8 kB / 1.081 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.455, allocations: 7.938 kB / 1.081 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.4551, allocations: 15.98 kB / 1.081 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.798e-05/0.4552, allocations: 27.97 kB / 1.081 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.4553, allocations: 7.938 kB / 1.081 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.635e-05/0.4554, allocations: 124.2 kB / 1.082 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4554, allocations: 0 / 1.082 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002807/0.4556, allocations: 43.75 kB / 1.082 GB, free: 15.51 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.000144/0.4558, allocations: 112.9 kB / 1.082 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004365/0.4562, allocations: 161.7 kB / 1.082 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4563, allocations: 0 / 1.082 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.4565, allocations: 92.14 kB / 1.082 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.4568, allocations: 20.59 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.0007169/0.4575, allocations: 422.2 kB / 1.082 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.4578, allocations: 0.7322 MB / 1.083 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001163/0.458, 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 5.964e-05/0.458, allocations: 23.42 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of SimCode: time 9.32e-07/0.458, allocations: 0 / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of Templates: time 0.005121/0.4632, allocations: 1.32 MB / 1.084 GB, free: 12.62 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1)