Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6797/0.6797, allocations: 127.3 MB / 139.8 MB, free: 15.42 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001099/0.0011, allocations: 172.9 kB / 169.7 MB, free: 1.738 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.1 MB / 404.5 MB, free: 1.59 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009049/0.000905, allocations: 90.28 kB / 481.8 MB, free: 4.23 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.064e-05/3.071e-05, allocations: 4 kB / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1248, allocations: 76.75 MB / 0.6281 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4287/0.5535, allocations: 103.5 MB / 0.7292 GB, free: 9.906 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000174/0.5537, allocations: 75.27 kB / 0.7293 GB, free: 9.867 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004663/0.5584, allocations: 1.509 MB / 0.7308 GB, free: 8.543 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.5585, allocations: 0 / 0.7308 GB, free: 8.543 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.5585, allocations: 4 kB / 0.7308 GB, free: 8.539 MB / 490.7 MB 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.0005241/0.559, allocations: 430.7 kB / 0.7312 GB, free: 8.07 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.5591, allocations: 12.22 kB / 0.7312 GB, free: 8.059 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.374e-05/0.5591, allocations: 11.95 kB / 0.7312 GB, free: 8.047 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.5593, allocations: 195.5 kB / 0.7314 GB, free: 7.824 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.5593, allocations: 7.312 kB / 0.7314 GB, free: 7.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.5594, allocations: 11.98 kB / 0.7314 GB, free: 7.809 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.5596, allocations: 93.5 kB / 0.7315 GB, free: 7.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.5596, allocations: 0 / 0.7315 GB, free: 7.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.5596, allocations: 2.625 kB / 0.7315 GB, free: 7.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.5596, allocations: 4 kB / 0.7315 GB, free: 7.727 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.5598, allocations: 56 kB / 0.7316 GB, free: 7.688 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/0.5603, allocations: 336.8 kB / 0.7319 GB, free: 7.332 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.5605, allocations: 74.56 kB / 0.732 GB, free: 7.27 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.299e-05/0.5606, allocations: 59.03 kB / 0.732 GB, free: 7.227 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.5606, allocations: 4 kB / 0.732 GB, free: 7.223 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.5608, allocations: 109.5 kB / 0.7321 GB, free: 7.117 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.973e-06/0.5608, allocations: 0 / 0.7321 GB, free: 7.117 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003304/0.5611, allocations: 175.8 kB / 0.7323 GB, free: 6.961 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.5612, allocations: 84.3 kB / 0.7324 GB, free: 6.863 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.5613, allocations: 114.1 kB / 0.7325 GB, free: 6.754 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.5613, allocations: 33.33 kB / 0.7325 GB, free: 6.719 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.2e-05/0.5614, allocations: 95.38 kB / 0.7326 GB, free: 6.625 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.5614, allocations: 19.62 kB / 0.7326 GB, free: 6.609 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.247e-06/0.5615, allocations: 7.188 kB / 0.7326 GB, free: 6.605 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.5616, allocations: 322.8 kB / 0.7329 GB, free: 6.285 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.511e-05/0.5617, allocations: 45.92 kB / 0.733 GB, free: 6.254 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.811e-05/0.5618, allocations: 53.98 kB / 0.733 GB, free: 6.215 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.622e-05/0.5618, allocations: 82.45 kB / 0.7331 GB, free: 6.129 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5619, allocations: 0 / 0.7331 GB, free: 6.129 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003307/0.5622, allocations: 221.2 kB / 0.7333 GB, free: 5.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.359e-05/0.5623, allocations: 67.39 kB / 0.7334 GB, free: 5.852 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.5623, allocations: 3.953 kB / 0.7334 GB, free: 5.848 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.5623, allocations: 0 / 0.7334 GB, free: 5.848 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.5624, allocations: 19.92 kB / 0.7334 GB, free: 5.828 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.5624, allocations: 0 / 0.7334 GB, free: 5.828 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.5626, allocations: 39.5 kB / 0.7334 GB, free: 5.793 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.5626, allocations: 4 kB / 0.7335 GB, free: 5.789 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.434e-05/0.5627, allocations: 144.4 kB / 0.7336 GB, free: 5.645 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.5628, allocations: 8 kB / 0.7336 GB, free: 5.637 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.121e-05/0.5628, allocations: 11.86 kB / 0.7336 GB, free: 5.629 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.5628, allocations: 3.953 kB / 0.7336 GB, free: 5.625 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.5628, allocations: 4 kB / 0.7336 GB, free: 5.621 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.5628, allocations: 0 / 0.7336 GB, free: 5.621 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.563, allocations: 194.5 kB / 0.7338 GB, free: 5.395 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.563, allocations: 4.875 kB / 0.7338 GB, free: 5.391 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.512e-05/0.5631, allocations: 15.98 kB / 0.7338 GB, free: 5.375 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.5631, allocations: 7.984 kB / 0.7338 GB, free: 5.367 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.5631, allocations: 0 / 0.7338 GB, free: 5.367 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5631, allocations: 0 / 0.7338 GB, free: 5.367 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.5631, allocations: 3.953 kB / 0.7338 GB, free: 5.363 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002821/0.5634, allocations: 210.5 kB / 0.734 GB, free: 5.164 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.933e-05/0.5635, allocations: 89.02 kB / 0.7341 GB, free: 5.059 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.5635, allocations: 11.53 kB / 0.7341 GB, free: 5.051 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.5637, allocations: 27.91 kB / 0.7342 GB, free: 5.023 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.5638, allocations: 42.72 kB / 0.7342 GB, free: 4.992 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.5638, allocations: 4 kB / 0.7342 GB, free: 4.988 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.558e-05/0.5639, allocations: 99.67 kB / 0.7343 GB, free: 4.898 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5639, allocations: 4 kB / 0.7343 GB, free: 4.895 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002009/0.5641, allocations: 27.56 kB / 0.7343 GB, free: 4.871 MB / 490.7 MB 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001231/0.5643, allocations: 103 kB / 0.7344 GB, free: 4.758 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002789/0.5645, allocations: 230.3 kB / 0.7346 GB, free: 4.543 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5646, allocations: 0 / 0.7346 GB, free: 4.543 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.5647, allocations: 118.7 kB / 0.7348 GB, free: 4.438 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.5649, allocations: 11.98 kB / 0.7348 GB, free: 4.426 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.5652, allocations: 147 kB / 0.7349 GB, free: 4.277 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.5655, allocations: 0.6965 MB / 0.7356 GB, free: 3.555 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.344e-05/0.5656, allocations: 8.172 kB / 0.7356 GB, free: 3.543 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.23e-05/0.5656, allocations: 14.81 kB / 0.7356 GB, free: 3.531 MB / 490.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5656, allocations: 0 / 0.7356 GB, free: 3.531 MB / 490.7 MB Notification: Performance of Templates: time 0.003699/0.5693, allocations: 1.536 MB / 0.7371 GB, free: 2.016 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)