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.001211/0.001211, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001205/0.001205, allocations: 195.7 kB / 16.26 MB, free: 6.621 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.442/1.442, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.725/1.725, allocations: 292.3 MB / 0.5485 GB, free: 13.66 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.001348/0.001348, allocations: 67.2 kB / 0.671 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2484, allocations: 114.6 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003518/0.2519, allocations: 1.541 MB / 0.7843 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008496/0.2528, allocations: 0.4891 MB / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.643e-05/0.2529, allocations: 3.938 kB / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.253, allocations: 7.938 kB / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.222e-05/0.2531, allocations: 15.84 kB / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.2534, allocations: 27.97 kB / 0.7849 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.2536, allocations: 103.8 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.2537, allocations: 12.17 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.2539, allocations: 43.89 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.554e-05/0.254, allocations: 43.83 kB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.175e-05/0.254, allocations: 8 kB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.916e-05/0.254, allocations: 8 kB / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.299e-05/0.2541, allocations: 15.92 kB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.52e-05/0.2542, allocations: 39.86 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.2543, allocations: 87.97 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2543, allocations: 0 / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2543, allocations: 0 / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.2543, allocations: 0 / 0.7852 GB, free: 11.46 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.0007796/0.2551, allocations: 446.6 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.2552, allocations: 8.031 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.23e-05/0.2552, allocations: 20.72 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.2554, allocations: 192.2 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.2555, allocations: 8.359 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.2555, allocations: 12.38 kB / 0.7859 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/0.2558, allocations: 117.7 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.2558, allocations: 0 / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.2559, allocations: 7.984 kB / 0.786 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2559, allocations: 0 / 0.786 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/0.2562, allocations: 91.92 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000574/0.2568, allocations: 328.6 kB / 0.7864 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003198/0.2571, allocations: 106.5 kB / 0.7865 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.2573, allocations: 72.94 kB / 0.7866 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.2573, allocations: 0 / 0.7866 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003879/0.2577, allocations: 127.3 kB / 0.7867 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.2577, allocations: 0 / 0.7867 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0007193/0.2585, allocations: 275.2 kB / 0.787 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.738e-05/0.2585, allocations: 85.11 kB / 0.787 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.2587, allocations: 132.6 kB / 0.7872 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.2587, allocations: 29.7 kB / 0.7872 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.117e-05/0.2588, allocations: 100 kB / 0.7873 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.2588, allocations: 19.75 kB / 0.7873 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.929e-05/0.2589, allocations: 25.7 kB / 0.7873 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.259, allocations: 326.8 kB / 0.7876 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.2592, allocations: 63.95 kB / 0.7877 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.2594, allocations: 75.94 kB / 0.7878 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/0.2598, allocations: 177.9 kB / 0.7879 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2598, allocations: 4 kB / 0.7879 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004845/0.2603, allocations: 260.8 kB / 0.7882 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.836e-05/0.2603, allocations: 67.39 kB / 0.7883 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2604, allocations: 0 / 0.7883 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.2604, allocations: 0 / 0.7883 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.2606, allocations: 11.98 kB / 0.7883 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.2606, allocations: 4.094 kB / 0.7883 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.2607, allocations: 27.91 kB / 0.7883 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.2608, allocations: 8 kB / 0.7883 GB, free: 8 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.0001344/0.2609, allocations: 164.1 kB / 0.7885 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.2609, allocations: 7.906 kB / 0.7885 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.261, allocations: 8.375 kB / 0.7885 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.2611, allocations: 4 kB / 0.7885 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.2611, allocations: 0 / 0.7885 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2611, allocations: 0 / 0.7885 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.2613, allocations: 197.5 kB / 0.7887 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2613, allocations: 0 / 0.7887 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.121e-05/0.2614, allocations: 12.23 kB / 0.7887 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2614, allocations: 0 / 0.7887 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.2615, allocations: 7.984 kB / 0.7887 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.2615, allocations: 7.938 kB / 0.7887 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2615, allocations: 0 / 0.7887 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/0.2619, allocations: 246.6 kB / 0.7889 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.073e-05/0.262, allocations: 88.95 kB / 0.789 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.262, allocations: 8 kB / 0.789 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.2622, allocations: 19.97 kB / 0.789 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.2623, allocations: 27.97 kB / 0.7891 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.2624, allocations: 11.98 kB / 0.7891 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.125e-05/0.2624, allocations: 95.27 kB / 0.7892 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2624, allocations: 4 kB / 0.7892 GB, free: 7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000216/0.2627, allocations: 31.94 kB / 0.7892 GB, free: 6.969 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.0001152/0.2628, allocations: 95.25 kB / 0.7893 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005841/0.2634, allocations: 270.6 kB / 0.7896 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2634, allocations: 0 / 0.7896 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002476/0.2636, allocations: 143.3 kB / 0.7897 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.2639, allocations: 18.61 kB / 0.7897 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005448/0.2644, allocations: 239.2 kB / 0.7899 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.2647, allocations: 0.6924 MB / 0.7906 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.099e-05/0.2648, allocations: 11.98 kB / 0.7906 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.2648, allocations: 15.42 kB / 0.7906 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2648, allocations: 0 / 0.7906 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of Templates: time 0.005443/0.2703, allocations: 1.69 MB / 0.7923 GB, free: 3.734 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)