Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.257/2.257, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00162/0.001619, allocations: 175.5 kB / 325.6 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.604/2.604, allocations: 205.4 MB / 0.5766 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00113/0.001129, allocations: 96.47 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000623/0.0006227, allocations: 15.28 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2062, allocations: 106.3 MB / 0.8989 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002024/0.2083, allocations: 1.18 MB / 0.9 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009955/0.2093, allocations: 488.8 kB / 0.9005 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.229e-05/0.2094, allocations: 0 / 0.9005 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.347e-05/0.2095, allocations: 3.938 kB / 0.9005 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.521e-05/0.2096, allocations: 19.95 kB / 0.9005 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002157/0.2098, allocations: 31.91 kB / 0.9005 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.2099, allocations: 51.88 kB / 0.9006 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.2101, allocations: 16.16 kB / 0.9006 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.2102, allocations: 35.91 kB / 0.9006 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.386e-05/0.2103, allocations: 39.83 kB / 0.9007 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.124e-05/0.2104, allocations: 8 kB / 0.9007 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.192e-05/0.2104, allocations: 7.938 kB / 0.9007 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.476e-05/0.2105, allocations: 3.984 kB / 0.9007 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.945e-05/0.2105, allocations: 41.64 kB / 0.9007 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.2107, allocations: 55.89 kB / 0.9008 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2107, allocations: 0 / 0.9008 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2107, allocations: 0 / 0.9008 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.2107, allocations: 0 / 0.9008 GB, free: 63.54 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.0007667/0.2115, allocations: 446.8 kB / 0.9012 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.2115, allocations: 8.031 kB / 0.9012 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.251e-05/0.2116, allocations: 11.86 kB / 0.9012 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.2118, allocations: 183 kB / 0.9014 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.2118, allocations: 7.938 kB / 0.9014 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/0.2119, allocations: 12 kB / 0.9014 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004445/0.2123, allocations: 129.5 kB / 0.9016 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.2123, allocations: 0 / 0.9016 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.2124, allocations: 4 kB / 0.9016 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2124, allocations: 4 kB / 0.9016 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005/0.2129, allocations: 103.9 kB / 0.9017 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006539/0.2136, allocations: 332.7 kB / 0.902 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004932/0.2141, allocations: 118.5 kB / 0.9021 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.2141, allocations: 3.938 kB / 0.9021 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004712/0.2146, allocations: 139.3 kB / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 2.094e-06/0.2146, allocations: 0 / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.001085/0.2157, allocations: 295.4 kB / 0.9025 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.2158, allocations: 89.09 kB / 0.9026 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.2159, allocations: 125.8 kB / 0.9027 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.2159, allocations: 37.62 kB / 0.9027 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.806e-05/0.216, allocations: 96.14 kB / 0.9028 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.216, allocations: 19.88 kB / 0.9029 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.474e-05/0.216, allocations: 0 / 0.9029 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.815e-05/0.2161, allocations: 322.8 kB / 0.9032 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/0.2164, allocations: 67.95 kB / 0.9032 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003008/0.2167, allocations: 79.94 kB / 0.9033 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.217, allocations: 111.4 kB / 0.9034 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.2171, allocations: 0 / 0.9034 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000765/0.2178, allocations: 280.9 kB / 0.9037 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.055e-05/0.2179, allocations: 69.42 kB / 0.9037 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.2179, allocations: 4 kB / 0.9038 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.2179, allocations: 3.953 kB / 0.9038 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.2181, allocations: 19.98 kB / 0.9038 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.2182, allocations: 4 kB / 0.9038 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.2185, allocations: 27.92 kB / 0.9038 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/0.2185, allocations: 3.984 kB / 0.9038 GB, free: 60.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.2187, allocations: 155.5 kB / 0.904 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.2187, allocations: 7.906 kB / 0.904 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.328e-05/0.2187, allocations: 16.36 kB / 0.904 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2188, allocations: 0 / 0.904 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2188, allocations: 7.891 kB / 0.904 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.2188, allocations: 0 / 0.904 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.2189, allocations: 189.6 kB / 0.9042 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2189, allocations: 0 / 0.9042 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.2191, allocations: 19.92 kB / 0.9042 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.2191, allocations: 4 kB / 0.9042 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.2191, allocations: 8 kB / 0.9042 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2192, allocations: 0 / 0.9042 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2192, allocations: 0 / 0.9042 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007373/0.2199, allocations: 262.6 kB / 0.9045 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/0.22, allocations: 85.02 kB / 0.9045 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.22, allocations: 3.984 kB / 0.9045 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.2203, allocations: 27.98 kB / 0.9046 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.2204, allocations: 39.95 kB / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.2205, allocations: 7.984 kB / 0.9046 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.191e-05/0.2205, allocations: 105.6 kB / 0.9047 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.4e-07/0.2206, allocations: 0 / 0.9047 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002847/0.2209, allocations: 20 kB / 0.9047 GB, free: 59.12 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001081/0.221, allocations: 103.2 kB / 0.9048 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007304/0.2217, allocations: 278.7 kB / 0.9051 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2217, allocations: 0 / 0.9051 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003776/0.2221, allocations: 151.3 kB / 0.9052 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.2224, allocations: 15.88 kB / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006734/0.223, allocations: 243.7 kB / 0.9055 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.2232, allocations: 0.7043 MB / 0.9062 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.547e-05/0.2233, allocations: 4.188 kB / 0.9062 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.75e-05/0.2234, allocations: 11.38 kB / 0.9062 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of SimCode: time 1.694e-06/0.2234, allocations: 4 kB / 0.9062 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of Templates: time 0.005027/0.2284, allocations: 1.521 MB / 0.9077 GB, free: 56.02 MB / 0.6042 GB