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.00117/0.00117, allocations: 108.7 kB / 16.37 MB, free: 6.312 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.001269/0.001269, allocations: 191.2 kB / 17.3 MB, free: 5.871 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.54/1.54, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.813/1.813, allocations: 292.3 MB / 0.5496 GB, free: 17.59 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.001606/0.001606, allocations: 71.89 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2458, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003271/0.2492, allocations: 1.492 MB / 0.7862 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.2502, allocations: 495.7 kB / 0.7867 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.042e-05/0.2503, allocations: 0 / 0.7867 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.2504, allocations: 7.875 kB / 0.7867 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.987e-05/0.2505, allocations: 11.88 kB / 0.7867 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.2508, allocations: 39.95 kB / 0.7868 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.251, allocations: 107.7 kB / 0.7869 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.2511, allocations: 12.17 kB / 0.7869 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.2513, allocations: 51.83 kB / 0.7869 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.2514, allocations: 43.83 kB / 0.787 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.2515, allocations: 8 kB / 0.787 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.118e-05/0.2515, allocations: 8 kB / 0.787 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.886e-05/0.2515, allocations: 15.92 kB / 0.787 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.011e-05/0.2516, allocations: 39.84 kB / 0.787 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.2518, allocations: 83.7 kB / 0.7871 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2518, allocations: 0 / 0.7871 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2518, allocations: 0 / 0.7871 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.2518, allocations: 0 / 0.7871 GB, free: 0.7656 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.0007843/0.2526, allocations: 454.6 kB / 0.7876 GB, free: 268 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.2527, allocations: 8.031 kB / 0.7876 GB, free: 260 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.273e-05/0.2527, allocations: 8.844 kB / 0.7876 GB, free: 252 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.253, allocations: 188.2 kB / 0.7878 GB, free: 24 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.253, allocations: 4.375 kB / 0.7878 GB, free: 20 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.253, allocations: 12.38 kB / 0.7878 GB, free: 8 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4328/0.6858, allocations: 114.7 kB / 0.7879 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.6858, allocations: 0 / 0.7879 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.6859, allocations: 6.406 kB / 0.7879 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.6859, allocations: 0 / 0.7879 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002921/0.6862, allocations: 87.61 kB / 0.788 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005367/0.6867, allocations: 333 kB / 0.7883 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.687, allocations: 106.3 kB / 0.7884 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.6872, allocations: 67.33 kB / 0.7884 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.6872, allocations: 4.156 kB / 0.7885 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003525/0.6876, allocations: 129 kB / 0.7886 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/0.6876, allocations: 0 / 0.7886 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0006483/0.6882, allocations: 281.4 kB / 0.7888 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.6883, allocations: 81.55 kB / 0.7889 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.414e-05/0.6884, allocations: 129.7 kB / 0.789 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.6884, allocations: 39.31 kB / 0.7891 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/0.6884, allocations: 93.02 kB / 0.7892 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.6885, allocations: 21.17 kB / 0.7892 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.9e-05/0.6885, allocations: 29.56 kB / 0.7892 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.642e-05/0.6886, allocations: 321.9 kB / 0.7895 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.6888, allocations: 68.31 kB / 0.7896 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.6889, allocations: 67.48 kB / 0.7897 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.6892, allocations: 183.3 kB / 0.7898 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.6893, allocations: 0 / 0.7898 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004273/0.6897, allocations: 259.3 kB / 0.7901 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.021e-05/0.6897, allocations: 64.61 kB / 0.7901 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.6897, allocations: 2.281 kB / 0.7901 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.6898, allocations: 0 / 0.7901 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.6899, allocations: 17.34 kB / 0.7902 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.6899, allocations: 2.219 kB / 0.7902 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.6901, allocations: 30.52 kB / 0.7902 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.6901, allocations: 6 kB / 0.7902 GB, free: 47.53 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 8.952e-05/0.6902, allocations: 152.3 kB / 0.7903 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.836e-05/0.6902, allocations: 9.625 kB / 0.7904 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.6903, allocations: 10.66 kB / 0.7904 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.6903, allocations: 2.453 kB / 0.7904 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.6903, allocations: 1.406 kB / 0.7904 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.519e-05/0.6903, allocations: 90.77 kB / 0.7905 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.6903, allocations: 6.75 kB / 0.7905 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.6905, allocations: 20.53 kB / 0.7905 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.6906, allocations: 36.25 kB / 0.7905 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005036/0.6911, allocations: 355.8 kB / 0.7909 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004318/0.6916, allocations: 401.2 kB / 0.7912 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001811/0.6918, allocations: 79.06 kB / 0.7913 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.967e-05/0.6918, allocations: 100.3 kB / 0.7914 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of Backend: time 5.11e-07/0.6918, allocations: 0.5 kB / 0.7914 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005506/0.6924, allocations: 291.5 kB / 0.7917 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004859/0.6929, allocations: 0.6674 MB / 0.7923 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of Templates: time 0.006854/0.6997, allocations: 2.033 MB / 0.7943 GB, free: 45.86 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)