Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001159/0.001159, 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.001499/0.001499, allocations: 194.4 kB / 16.14 MB, free: 6.668 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.519/1.519, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.002/3.002, allocations: 472.6 MB / 0.7447 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001312, allocations: 60.41 kB / 0.9114 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3701, 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.003914/0.3741, allocations: 1.481 MB / 1.069 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001836/0.3759, allocations: 1.077 MB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002012/0.3761, allocations: 8 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.3763, allocations: 23.72 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.3765, allocations: 19.8 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.3769, allocations: 107.9 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003603/0.3772, allocations: 320.6 kB / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004818/0.3777, allocations: 209.9 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000261/0.378, allocations: 111.4 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.3782, allocations: 139.3 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.736e-05/0.3783, allocations: 24 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.954e-05/0.3783, allocations: 20 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.912e-05/0.3784, allocations: 63.69 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.3786, allocations: 139.1 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004485/0.379, allocations: 446.7 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.379, allocations: 0 / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.213e-06/0.379, allocations: 0 / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.3791, allocations: 4 kB / 1.072 GB, free: 6.695 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.0009866/0.38, allocations: 0.5774 MB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.3801, allocations: 12.03 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.9e-05/0.3802, allocations: 36.47 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006339/0.3808, allocations: 329.4 kB / 1.073 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.475e-05/0.3809, allocations: 25.38 kB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.718e-05/0.3809, allocations: 32.38 kB / 1.073 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005873/0.3815, allocations: 291.1 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.3816, allocations: 8.188 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.781e-05/0.3816, allocations: 15.94 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.3816, allocations: 8 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000512/0.3821, allocations: 243.8 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.3833, allocations: 0.8249 MB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004728/0.3838, allocations: 259.3 kB / 1.074 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.3841, allocations: 117.3 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/0.3841, allocations: 4.234 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.3841, allocations: 34.8 kB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 1.623e-06/0.3841, allocations: 0 / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.0007576/0.3849, allocations: 307.4 kB / 1.075 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.3849, allocations: 59.41 kB / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.3852, allocations: 211.6 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.3852, allocations: 33.7 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.3853, allocations: 172.2 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.658e-05/0.3854, allocations: 78.89 kB / 1.075 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.054e-05/0.3855, allocations: 65.97 kB / 1.075 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3856, allocations: 334.8 kB / 1.076 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.3858, allocations: 76.52 kB / 1.076 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.3861, allocations: 143.9 kB / 1.076 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004214/0.3865, allocations: 223.6 kB / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3865, allocations: 0 / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005262/0.387, allocations: 277.1 kB / 1.076 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3871, allocations: 4 kB / 1.076 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.3871, allocations: 4 kB / 1.076 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.3871, allocations: 11.92 kB / 1.076 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.3874, allocations: 47.91 kB / 1.076 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.3874, allocations: 4 kB / 1.076 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.3876, allocations: 39.89 kB / 1.076 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.3876, allocations: 12 kB / 1.076 GB, free: 1.57 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.0002214/0.3878, allocations: 149.8 kB / 1.077 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.885e-05/0.3879, allocations: 19.81 kB / 1.077 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005658/0.3885, allocations: 252 kB / 1.077 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.3885, allocations: 7.938 kB / 1.077 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3885, allocations: 0 / 1.077 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3885, allocations: 3.984 kB / 1.077 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004301/0.3889, allocations: 349.3 kB / 1.077 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3889, allocations: 0 / 1.077 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.3891, allocations: 43.91 kB / 1.077 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3891, allocations: 0 / 1.077 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.3892, allocations: 4 kB / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.256e-06/0.3892, allocations: 7.938 kB / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3892, allocations: 0 / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005091/0.3897, allocations: 335.5 kB / 1.077 GB, free: 352 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.3898, allocations: 100.8 kB / 1.078 GB, free: 232 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.3898, allocations: 4 kB / 1.078 GB, free: 228 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.39, allocations: 23.92 kB / 1.078 GB, free: 204 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.944e-05/0.39, allocations: 19.97 kB / 1.078 GB, free: 184 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.3901, allocations: 15.98 kB / 1.078 GB, free: 168 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.729e-05/0.3902, allocations: 137.5 kB / 1.078 GB, free: 32 kB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3902, allocations: 0 / 1.078 GB, free: 32 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003247/0.3905, allocations: 59.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.0001515/0.3907, allocations: 121.8 kB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005048/0.3912, allocations: 219.8 kB / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.3912, allocations: 4 kB / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.3914, allocations: 111.8 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.0003328/0.3918, allocations: 32.14 kB / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009452/0.3927, allocations: 0.5941 MB / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.3931, allocations: 0.7675 MB / 1.08 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001472/0.3932, allocations: 30.28 kB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.3933, allocations: 19.44 kB / 1.08 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3933, allocations: 0 / 1.08 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of Templates: time 0.005707/0.399, allocations: 1.722 MB / 1.081 GB, free: 12.35 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1)