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.001089/0.001089, allocations: 108 kB / 15.61 MB, free: 152 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.002057/0.002058, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.472/1.472, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.693/1.693, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001403/0.001403, allocations: 72.31 kB / 0.6715 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2017, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002476/0.2042, allocations: 1.479 MB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00074/0.2049, allocations: 0.4919 MB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.103e-05/0.205, allocations: 7.938 kB / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.337e-05/0.2051, allocations: 7.875 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.581e-05/0.2051, allocations: 15.86 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.2053, allocations: 31.95 kB / 0.7853 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.2055, allocations: 99.75 kB / 0.7854 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.899e-05/0.2056, allocations: 12.19 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.2057, allocations: 59.83 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.341e-05/0.2058, allocations: 35.83 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.2058, allocations: 8 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.962e-05/0.2059, allocations: 8 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.224e-05/0.2059, allocations: 15.92 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.957e-05/0.206, allocations: 39.84 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.2061, allocations: 79.98 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2062, allocations: 0 / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2062, allocations: 0 / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.2062, allocations: 3.938 kB / 0.7857 GB, free: 11.06 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.0006421/0.2068, allocations: 450.6 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.2069, allocations: 8.031 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.04e-05/0.2069, allocations: 20.77 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.2071, allocations: 192.2 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.2071, allocations: 4.375 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.2071, allocations: 4.375 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.2075, allocations: 125.7 kB / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.2075, allocations: 4 kB / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.2075, allocations: 3.984 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2075, allocations: 0 / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002929/0.2078, allocations: 87.92 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005156/0.2083, allocations: 332.8 kB / 0.7869 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.2086, allocations: 106.5 kB / 0.787 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.2088, allocations: 68.94 kB / 0.787 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.2089, allocations: 4 kB / 0.787 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003107/0.2092, allocations: 127.3 kB / 0.7872 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.2092, allocations: 0 / 0.7872 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0006963/0.2099, allocations: 271.1 kB / 0.7874 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/0.21, allocations: 89.09 kB / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.597e-05/0.2101, allocations: 125.8 kB / 0.7876 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.2101, allocations: 37.69 kB / 0.7877 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/0.2102, allocations: 93.11 kB / 0.7877 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.2102, allocations: 23.81 kB / 0.7878 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.405e-05/0.2103, allocations: 29.7 kB / 0.7878 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.752e-05/0.2104, allocations: 326.8 kB / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.2106, allocations: 59.95 kB / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.2108, allocations: 71.95 kB / 0.7882 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003379/0.2111, allocations: 178 kB / 0.7884 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2111, allocations: 3.938 kB / 0.7884 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00049/0.2116, allocations: 265.1 kB / 0.7887 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.46e-05/0.2117, allocations: 60.34 kB / 0.7887 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2117, allocations: 7.984 kB / 0.7887 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.2117, allocations: 4 kB / 0.7887 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.2118, allocations: 19.98 kB / 0.7887 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.2118, allocations: 0 / 0.7887 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.212, allocations: 15.98 kB / 0.7888 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.212, allocations: 11.92 kB / 0.7888 GB, free: 7.605 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.0001115/0.2121, allocations: 160.1 kB / 0.7889 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/0.2122, allocations: 11.91 kB / 0.7889 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/0.2122, allocations: 12.36 kB / 0.789 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2122, allocations: 4 kB / 0.789 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.2122, allocations: 0 / 0.789 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2122, allocations: 0 / 0.789 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.2124, allocations: 193.5 kB / 0.7891 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2124, allocations: 0 / 0.7891 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.869e-05/0.2125, allocations: 11.98 kB / 0.7892 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2125, allocations: 0 / 0.7892 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.2125, allocations: 8 kB / 0.7892 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2125, allocations: 4 kB / 0.7892 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2125, allocations: 160 / 0.7892 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004664/0.213, allocations: 250.5 kB / 0.7894 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.076e-05/0.213, allocations: 84.95 kB / 0.7895 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.2131, allocations: 4 kB / 0.7895 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.2132, allocations: 23.97 kB / 0.7895 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.2133, allocations: 35.95 kB / 0.7895 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.2134, allocations: 4 kB / 0.7895 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.528e-05/0.2134, allocations: 102.5 kB / 0.7896 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2134, allocations: 0 / 0.7896 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002087/0.2136, allocations: 27.94 kB / 0.7897 GB, free: 6.582 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 9.805e-05/0.2137, allocations: 103.2 kB / 0.7898 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005067/0.2143, allocations: 278.6 kB / 0.79 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2143, allocations: 0 / 0.79 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.2145, allocations: 139.4 kB / 0.7902 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.2147, allocations: 19.92 kB / 0.7902 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004739/0.2152, allocations: 219.4 kB / 0.7904 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.2154, allocations: 0.6885 MB / 0.7911 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.949e-05/0.2155, allocations: 11.92 kB / 0.7911 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.2155, allocations: 19.44 kB / 0.7911 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2155, allocations: 0 / 0.7911 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of Templates: time 0.003993/0.2195, allocations: 1.861 MB / 0.7929 GB, free: 3.184 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)