Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.63/1.63, allocations: 297.4 MB / 312.6 MB, free: 2.941 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001012, allocations: 174.1 kB / 382.3 MB, free: 14.84 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.7 MB / 0.6617 GB, free: 7.23 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007499/0.0007503, allocations: 98.19 kB / 0.7789 GB, free: 46.86 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003574, allocations: 8 kB / 0.9058 GB, free: 4.957 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7226/0.723, allocations: 119.2 MB / 1.022 GB, free: 57.62 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002369/0.7254, allocations: 1.198 MB / 1.023 GB, free: 57.05 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.7268, allocations: 0.5899 MB / 1.024 GB, free: 56.64 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.654e-05/0.7269, allocations: 1.031 kB / 1.024 GB, free: 56.64 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.727, allocations: 7.422 kB / 1.024 GB, free: 56.64 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.867e-05/0.7271, allocations: 13.69 kB / 1.024 GB, free: 56.63 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.7274, allocations: 26.27 kB / 1.024 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.7276, allocations: 92.39 kB / 1.024 GB, free: 56.59 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.7277, allocations: 12.88 kB / 1.024 GB, free: 56.58 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.7279, allocations: 42.45 kB / 1.024 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.728, allocations: 37.84 kB / 1.024 GB, free: 56.55 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.7281, allocations: 5.125 kB / 1.024 GB, free: 56.55 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 2.205e-05/0.7281, allocations: 3.688 kB / 1.024 GB, free: 56.55 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.06e-05/0.7281, allocations: 12.92 kB / 1.024 GB, free: 56.55 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.163e-05/0.7282, allocations: 60.36 kB / 1.024 GB, free: 56.5 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.7284, allocations: 74.41 kB / 1.024 GB, free: 56.48 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.7285, allocations: 3.938 kB / 1.024 GB, free: 56.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7285, allocations: 0 / 1.024 GB, free: 56.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.7285, allocations: 0 / 1.024 GB, free: 56.48 MB / 0.698 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.0007746/0.7293, allocations: 443.6 kB / 1.025 GB, free: 56.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.7293, allocations: 10.66 kB / 1.025 GB, free: 56.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.404e-05/0.7294, allocations: 14.31 kB / 1.025 GB, free: 56.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.7296, allocations: 187.6 kB / 1.025 GB, free: 55.83 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.7297, allocations: 7.625 kB / 1.025 GB, free: 55.83 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.7297, allocations: 7.875 kB / 1.025 GB, free: 55.83 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004785/0.7302, allocations: 124.8 kB / 1.025 GB, free: 55.78 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.7302, allocations: 0 / 1.025 GB, free: 55.78 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.7303, allocations: 6.031 kB / 1.025 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.7303, allocations: 1.688 kB / 1.025 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004959/0.7308, allocations: 108.4 kB / 1.025 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000764/0.7316, allocations: 338.5 kB / 1.026 GB, free: 55.46 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005406/0.7321, allocations: 117.4 kB / 1.026 GB, free: 55.42 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/0.7325, allocations: 79.55 kB / 1.026 GB, free: 55.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.7325, allocations: 1.469 kB / 1.026 GB, free: 55.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005342/0.7331, allocations: 134.5 kB / 1.026 GB, free: 55.33 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 2.474e-06/0.7331, allocations: 4.562 kB / 1.026 GB, free: 55.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.001132/0.7342, allocations: 297.2 kB / 1.026 GB, free: 55.21 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.7343, allocations: 86.81 kB / 1.026 GB, free: 55.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.7345, allocations: 132.5 kB / 1.026 GB, free: 55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.7345, allocations: 28.42 kB / 1.026 GB, free: 54.97 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.975e-05/0.7346, allocations: 96.33 kB / 1.027 GB, free: 54.88 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.7346, allocations: 20.75 kB / 1.027 GB, free: 54.87 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.437e-05/0.7347, allocations: 1.156 kB / 1.027 GB, free: 54.87 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.01e-05/0.7348, allocations: 323.9 kB / 1.027 GB, free: 54.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/0.7351, allocations: 83.89 kB / 1.027 GB, free: 54.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.7354, allocations: 68.64 kB / 1.027 GB, free: 54.51 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005564/0.7359, allocations: 199 kB / 1.027 GB, free: 54.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.736, allocations: 1.281 kB / 1.027 GB, free: 54.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000812/0.7368, allocations: 276.7 kB / 1.027 GB, free: 54.24 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.445e-05/0.7369, allocations: 69.45 kB / 1.028 GB, free: 54.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.7369, allocations: 2.844 kB / 1.028 GB, free: 54.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.7369, allocations: 0 / 1.028 GB, free: 54.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.7371, allocations: 16.02 kB / 1.028 GB, free: 54.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.7372, allocations: 5.406 kB / 1.028 GB, free: 54.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.7374, allocations: 38.84 kB / 1.028 GB, free: 54.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.7375, allocations: 8.844 kB / 1.028 GB, free: 54.15 MB / 0.698 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.0001474/0.7376, allocations: 152.7 kB / 1.028 GB, free: 54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.7377, allocations: 7.656 kB / 1.028 GB, free: 54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.136e-05/0.7377, allocations: 12.88 kB / 1.028 GB, free: 53.99 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.7377, allocations: 4 kB / 1.028 GB, free: 53.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.7378, allocations: 0 / 1.028 GB, free: 53.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.7378, allocations: 3.422 kB / 1.028 GB, free: 53.98 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.738, allocations: 197.6 kB / 1.028 GB, free: 53.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.738, allocations: 0.5625 kB / 1.028 GB, free: 53.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.7382, allocations: 20.34 kB / 1.028 GB, free: 53.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.7382, allocations: 96 / 1.028 GB, free: 53.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.7382, allocations: 7.109 kB / 1.028 GB, free: 53.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.7383, allocations: 3.984 kB / 1.028 GB, free: 53.77 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.7383, allocations: 4 kB / 1.028 GB, free: 53.76 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007822/0.7391, allocations: 261.1 kB / 1.028 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.752e-05/0.7391, allocations: 80.86 kB / 1.028 GB, free: 53.53 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/0.7392, allocations: 3.891 kB / 1.028 GB, free: 53.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.7394, allocations: 34.2 kB / 1.028 GB, free: 53.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002106/0.7397, allocations: 31.61 kB / 1.028 GB, free: 53.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.7397, allocations: 4.391 kB / 1.028 GB, free: 53.52 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.724e-05/0.7398, allocations: 100.8 kB / 1.028 GB, free: 53.43 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.01e-07/0.7398, allocations: 4 kB / 1.028 GB, free: 53.43 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003484/0.7402, allocations: 25.83 kB / 1.028 GB, free: 53.43 MB / 0.698 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.0001525/0.7403, allocations: 114.1 kB / 1.029 GB, free: 53.33 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008376/0.7412, allocations: 278.2 kB / 1.029 GB, free: 53.17 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7412, allocations: 0 / 1.029 GB, free: 53.17 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004116/0.7416, allocations: 147.3 kB / 1.029 GB, free: 53.08 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.742, allocations: 19.48 kB / 1.029 GB, free: 53.07 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007053/0.7427, allocations: 248.6 kB / 1.029 GB, free: 52.89 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.7429, allocations: 0.6912 MB / 1.03 GB, free: 52.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.545e-05/0.743, allocations: 13 kB / 1.03 GB, free: 52.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.51e-05/0.7431, allocations: 11.19 kB / 1.03 GB, free: 52.19 MB / 0.698 GB Notification: Performance of SimCode: time 2.91e-07/0.7431, allocations: 0 / 1.03 GB, free: 52.19 MB / 0.698 GB Notification: Performance of Templates: time 0.006239/0.7493, allocations: 1.579 MB / 1.031 GB, free: 52.07 MB / 0.698 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)