Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.conf.json 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/IBPSA 3.0.0-master/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 IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests") translateModel(IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008731/0.0008732, allocations: 176.1 kB / 16.08 MB, free: 5.602 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4466/0.4466, allocations: 89.07 MB / 105.9 MB, free: 12.45 MB / 90.72 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.214/1.214, allocations: 225.7 MB / 353.2 MB, free: 1.094 MB / 282.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.0007808/0.0007808, allocations: 98.5 kB / 425.4 MB, free: 6.633 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002914/0.0002914, allocations: 8 kB / 0.4955 GB, free: 4.531 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2567, allocations: 71.34 MB / 0.5652 GB, free: 42.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.001236/0.258, allocations: 1.184 MB / 0.5663 GB, free: 41.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005908/0.2586, allocations: 0.582 MB / 0.5669 GB, free: 40.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.623e-05/0.2586, allocations: 0 / 0.5669 GB, free: 40.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.816e-05/0.2587, allocations: 7.922 kB / 0.5669 GB, free: 40.51 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.588e-05/0.2588, allocations: 9.531 kB / 0.5669 GB, free: 40.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.2589, allocations: 31.97 kB / 0.567 GB, free: 40.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.66e-05/0.259, allocations: 83.77 kB / 0.567 GB, free: 40.39 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.794e-05/0.2591, allocations: 22.22 kB / 0.5671 GB, free: 40.37 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.612e-05/0.2592, allocations: 39.84 kB / 0.5671 GB, free: 40.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.896e-05/0.2593, allocations: 40.36 kB / 0.5671 GB, free: 40.29 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.2593, allocations: 4.531 kB / 0.5671 GB, free: 40.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.469e-05/0.2594, allocations: 4 kB / 0.5671 GB, free: 40.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.408e-05/0.2594, allocations: 12.75 kB / 0.5672 GB, free: 40.27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.649e-05/0.2595, allocations: 61.5 kB / 0.5672 GB, free: 40.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.599e-05/0.2596, allocations: 72.27 kB / 0.5673 GB, free: 40.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2596, allocations: 1.344 kB / 0.5673 GB, free: 40.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2596, allocations: 3.984 kB / 0.5673 GB, free: 40.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.2596, allocations: 0 / 0.5673 GB, free: 40.13 MB / 410.7 MB 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.0005189/0.2601, allocations: 439.3 kB / 0.5677 GB, free: 39.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.2601, allocations: 12.03 kB / 0.5677 GB, free: 39.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.2602, allocations: 8.844 kB / 0.5677 GB, free: 39.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.2603, allocations: 196.1 kB / 0.5679 GB, free: 39.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.2603, allocations: 8.375 kB / 0.5679 GB, free: 39.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.2604, allocations: 8.359 kB / 0.5679 GB, free: 39.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.2606, allocations: 121.7 kB / 0.568 GB, free: 39.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.2607, allocations: 4 kB / 0.568 GB, free: 39.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.2607, allocations: 4 kB / 0.5681 GB, free: 39.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.2607, allocations: 4 kB / 0.5681 GB, free: 39.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002689/0.261, allocations: 99.92 kB / 0.5682 GB, free: 39.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.2614, allocations: 348.6 kB / 0.5685 GB, free: 38.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.2617, allocations: 118.5 kB / 0.5686 GB, free: 38.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.2618, allocations: 76.94 kB / 0.5687 GB, free: 38.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.2619, allocations: 0 / 0.5687 GB, free: 38.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000287/0.2622, allocations: 143.3 kB / 0.5688 GB, free: 38.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.2622, allocations: 0 / 0.5688 GB, free: 38.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005963/0.2628, allocations: 299.2 kB / 0.5691 GB, free: 38.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.2628, allocations: 85.09 kB / 0.5692 GB, free: 38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.653e-05/0.2629, allocations: 125.8 kB / 0.5693 GB, free: 37.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.2629, allocations: 33.7 kB / 0.5693 GB, free: 37.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/0.2629, allocations: 100 kB / 0.5694 GB, free: 37.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.263, allocations: 15.81 kB / 0.5694 GB, free: 37.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.616e-06/0.263, allocations: 0 / 0.5694 GB, free: 37.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.755e-05/0.263, allocations: 330.7 kB / 0.5698 GB, free: 37.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.2632, allocations: 75.89 kB / 0.5698 GB, free: 37.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.2634, allocations: 71.95 kB / 0.5699 GB, free: 37.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.2636, allocations: 205.8 kB / 0.5701 GB, free: 37.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2637, allocations: 0 / 0.5701 GB, free: 37.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003985/0.2641, allocations: 276.8 kB / 0.5704 GB, free: 36.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.2641, allocations: 67.39 kB / 0.5704 GB, free: 36.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.2641, allocations: 0 / 0.5704 GB, free: 36.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.2641, allocations: 0 / 0.5704 GB, free: 36.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.2642, allocations: 15.98 kB / 0.5704 GB, free: 36.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.2643, allocations: 4 kB / 0.5704 GB, free: 36.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.2644, allocations: 35.91 kB / 0.5705 GB, free: 36.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.2644, allocations: 4 kB / 0.5705 GB, free: 36.58 MB / 410.7 MB 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 7.564e-05/0.2645, allocations: 155.4 kB / 0.5706 GB, free: 36.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/0.2645, allocations: 11.89 kB / 0.5706 GB, free: 36.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.2646, allocations: 12.38 kB / 0.5706 GB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.2646, allocations: 0 / 0.5706 GB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.2646, allocations: 0 / 0.5706 GB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.2646, allocations: 0 / 0.5706 GB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.604e-05/0.2647, allocations: 197.5 kB / 0.5708 GB, free: 36.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2647, allocations: 4 kB / 0.5708 GB, free: 36.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.224e-05/0.2648, allocations: 15.98 kB / 0.5709 GB, free: 36.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2648, allocations: 0 / 0.5709 GB, free: 36.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.2648, allocations: 4 kB / 0.5709 GB, free: 36.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2648, allocations: 96 / 0.5709 GB, free: 36.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2648, allocations: 7.875 kB / 0.5709 GB, free: 36.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003954/0.2652, allocations: 262.8 kB / 0.5711 GB, free: 35.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.026e-05/0.2653, allocations: 89.06 kB / 0.5712 GB, free: 35.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.2653, allocations: 8 kB / 0.5712 GB, free: 35.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.2654, allocations: 27.98 kB / 0.5712 GB, free: 35.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.2655, allocations: 35.95 kB / 0.5713 GB, free: 35.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.2655, allocations: 4 kB / 0.5713 GB, free: 35.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.652e-05/0.2656, allocations: 103.2 kB / 0.5714 GB, free: 35.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2656, allocations: 0 / 0.5714 GB, free: 35.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001819/0.2658, allocations: 27.94 kB / 0.5714 GB, free: 35.52 MB / 410.7 MB 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 6.834e-05/0.2659, allocations: 107.2 kB / 0.5715 GB, free: 35.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004202/0.2663, allocations: 278.6 kB / 0.5718 GB, free: 35.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2663, allocations: 3.938 kB / 0.5718 GB, free: 35.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.2665, allocations: 155.3 kB / 0.5719 GB, free: 34.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.2667, allocations: 15.91 kB / 0.5719 GB, free: 34.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003876/0.2671, allocations: 245.2 kB / 0.5722 GB, free: 34.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.486e-05/0.2672, allocations: 0.6926 MB / 0.5728 GB, free: 33.94 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.08e-05/0.2673, allocations: 11.97 kB / 0.5729 GB, free: 33.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.2673, allocations: 7.438 kB / 0.5729 GB, free: 33.92 MB / 410.7 MB Notification: Performance of SimCode: time 3.6e-07/0.2673, allocations: 8 kB / 0.5729 GB, free: 33.91 MB / 410.7 MB Notification: Performance of Templates: time 0.003106/0.2704, allocations: 1.576 MB / 0.5744 GB, free: 32.35 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)