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.001212/0.001212, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 188.4 kB / 16.62 MB, free: 6.582 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.507/1.507, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.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.825/1.825, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001376/0.001376, allocations: 71.44 kB / 0.6722 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2338, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003414/0.2373, allocations: 1.479 MB / 0.7856 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.2383, allocations: 499.7 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.772e-05/0.2384, allocations: 7.938 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.2385, allocations: 7.875 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.332e-05/0.2386, allocations: 7.875 kB / 0.7861 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.2388, allocations: 47.88 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.239, allocations: 95.81 kB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.2392, allocations: 12.19 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.2393, allocations: 55.75 kB / 0.7863 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.653e-05/0.2394, allocations: 39.83 kB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.2395, allocations: 8 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.783e-05/0.2395, allocations: 8 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.83e-05/0.2395, allocations: 19.92 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.541e-05/0.2396, allocations: 39.86 kB / 0.7864 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.2398, allocations: 83.69 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2398, allocations: 0 / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2398, allocations: 0 / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.2398, allocations: 0 / 0.7864 GB, free: 10.34 MB / 0.6075 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.0007108/0.2405, allocations: 454.5 kB / 0.7869 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.2406, allocations: 8.031 kB / 0.7869 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.963e-05/0.2406, allocations: 12.84 kB / 0.7869 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.2408, allocations: 192.1 kB / 0.7871 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.2409, allocations: 8.375 kB / 0.7871 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.2409, allocations: 8.375 kB / 0.7871 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003069/0.2412, allocations: 113.8 kB / 0.7872 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.2412, allocations: 0 / 0.7872 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.2412, allocations: 3.984 kB / 0.7872 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.2412, allocations: 0 / 0.7872 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003175/0.2416, allocations: 95.91 kB / 0.7873 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005701/0.2421, allocations: 328.7 kB / 0.7876 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.2425, allocations: 106.5 kB / 0.7877 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.2427, allocations: 72.94 kB / 0.7878 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.2427, allocations: 0 / 0.7878 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003696/0.2431, allocations: 127.3 kB / 0.7879 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.813e-06/0.2431, allocations: 0 / 0.7879 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0007596/0.2439, allocations: 279.1 kB / 0.7882 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.348e-05/0.2439, allocations: 85.11 kB / 0.7883 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.2441, allocations: 125.8 kB / 0.7884 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.2441, allocations: 33.7 kB / 0.7884 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.227e-05/0.2442, allocations: 97.09 kB / 0.7885 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.2442, allocations: 19.75 kB / 0.7885 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.929e-05/0.2443, allocations: 25.72 kB / 0.7885 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.2445, allocations: 330.8 kB / 0.7889 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.2447, allocations: 59.95 kB / 0.7889 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.2448, allocations: 71.94 kB / 0.789 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000341/0.2452, allocations: 181.9 kB / 0.7892 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2452, allocations: 0 / 0.7892 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005153/0.2457, allocations: 265 kB / 0.7894 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.89e-05/0.2458, allocations: 67.39 kB / 0.7895 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2458, allocations: 160 / 0.7895 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.2458, allocations: 3.938 kB / 0.7895 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.246, allocations: 15.92 kB / 0.7895 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.246, allocations: 7.984 kB / 0.7895 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.2461, allocations: 19.97 kB / 0.7895 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.2462, allocations: 8 kB / 0.7895 GB, free: 6.883 MB / 0.6075 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.0001409/0.2463, allocations: 163.5 kB / 0.7897 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.2463, allocations: 7.906 kB / 0.7897 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.561e-05/0.2464, allocations: 8.375 kB / 0.7897 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2464, allocations: 4 kB / 0.7897 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2464, allocations: 0 / 0.7897 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2464, allocations: 3.984 kB / 0.7897 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.2466, allocations: 193.5 kB / 0.7899 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2466, allocations: 0 / 0.7899 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.35e-05/0.2467, allocations: 19.98 kB / 0.7899 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2467, allocations: 0 / 0.7899 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.2467, allocations: 3.984 kB / 0.7899 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.2467, allocations: 4 kB / 0.7899 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2467, allocations: 0 / 0.7899 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004852/0.2472, allocations: 250.8 kB / 0.7902 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.205e-05/0.2473, allocations: 92.95 kB / 0.7902 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.2473, allocations: 4 kB / 0.7903 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.2474, allocations: 23.97 kB / 0.7903 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.2476, allocations: 27.97 kB / 0.7903 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.2476, allocations: 4 kB / 0.7903 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.932e-05/0.2476, allocations: 110.1 kB / 0.7904 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2477, allocations: 0 / 0.7904 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002259/0.2479, allocations: 31.94 kB / 0.7904 GB, free: 5.844 MB / 0.6075 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.0001147/0.248, allocations: 99.25 kB / 0.7905 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005093/0.2485, allocations: 270.6 kB / 0.7908 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2485, allocations: 0 / 0.7908 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002521/0.2488, allocations: 139.3 kB / 0.7909 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.249, allocations: 20.72 kB / 0.7909 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005812/0.2496, allocations: 215.2 kB / 0.7912 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.2499, allocations: 0.6962 MB / 0.7918 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.493e-05/0.25, allocations: 4 kB / 0.7918 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/0.25, allocations: 19.44 kB / 0.7919 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.25, allocations: 3.938 kB / 0.7919 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of Templates: time 0.004823/0.2549, allocations: 1.851 MB / 0.7937 GB, free: 2.461 MB / 0.6075 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)