Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0018/0.0018, 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.002572/0.002572, allocations: 189.6 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.1 MB / 222.1 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.531/1.531, allocations: 251.7 MB / 0.5089 GB, free: 3.266 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 64.47 kB / 0.6217 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6443/0.6457, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003329/0.6491, allocations: 1.538 MB / 0.7255 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009546/0.6501, allocations: 0.511 MB / 0.726 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.455e-05/0.6502, allocations: 0 / 0.726 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.6503, allocations: 3.938 kB / 0.726 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.886e-05/0.6504, allocations: 7.922 kB / 0.726 GB, free: 11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.6506, allocations: 39.89 kB / 0.726 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.6508, allocations: 95.77 kB / 0.7261 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.651, allocations: 12.19 kB / 0.7261 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.6512, allocations: 63.81 kB / 0.7262 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.6513, allocations: 39.83 kB / 0.7262 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.6513, allocations: 8 kB / 0.7262 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.114e-05/0.6514, allocations: 8 kB / 0.7262 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.709e-05/0.6514, allocations: 4 kB / 0.7262 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.235e-05/0.6515, allocations: 43.78 kB / 0.7263 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.6517, allocations: 77.73 kB / 0.7264 GB, free: 10.62 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.6517, allocations: 0 / 0.7264 GB, free: 10.62 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.976e-06/0.6518, allocations: 7.984 kB / 0.7264 GB, free: 10.61 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.6518, allocations: 0 / 0.7264 GB, free: 10.61 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001036/0.6528, allocations: 450.5 kB / 0.7268 GB, free: 10.11 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/0.6529, allocations: 15.97 kB / 0.7268 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.647e-05/0.653, allocations: 8.844 kB / 0.7268 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/0.6533, allocations: 193 kB / 0.727 GB, free: 9.863 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.6533, allocations: 8.375 kB / 0.727 GB, free: 9.855 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.6533, allocations: 4.375 kB / 0.727 GB, free: 9.852 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004264/0.6538, allocations: 117.8 kB / 0.7271 GB, free: 9.73 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.6538, allocations: 4 kB / 0.7271 GB, free: 9.727 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.6538, allocations: 0 / 0.7271 GB, free: 9.727 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.6538, allocations: 4 kB / 0.7271 GB, free: 9.723 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002902/0.6541, allocations: 87.91 kB / 0.7272 GB, free: 9.637 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005679/0.6547, allocations: 340.6 kB / 0.7275 GB, free: 9.254 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.655, allocations: 110.4 kB / 0.7277 GB, free: 9.137 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.6552, allocations: 72.94 kB / 0.7277 GB, free: 9.062 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.6552, allocations: 0 / 0.7277 GB, free: 9.062 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002959/0.6555, allocations: 123.3 kB / 0.7278 GB, free: 8.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 3.266e-06/0.6555, allocations: 0 / 0.7278 GB, free: 8.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0006906/0.6562, allocations: 279 kB / 0.7281 GB, free: 8.645 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.375e-05/0.6563, allocations: 85.11 kB / 0.7282 GB, free: 8.543 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.6564, allocations: 125.8 kB / 0.7283 GB, free: 8.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.087e-05/0.6565, allocations: 37.7 kB / 0.7283 GB, free: 8.367 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.312e-05/0.6566, allocations: 88.14 kB / 0.7284 GB, free: 8.277 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.6566, allocations: 19.8 kB / 0.7284 GB, free: 8.258 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.147e-05/0.6567, allocations: 29.72 kB / 0.7285 GB, free: 8.223 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.6568, allocations: 322.8 kB / 0.7288 GB, free: 7.898 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.6571, allocations: 63.95 kB / 0.7288 GB, free: 7.836 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.6572, allocations: 75.92 kB / 0.7289 GB, free: 7.762 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003653/0.6576, allocations: 181.8 kB / 0.7291 GB, free: 7.562 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6576, allocations: 0 / 0.7291 GB, free: 7.562 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004799/0.6581, allocations: 261 kB / 0.7293 GB, free: 7.289 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.007e-05/0.6582, allocations: 63.39 kB / 0.7294 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.6582, allocations: 0 / 0.7294 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.6582, allocations: 4 kB / 0.7294 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.6583, allocations: 23.92 kB / 0.7294 GB, free: 7.188 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.6583, allocations: 0 / 0.7294 GB, free: 7.188 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.6585, allocations: 27.81 kB / 0.7295 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.6585, allocations: 4 kB / 0.7295 GB, free: 7.156 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001238/0.6587, allocations: 163.5 kB / 0.7296 GB, free: 6.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.6587, allocations: 4 kB / 0.7296 GB, free: 6.977 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.397e-05/0.6587, allocations: 16.38 kB / 0.7296 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.6587, allocations: 0 / 0.7296 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.6587, allocations: 0 / 0.7296 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.6588, allocations: 0 / 0.7296 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.6589, allocations: 197.5 kB / 0.7298 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.6589, allocations: 256 / 0.7298 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.988e-05/0.659, allocations: 11.98 kB / 0.7298 GB, free: 6.707 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.659, allocations: 4 kB / 0.7298 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.6591, allocations: 8 kB / 0.7298 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.6591, allocations: 3.984 kB / 0.7298 GB, free: 6.691 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6591, allocations: 4 kB / 0.7299 GB, free: 6.688 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004694/0.6595, allocations: 250.6 kB / 0.7301 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.135e-05/0.6596, allocations: 81.02 kB / 0.7302 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.6597, allocations: 4 kB / 0.7302 GB, free: 6.316 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.6598, allocations: 27.91 kB / 0.7302 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.66, allocations: 35.97 kB / 0.7302 GB, free: 6.254 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.66, allocations: 0 / 0.7302 GB, free: 6.254 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.648e-05/0.6601, allocations: 103.2 kB / 0.7303 GB, free: 6.152 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6601, allocations: 4 kB / 0.7303 GB, free: 6.148 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002021/0.6603, allocations: 23.94 kB / 0.7304 GB, free: 6.125 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001485/0.6604, allocations: 106.3 kB / 0.7305 GB, free: 6.016 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005481/0.661, allocations: 270.6 kB / 0.7307 GB, free: 5.727 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.661, allocations: 4 kB / 0.7307 GB, free: 5.723 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002457/0.6612, allocations: 139.3 kB / 0.7309 GB, free: 5.574 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.6616, allocations: 12 kB / 0.7309 GB, free: 5.562 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005572/0.6621, allocations: 250.9 kB / 0.7311 GB, free: 5.289 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.6625, allocations: 0.6924 MB / 0.7318 GB, free: 4.57 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.378e-05/0.6626, allocations: 4 kB / 0.7318 GB, free: 4.566 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.483e-05/0.6626, allocations: 19.44 kB / 0.7318 GB, free: 4.551 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.6626, allocations: 0 / 0.7318 GB, free: 4.551 MB / 0.545 GB Notification: Performance of Templates: time 0.00452/0.6671, allocations: 1.676 MB / 0.7334 GB, free: 2.895 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)