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.001238/0.001238, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001776/0.001776, allocations: 190.8 kB / 16.25 MB, free: 6.629 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.442/1.442, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.908/2.908, allocations: 472.6 MB / 0.7448 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 67.39 kB / 0.9116 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3661, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003672/0.3699, allocations: 1.487 MB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001739/0.3716, allocations: 1.077 MB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.3718, allocations: 8 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.922e-05/0.3719, allocations: 19.73 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.3721, allocations: 19.78 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.3725, allocations: 111.9 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003466/0.3728, allocations: 344.6 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004458/0.3733, allocations: 213.9 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/0.3735, allocations: 127.5 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.3737, allocations: 159.2 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.891e-05/0.3738, allocations: 40 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.635e-05/0.3738, allocations: 36 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.821e-05/0.3739, allocations: 83.7 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.374, allocations: 159.1 kB / 1.072 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004264/0.3745, allocations: 458.7 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.3745, allocations: 0 / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3745, allocations: 0 / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.3745, allocations: 0 / 1.072 GB, free: 6.422 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.0009395/0.3754, allocations: 0.5891 MB / 1.073 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.3755, allocations: 8.031 kB / 1.073 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.564e-05/0.3756, allocations: 44.45 kB / 1.073 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005598/0.3761, allocations: 329.3 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.576e-05/0.3762, allocations: 29.31 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.063e-05/0.3762, allocations: 32.38 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005827/0.3768, allocations: 295.1 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.3769, allocations: 192 / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.997e-05/0.3769, allocations: 19.88 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.3769, allocations: 8 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005215/0.3775, allocations: 235.9 kB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.3788, allocations: 0.8288 MB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004702/0.3793, allocations: 245.6 kB / 1.075 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002403/0.3795, allocations: 121.2 kB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.588e-05/0.3796, allocations: 4.234 kB / 1.075 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.3796, allocations: 34.8 kB / 1.075 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 1.282e-06/0.3796, allocations: 3.938 kB / 1.075 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.0007364/0.3803, allocations: 311.4 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.3804, allocations: 59.41 kB / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.3806, allocations: 207.6 kB / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.3806, allocations: 29.7 kB / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.3808, allocations: 180.1 kB / 1.075 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.892e-05/0.3808, allocations: 78.91 kB / 1.075 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.3809, allocations: 69.95 kB / 1.076 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.3811, allocations: 326.8 kB / 1.076 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.3813, allocations: 88.5 kB / 1.076 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.3815, allocations: 135.9 kB / 1.076 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003909/0.3819, allocations: 215.6 kB / 1.076 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3819, allocations: 0 / 1.076 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005116/0.3824, allocations: 281.1 kB / 1.077 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.3825, allocations: 11.94 kB / 1.077 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.3825, allocations: 0 / 1.077 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.3825, allocations: 7.938 kB / 1.077 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.3828, allocations: 56.12 kB / 1.077 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.3828, allocations: 8 kB / 1.077 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.3829, allocations: 31.67 kB / 1.077 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.3829, allocations: 8 kB / 1.077 GB, free: 1.289 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.0002119/0.3832, allocations: 153.8 kB / 1.077 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/0.3832, allocations: 19.8 kB / 1.077 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005383/0.3837, allocations: 256 kB / 1.077 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.3838, allocations: 7.938 kB / 1.077 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.3838, allocations: 0 / 1.077 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3838, allocations: 0 / 1.077 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003801/0.3842, allocations: 349.3 kB / 1.077 GB, free: 468 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3842, allocations: 0 / 1.077 GB, free: 468 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.3844, allocations: 43.91 kB / 1.077 GB, free: 424 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3844, allocations: 4 kB / 1.077 GB, free: 420 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.3844, allocations: 11.98 kB / 1.077 GB, free: 408 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.3844, allocations: 7.938 kB / 1.077 GB, free: 400 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3844, allocations: 0 / 1.077 GB, free: 400 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004993/0.3849, allocations: 323.6 kB / 1.078 GB, free: 60 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.798e-05/0.385, allocations: 100.8 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.385, allocations: 12 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.3852, allocations: 7.938 kB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.637e-05/0.3853, allocations: 31.95 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.3853, allocations: 4 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001196/0.3854, allocations: 145.5 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3854, allocations: 0 / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003041/0.3857, allocations: 63.69 kB / 1.078 GB, free: 15.68 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.0001514/0.3859, allocations: 111.2 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005559/0.3865, allocations: 231.9 kB / 1.078 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3865, allocations: 0 / 1.078 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000214/0.3867, allocations: 116.3 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.387, allocations: 27.78 kB / 1.079 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000876/0.3879, allocations: 0.6034 MB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.3882, allocations: 0.7636 MB / 1.08 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001469/0.3884, allocations: 34.2 kB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.098e-05/0.3885, allocations: 31.44 kB / 1.08 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3885, allocations: 0 / 1.08 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of Templates: time 0.005455/0.3939, allocations: 1.789 MB / 1.082 GB, free: 11.97 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)