Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002356/0.002356, allocations: 192.8 kB / 16.53 MB, free: 6.664 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.469/1.469, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.826/2.826, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 59.95 kB / 0.9121 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3739, allocations: 159.9 MB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.00294/0.3769, allocations: 1.292 MB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00141/0.3783, allocations: 1.084 MB / 1.071 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001996/0.3785, allocations: 8 kB / 1.071 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.3787, allocations: 31.55 kB / 1.071 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.189e-05/0.3788, allocations: 27.67 kB / 1.071 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.3792, allocations: 119.8 kB / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.3794, allocations: 296.4 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002865/0.3797, allocations: 176.8 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/0.3799, allocations: 123.4 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.3801, allocations: 127.4 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.401e-05/0.3802, allocations: 32 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.241e-05/0.3802, allocations: 32 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.669e-05/0.3803, allocations: 67.77 kB / 1.072 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.3804, allocations: 127.3 kB / 1.072 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003721/0.3808, allocations: 394.9 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3808, allocations: 0 / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3808, allocations: 4 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.3808, allocations: 0 / 1.072 GB, free: 6.41 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008984/0.3817, allocations: 0.5458 MB / 1.073 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3817, allocations: 12.03 kB / 1.073 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.881e-05/0.3818, allocations: 28.56 kB / 1.073 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005282/0.3824, allocations: 324.9 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.91e-05/0.3824, allocations: 24.94 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.3825, allocations: 28.38 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005168/0.383, allocations: 237.4 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.383, allocations: 4.125 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.363e-05/0.3831, allocations: 15.94 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.128e-06/0.3831, allocations: 4 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005001/0.3836, allocations: 190.1 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.3848, allocations: 0.6939 MB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004701/0.3853, allocations: 179.5 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.3855, allocations: 78.55 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.3855, allocations: 4 kB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.3856, allocations: 42.55 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=19): time 1.673e-06/0.3856, allocations: 0 / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19): time 0.0007107/0.3863, allocations: 235.4 kB / 1.075 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.3863, allocations: 51.41 kB / 1.075 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.3866, allocations: 223.6 kB / 1.075 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.3866, allocations: 29.7 kB / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.3867, allocations: 160.5 kB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.379e-05/0.3868, allocations: 51.3 kB / 1.075 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.3869, allocations: 65.83 kB / 1.075 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3871, allocations: 326.8 kB / 1.075 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.3873, allocations: 64.42 kB / 1.076 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.3875, allocations: 128.9 kB / 1.076 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/0.3879, allocations: 178.6 kB / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3879, allocations: 0 / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004894/0.3884, allocations: 223.3 kB / 1.076 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.3885, allocations: 5.562 kB / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.3885, allocations: 4 kB / 1.076 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.3885, allocations: 4 kB / 1.076 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.3887, allocations: 43.91 kB / 1.076 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.3887, allocations: 224 / 1.076 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.3889, allocations: 31.83 kB / 1.076 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.3889, allocations: 8 kB / 1.076 GB, free: 1.953 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 17 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.gre.greHys.y,$PRE.actAirSet.gre.greHys.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 (27): * Single equations (assignments): 27 * 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.0003065/0.3892, allocations: 161.6 kB / 1.076 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.638e-05/0.3893, allocations: 19.72 kB / 1.076 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.916e-05/0.3894, allocations: 21.88 kB / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.3894, allocations: 4 kB / 1.076 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.3894, allocations: 4 kB / 1.076 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/0.3894, allocations: 3.984 kB / 1.076 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003857/0.3898, allocations: 305.4 kB / 1.077 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3898, allocations: 3.938 kB / 1.077 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.3899, allocations: 27.92 kB / 1.077 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.39, allocations: 0 / 1.077 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.39, allocations: 4 kB / 1.077 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.39, allocations: 7.922 kB / 1.077 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.39, allocations: 0 / 1.077 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004916/0.3905, allocations: 275.2 kB / 1.077 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.069e-05/0.3906, allocations: 96.84 kB / 1.077 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/0.3906, allocations: 8 kB / 1.077 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.3908, allocations: 7.984 kB / 1.077 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.3909, allocations: 27.97 kB / 1.077 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.3909, allocations: 12 kB / 1.077 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001582/0.3911, allocations: 141.5 kB / 1.077 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of sort global known variables: time 6.31e-07/0.3911, allocations: 0 / 1.077 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003161/0.3914, allocations: 47.75 kB / 1.077 GB, free: 0.7109 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.gre.greHys.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0002021/0.3916, allocations: 118.7 kB / 1.077 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005309/0.3922, allocations: 184.9 kB / 1.078 GB, free: 416 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3922, allocations: 0 / 1.078 GB, free: 416 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.3924, allocations: 86.12 kB / 1.078 GB, free: 332 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.3928, allocations: 27.72 kB / 1.078 GB, free: 304 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008538/0.3936, allocations: 410.4 kB / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.3941, allocations: 0.7526 MB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001437/0.3942, allocations: 29.92 kB / 1.079 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.755e-05/0.3943, allocations: 35.42 kB / 1.079 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of SimCode: time 9.21e-07/0.3943, allocations: 0 / 1.079 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of Templates: time 0.005727/0.4, allocations: 1.958 MB / 1.081 GB, free: 13.13 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1)