Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001483/0.001483, allocations: 99.72 kB / 16.29 MB, free: 6.008 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.001592/0.001592, allocations: 182.2 kB / 17.22 MB, free: 5.617 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.549/1.549, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.902/1.902, allocations: 292.3 MB / 0.5495 GB, free: 17.57 MB / 462.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.001498/0.001498, allocations: 75.89 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3088, allocations: 114.6 MB / 0.7841 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003797/0.3127, allocations: 1.481 MB / 0.7855 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009154/0.3136, allocations: 0.4919 MB / 0.786 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.512e-05/0.3137, allocations: 0 / 0.786 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.3138, allocations: 3.938 kB / 0.786 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.69e-05/0.3139, allocations: 11.88 kB / 0.786 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.3141, allocations: 35.89 kB / 0.786 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.3143, allocations: 99.8 kB / 0.7861 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.3145, allocations: 12.19 kB / 0.7861 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.3146, allocations: 63.77 kB / 0.7862 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.803e-05/0.3147, allocations: 31.89 kB / 0.7862 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.3148, allocations: 8 kB / 0.7862 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.044e-05/0.3148, allocations: 8 kB / 0.7863 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.925e-05/0.3148, allocations: 15.92 kB / 0.7863 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.517e-05/0.3149, allocations: 43.78 kB / 0.7863 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.3151, allocations: 79.98 kB / 0.7864 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.3151, allocations: 7.984 kB / 0.7864 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3151, allocations: 0 / 0.7864 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.3151, allocations: 0 / 0.7864 GB, free: 1.434 MB / 0.6544 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.0007773/0.3159, allocations: 442.7 kB / 0.7868 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.316, allocations: 12.03 kB / 0.7868 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/0.316, allocations: 12.84 kB / 0.7868 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.3163, allocations: 192.1 kB / 0.787 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.3163, allocations: 8.375 kB / 0.787 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.3163, allocations: 4.375 kB / 0.787 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003189/0.3166, allocations: 117.8 kB / 0.7872 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.3166, allocations: 4 kB / 0.7872 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.3167, allocations: 3.938 kB / 0.7872 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3167, allocations: 4 kB / 0.7872 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002704/0.317, allocations: 87.91 kB / 0.7872 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005922/0.3176, allocations: 340.6 kB / 0.7876 GB, free: 80 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3864/0.704, allocations: 105.7 kB / 0.7877 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.7042, allocations: 72.75 kB / 0.7877 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.7043, allocations: 2.562 kB / 0.7877 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003946/0.7047, allocations: 121.2 kB / 0.7879 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 1.894e-06/0.7047, allocations: 1.188 kB / 0.7879 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0006821/0.7054, allocations: 279.3 kB / 0.7881 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.7054, allocations: 83.08 kB / 0.7882 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.179e-05/0.7055, allocations: 128.4 kB / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.7056, allocations: 28.39 kB / 0.7884 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.7056, allocations: 98.34 kB / 0.7884 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.7056, allocations: 20.55 kB / 0.7885 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.404e-05/0.7057, allocations: 29.77 kB / 0.7885 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.579e-05/0.7058, allocations: 327.8 kB / 0.7888 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.706, allocations: 64.48 kB / 0.7889 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.7061, allocations: 65.09 kB / 0.7889 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.7064, allocations: 185.4 kB / 0.7891 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.7064, allocations: 0 / 0.7891 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004212/0.7069, allocations: 260.2 kB / 0.7894 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.384e-05/0.7069, allocations: 68.33 kB / 0.7894 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.84e-06/0.7069, allocations: 2.594 kB / 0.7894 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.7069, allocations: 0 / 0.7894 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.7071, allocations: 11.34 kB / 0.7894 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.7071, allocations: 3.031 kB / 0.7894 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.7072, allocations: 24.53 kB / 0.7895 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.7073, allocations: 11.17 kB / 0.7895 GB, free: 47.76 MB / 0.6544 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 9.296e-05/0.7073, allocations: 155 kB / 0.7896 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.7074, allocations: 12.22 kB / 0.7896 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.302e-05/0.7074, allocations: 12.61 kB / 0.7896 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.7074, allocations: 5.719 kB / 0.7897 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.7074, allocations: 0 / 0.7897 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.7074, allocations: 0 / 0.7897 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.7076, allocations: 191.9 kB / 0.7898 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.7076, allocations: 0.5 kB / 0.7898 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.99e-05/0.7077, allocations: 14.2 kB / 0.7898 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.7077, allocations: 3.531 kB / 0.7899 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.7077, allocations: 8.25 kB / 0.7899 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.7077, allocations: 5.625 kB / 0.7899 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.7077, allocations: 0 / 0.7899 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004403/0.7082, allocations: 243.3 kB / 0.7901 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.351e-05/0.7082, allocations: 90.59 kB / 0.7902 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.7083, allocations: 10.69 kB / 0.7902 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.7084, allocations: 22.53 kB / 0.7902 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.7085, allocations: 30.34 kB / 0.7902 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.7085, allocations: 7.547 kB / 0.7903 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.297e-05/0.7086, allocations: 99.34 kB / 0.7903 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7086, allocations: 0 / 0.7903 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002071/0.7088, allocations: 24.94 kB / 0.7904 GB, free: 47.14 MB / 0.6544 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.0001283/0.709, allocations: 108.2 kB / 0.7905 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004569/0.7094, allocations: 263.9 kB / 0.7907 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7094, allocations: 0 / 0.7907 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.7097, allocations: 142.8 kB / 0.7909 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.7099, allocations: 16.19 kB / 0.7909 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005276/0.7104, allocations: 224.5 kB / 0.7911 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.7106, allocations: 0.6888 MB / 0.7918 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.109e-05/0.7106, allocations: 10.34 kB / 0.7918 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.7107, allocations: 13.56 kB / 0.7918 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of SimCode: time 3.81e-07/0.7107, allocations: 2.688 kB / 0.7918 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of Templates: time 0.004322/0.715, allocations: 1.856 MB / 0.7936 GB, free: 45.99 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)