Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, 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.009797/0.009798, allocations: 169.3 kB / 16.26 MB, free: 6.652 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.492/1.492, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.962/2.962, allocations: 473.4 MB / 0.7469 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003477, allocations: 9.781 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3779, allocations: 162.2 MB / 1.074 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.001588/0.3795, allocations: 0.8276 MB / 1.075 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001617/0.3812, allocations: 1.002 MB / 1.076 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.3814, allocations: 8 kB / 1.076 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.49e-05/0.3814, allocations: 15.8 kB / 1.076 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.3816, allocations: 15.88 kB / 1.076 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.3819, allocations: 67.92 kB / 1.076 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002564/0.3821, allocations: 216.1 kB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002572/0.3824, allocations: 124.1 kB / 1.076 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.3826, allocations: 63.66 kB / 1.076 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.3827, allocations: 71.55 kB / 1.077 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.3828, allocations: 8 kB / 1.077 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.016e-05/0.3828, allocations: 4 kB / 1.077 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.756e-05/0.3828, allocations: 31.8 kB / 1.077 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.3829, allocations: 105.1 kB / 1.077 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.3832, allocations: 271.2 kB / 1.077 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3832, allocations: 0 / 1.077 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3832, allocations: 4 kB / 1.077 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.3832, allocations: 0 / 1.077 GB, free: 4.672 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.0007076/0.384, allocations: 467.2 kB / 1.077 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.384, allocations: 8.031 kB / 1.077 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.365e-05/0.3841, allocations: 28.66 kB / 1.077 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004838/0.3846, allocations: 284.3 kB / 1.078 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/0.3846, allocations: 20.8 kB / 1.078 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/0.3847, allocations: 20.38 kB / 1.078 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004198/0.3851, allocations: 211.8 kB / 1.078 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3851, allocations: 192 / 1.078 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/0.3851, allocations: 11.88 kB / 1.078 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.3851, allocations: 8 kB / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004171/0.3856, allocations: 173.6 kB / 1.078 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008447/0.3864, allocations: 0.5878 MB / 1.079 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003605/0.3868, allocations: 168.3 kB / 1.079 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.387, allocations: 80.81 kB / 1.079 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.387, allocations: 0 / 1.079 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.387, allocations: 30.56 kB / 1.079 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 9.51e-07/0.387, allocations: 0 / 1.079 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.0006302/0.3877, allocations: 237.2 kB / 1.079 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.3877, allocations: 55.41 kB / 1.079 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.3879, allocations: 179.9 kB / 1.079 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.3879, allocations: 37.7 kB / 1.079 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.179e-05/0.388, allocations: 148 kB / 1.08 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.3881, allocations: 47.39 kB / 1.08 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.77e-05/0.3881, allocations: 33.7 kB / 1.08 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3883, allocations: 330.8 kB / 1.08 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.3884, allocations: 51.97 kB / 1.08 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.3887, allocations: 114.4 kB / 1.08 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.389, allocations: 155.5 kB / 1.08 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.389, allocations: 4 kB / 1.08 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004337/0.3895, allocations: 209.4 kB / 1.08 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.3895, allocations: 10.53 kB / 1.08 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.3895, allocations: 4 kB / 1.08 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.3895, allocations: 0 / 1.08 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.3897, allocations: 39.91 kB / 1.081 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.3897, allocations: 0 / 1.081 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.3899, allocations: 27.83 kB / 1.081 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.3899, allocations: 4 kB / 1.081 GB, free: 0.6953 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.0001594/0.39, allocations: 145.8 kB / 1.081 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.487e-05/0.3901, allocations: 15.75 kB / 1.081 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.593e-05/0.3902, allocations: 21.86 kB / 1.081 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3902, allocations: 4 kB / 1.081 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3902, allocations: 0 / 1.081 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.3902, allocations: 0 / 1.081 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/0.3905, allocations: 273.5 kB / 1.081 GB, free: 196 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.3905, allocations: 3.938 kB / 1.081 GB, free: 192 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.3906, allocations: 35.91 kB / 1.081 GB, free: 156 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3906, allocations: 0 / 1.081 GB, free: 156 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.3907, allocations: 4 kB / 1.081 GB, free: 152 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3907, allocations: 0 / 1.081 GB, free: 152 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3907, allocations: 4 kB / 1.081 GB, free: 148 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004587/0.3911, allocations: 263.3 kB / 1.081 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.578e-05/0.3912, allocations: 100.8 kB / 1.081 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.3912, allocations: 4 kB / 1.081 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.3914, allocations: 19.98 kB / 1.081 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.785e-05/0.3915, allocations: 23.92 kB / 1.081 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.3915, allocations: 7.984 kB / 1.081 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.289e-05/0.3916, allocations: 120.2 kB / 1.082 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3916, allocations: 0 / 1.082 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000275/0.3919, allocations: 47.75 kB / 1.082 GB, free: 15.54 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.0001355/0.392, allocations: 110 kB / 1.082 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004342/0.3924, allocations: 159.8 kB / 1.082 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3924, allocations: 0 / 1.082 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.3926, allocations: 89.92 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.0003069/0.393, allocations: 28.47 kB / 1.082 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00067/0.3936, allocations: 424.3 kB / 1.082 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.394, allocations: 0.7361 MB / 1.083 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001225/0.3941, allocations: 21.53 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.063e-05/0.3942, allocations: 19.44 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of SimCode: time 3.01e-07/0.3942, allocations: 0 / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of Templates: time 0.004415/0.3986, allocations: 1.326 MB / 1.084 GB, free: 12.64 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1)