Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00182/0.00182, allocations: 195.5 kB / 16.14 MB, free: 6.703 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.477/1.477, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.252/3.252, allocations: 472.6 MB / 0.7447 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 63.73 kB / 0.9114 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3754, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003123/0.3785, allocations: 1.478 MB / 1.069 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.3799, allocations: 1.081 MB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.3801, allocations: 4 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.618e-05/0.3802, allocations: 19.78 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.3803, allocations: 23.8 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.3806, allocations: 111.9 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003067/0.381, allocations: 312.6 kB / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003764/0.3813, allocations: 213.9 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.3816, allocations: 119.4 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.3817, allocations: 135.3 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.532e-05/0.3818, allocations: 16 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.375e-05/0.3818, allocations: 20 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.202e-05/0.3819, allocations: 67.7 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.382, allocations: 143.1 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004021/0.3824, allocations: 442.7 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.3824, allocations: 3.984 kB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3824, allocations: 0 / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.3825, allocations: 4 kB / 1.072 GB, free: 6.699 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.0009749/0.3834, allocations: 0.5813 MB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.3835, allocations: 8.031 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.917e-05/0.3836, allocations: 40.47 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006029/0.3842, allocations: 329.3 kB / 1.073 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/0.3842, allocations: 29.38 kB / 1.073 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.091e-05/0.3843, allocations: 32.38 kB / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005881/0.3849, allocations: 295.1 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.3849, allocations: 192 / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/0.385, allocations: 15.94 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.385, allocations: 8 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005502/0.3855, allocations: 231.9 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.3869, allocations: 0.8327 MB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005287/0.3874, allocations: 253.6 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/0.3877, allocations: 113.3 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.004e-05/0.3878, allocations: 4.234 kB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.3878, allocations: 38.8 kB / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 3.767e-06/0.3878, allocations: 3.984 kB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.0007658/0.3886, allocations: 307.4 kB / 1.075 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.3886, allocations: 55.41 kB / 1.075 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.3888, allocations: 207.6 kB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.3889, allocations: 29.7 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.389, allocations: 180.1 kB / 1.075 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.259e-05/0.389, allocations: 78.91 kB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.845e-05/0.3891, allocations: 65.97 kB / 1.075 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3893, allocations: 338.8 kB / 1.076 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.3895, allocations: 80.45 kB / 1.076 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.3897, allocations: 135.9 kB / 1.076 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004056/0.3902, allocations: 223.6 kB / 1.076 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3902, allocations: 0 / 1.076 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005158/0.3907, allocations: 273.1 kB / 1.076 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.3907, allocations: 8 kB / 1.076 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.3907, allocations: 4.156 kB / 1.076 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.3908, allocations: 15.94 kB / 1.076 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.391, allocations: 55.91 kB / 1.076 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.3911, allocations: 7.984 kB / 1.076 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.3912, allocations: 27.69 kB / 1.076 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.3912, allocations: 15.98 kB / 1.076 GB, free: 1.574 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: 14 (reaToInt2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.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 (34): * Single equations (assignments): 34 * 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.0002229/0.3915, allocations: 149.8 kB / 1.077 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.295e-05/0.3915, allocations: 19.81 kB / 1.077 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000558/0.3921, allocations: 248 kB / 1.077 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.3921, allocations: 7.938 kB / 1.077 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.3921, allocations: 0 / 1.077 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3921, allocations: 0 / 1.077 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004097/0.3925, allocations: 357.3 kB / 1.077 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3926, allocations: 4 kB / 1.077 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.3927, allocations: 39.97 kB / 1.077 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3928, allocations: 0 / 1.077 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.3928, allocations: 8 kB / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3928, allocations: 3.938 kB / 1.077 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-06/0.3928, allocations: 3.984 kB / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005537/0.3934, allocations: 339.5 kB / 1.077 GB, free: 348 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.87e-05/0.3934, allocations: 100.8 kB / 1.078 GB, free: 228 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.3935, allocations: 4 kB / 1.078 GB, free: 224 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.3936, allocations: 11.92 kB / 1.078 GB, free: 212 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.3937, allocations: 27.97 kB / 1.078 GB, free: 184 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.3937, allocations: 4 kB / 1.078 GB, free: 180 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001211/0.3939, allocations: 141.5 kB / 1.078 GB, free: 40 kB / 0.8262 GB Notification: Performance of sort global known variables: time 3.81e-07/0.3939, allocations: 0 / 1.078 GB, free: 40 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003223/0.3942, allocations: 67.73 kB / 1.078 GB, free: 15.97 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: 9 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001721/0.3944, allocations: 112.1 kB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005251/0.3949, allocations: 215.7 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3949, allocations: 4.375 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002291/0.3952, allocations: 119.9 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.3955, allocations: 27.77 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.3965, allocations: 0.5901 MB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.3969, allocations: 0.7636 MB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001527/0.3971, allocations: 38.27 kB / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.259e-05/0.3971, allocations: 27.42 kB / 1.08 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of SimCode: time 7.01e-07/0.3971, allocations: 0 / 1.08 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of Templates: time 0.005296/0.4024, allocations: 1.708 MB / 1.081 GB, free: 12.37 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1)