Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.339/1.339, allocations: 252 MB / 268 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001219/0.001219, allocations: 172.3 kB / 327.6 MB, free: 2.078 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.59/1.59, allocations: 205.4 MB / 0.5786 GB, free: 20.08 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008163/0.0008162, allocations: 86.34 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004998/0.0004999, allocations: 10.03 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2609, allocations: 106.3 MB / 0.9014 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001824/0.2627, allocations: 1.207 MB / 0.9026 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008535/0.2636, allocations: 0.4994 MB / 0.9031 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.894e-05/0.2637, allocations: 4 kB / 0.9031 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.159e-05/0.2638, allocations: 3.938 kB / 0.9031 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.044e-05/0.2639, allocations: 7.922 kB / 0.9031 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.2641, allocations: 39.89 kB / 0.9032 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.2642, allocations: 87.77 kB / 0.9032 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.2643, allocations: 16.19 kB / 0.9033 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.2645, allocations: 35.84 kB / 0.9033 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.574e-05/0.2646, allocations: 43.81 kB / 0.9033 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.2646, allocations: 4 kB / 0.9033 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.998e-05/0.2646, allocations: 4 kB / 0.9033 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.363e-05/0.2647, allocations: 15.92 kB / 0.9034 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.001e-05/0.2647, allocations: 61.55 kB / 0.9034 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.998e-05/0.2649, allocations: 47.89 kB / 0.9035 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2649, allocations: 4 kB / 0.9035 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2649, allocations: 0 / 0.9035 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.2649, allocations: 0 / 0.9035 GB, free: 61.38 MB / 0.6042 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.0006669/0.2656, allocations: 446.8 kB / 0.9039 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.2656, allocations: 8.031 kB / 0.9039 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/0.2657, allocations: 4.938 kB / 0.9039 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.2659, allocations: 196.2 kB / 0.9041 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.2659, allocations: 4.312 kB / 0.9041 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.2659, allocations: 16.36 kB / 0.9041 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/0.2663, allocations: 117.8 kB / 0.9042 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.2663, allocations: 0 / 0.9042 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.2663, allocations: 4 kB / 0.9042 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.2664, allocations: 11.88 kB / 0.9042 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004118/0.2668, allocations: 103.9 kB / 0.9043 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000564/0.2674, allocations: 344.7 kB / 0.9047 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003933/0.2678, allocations: 122.4 kB / 0.9048 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002354/0.268, allocations: 80.94 kB / 0.9049 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.268, allocations: 0 / 0.9049 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000364/0.2684, allocations: 135.3 kB / 0.905 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.964e-06/0.2684, allocations: 0 / 0.905 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0008443/0.2693, allocations: 299.1 kB / 0.9053 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.2693, allocations: 89.09 kB / 0.9054 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.196e-05/0.2694, allocations: 127.4 kB / 0.9055 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.2695, allocations: 33.7 kB / 0.9055 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.47e-05/0.2695, allocations: 96.05 kB / 0.9056 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.2696, allocations: 15.8 kB / 0.9056 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.427e-05/0.2696, allocations: 4 kB / 0.9056 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.947e-05/0.2696, allocations: 322.8 kB / 0.9059 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.2699, allocations: 67.95 kB / 0.906 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.2701, allocations: 83.94 kB / 0.9061 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004163/0.2706, allocations: 197.8 kB / 0.9063 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2706, allocations: 0 / 0.9063 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006123/0.2712, allocations: 276.9 kB / 0.9065 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.544e-05/0.2712, allocations: 59.41 kB / 0.9066 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2713, allocations: 0 / 0.9066 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.2713, allocations: 4.094 kB / 0.9066 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.2714, allocations: 23.92 kB / 0.9066 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2715, allocations: 4.094 kB / 0.9066 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.2717, allocations: 35.91 kB / 0.9067 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.2717, allocations: 7.984 kB / 0.9067 GB, free: 57.82 MB / 0.6042 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 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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.0001159/0.2718, allocations: 155.5 kB / 0.9068 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.2719, allocations: 11.91 kB / 0.9068 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.776e-05/0.2719, allocations: 8.375 kB / 0.9068 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.2719, allocations: 4 kB / 0.9068 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2719, allocations: 0 / 0.9068 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2719, allocations: 0 / 0.9068 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.2721, allocations: 189.5 kB / 0.907 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2721, allocations: 11.98 kB / 0.907 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.2722, allocations: 15.92 kB / 0.907 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2722, allocations: 4 kB / 0.907 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.2722, allocations: 7.984 kB / 0.907 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2723, allocations: 0 / 0.907 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2723, allocations: 4 kB / 0.9071 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005723/0.2728, allocations: 266.5 kB / 0.9073 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.665e-05/0.2729, allocations: 81.02 kB / 0.9074 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.2729, allocations: 4 kB / 0.9074 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.2731, allocations: 31.97 kB / 0.9074 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.2733, allocations: 36.34 kB / 0.9075 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.2733, allocations: 7.984 kB / 0.9075 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.098e-05/0.2734, allocations: 102.4 kB / 0.9076 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2734, allocations: 0 / 0.9076 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003142/0.2737, allocations: 27.94 kB / 0.9076 GB, free: 56.77 MB / 0.6042 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.174e-05/0.2738, allocations: 103.2 kB / 0.9077 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005945/0.2744, allocations: 282.6 kB / 0.908 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2744, allocations: 0 / 0.908 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002908/0.2747, allocations: 147.3 kB / 0.9081 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.275, allocations: 12 kB / 0.9081 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005627/0.2756, allocations: 274.9 kB / 0.9084 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.2757, allocations: 0.6906 MB / 0.909 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.93e-05/0.2758, allocations: 11.44 kB / 0.9091 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of SimCode: time 4.01e-07/0.2758, allocations: 0 / 0.9091 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of Templates: time 0.003187/0.279, allocations: 1.426 MB / 0.9104 GB, free: 53.74 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)