Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6979/0.6979, allocations: 131 MB / 146.3 MB, free: 1.32 MB / 106.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.001041/0.001041, allocations: 192.2 kB / 176.4 MB, free: 4.883 MB / 138.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.295/1.295, allocations: 225.7 MB / 431.9 MB, free: 8.824 MB / 314.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.0007859/0.0007859, allocations: 101.3 kB / 0.5003 GB, free: 9.926 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003371, allocations: 8 kB / 0.5885 GB, free: 72.71 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1306, allocations: 79.59 MB / 0.6662 GB, free: 8.957 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.001619/0.1322, allocations: 1.19 MB / 0.6674 GB, free: 7.754 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008143/0.1331, allocations: 0.5843 MB / 0.668 GB, free: 7.129 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.084e-05/0.1331, allocations: 0 / 0.668 GB, free: 7.129 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 8.184e-05/0.1332, allocations: 3.938 kB / 0.668 GB, free: 7.125 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.119e-05/0.1333, allocations: 11.88 kB / 0.668 GB, free: 7.113 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.1335, allocations: 39.88 kB / 0.668 GB, free: 7.074 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000113/0.1336, allocations: 79.83 kB / 0.6681 GB, free: 6.996 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1337, allocations: 20.12 kB / 0.6681 GB, free: 6.977 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.1338, allocations: 35.91 kB / 0.6682 GB, free: 6.941 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.132e-05/0.1339, allocations: 39.81 kB / 0.6682 GB, free: 6.902 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.134, allocations: 4 kB / 0.6682 GB, free: 6.898 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.569e-05/0.134, allocations: 4 kB / 0.6682 GB, free: 6.895 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.151e-05/0.134, allocations: 15.92 kB / 0.6682 GB, free: 6.879 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.738e-05/0.1341, allocations: 57.56 kB / 0.6683 GB, free: 6.816 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.1343, allocations: 83.73 kB / 0.6684 GB, free: 6.734 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1343, allocations: 0 / 0.6684 GB, free: 6.734 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1343, allocations: 0 / 0.6684 GB, free: 6.734 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.1343, allocations: 0 / 0.6684 GB, free: 6.734 MB / 442.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.0006511/0.1349, allocations: 438.9 kB / 0.6688 GB, free: 6.246 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.135, allocations: 12.03 kB / 0.6688 GB, free: 6.234 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.135, allocations: 12.84 kB / 0.6688 GB, free: 6.223 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.1353, allocations: 196.1 kB / 0.669 GB, free: 5.992 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.1353, allocations: 4.375 kB / 0.669 GB, free: 5.988 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.1353, allocations: 8.375 kB / 0.669 GB, free: 5.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003031/0.1356, allocations: 125.7 kB / 0.6691 GB, free: 5.852 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1356, allocations: 0 / 0.6691 GB, free: 5.852 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.1357, allocations: 8 kB / 0.6691 GB, free: 5.844 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1357, allocations: 4 kB / 0.6691 GB, free: 5.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002884/0.136, allocations: 107.8 kB / 0.6692 GB, free: 5.734 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005315/0.1365, allocations: 340.7 kB / 0.6696 GB, free: 5.352 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002986/0.1368, allocations: 122.5 kB / 0.6697 GB, free: 5.223 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.137, allocations: 76.94 kB / 0.6697 GB, free: 5.145 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.137, allocations: 0 / 0.6697 GB, free: 5.145 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003139/0.1373, allocations: 139.2 kB / 0.6699 GB, free: 4.996 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1374, allocations: 0 / 0.6699 GB, free: 4.996 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006978/0.1381, allocations: 295.4 kB / 0.6702 GB, free: 4.695 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.1381, allocations: 85.11 kB / 0.6702 GB, free: 4.594 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.681e-05/0.1382, allocations: 129.7 kB / 0.6704 GB, free: 4.457 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.1383, allocations: 33.7 kB / 0.6704 GB, free: 4.418 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.326e-05/0.1383, allocations: 96.12 kB / 0.6705 GB, free: 4.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.1383, allocations: 19.75 kB / 0.6705 GB, free: 4.301 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-06/0.1384, allocations: 0 / 0.6705 GB, free: 4.301 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1385, allocations: 326.8 kB / 0.6708 GB, free: 3.973 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.1387, allocations: 71.95 kB / 0.6709 GB, free: 3.902 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.1389, allocations: 75.89 kB / 0.671 GB, free: 3.828 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/0.1392, allocations: 197.9 kB / 0.6712 GB, free: 3.613 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1392, allocations: 0 / 0.6712 GB, free: 3.613 MB / 442.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004719/0.1397, allocations: 280.8 kB / 0.6714 GB, free: 3.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.668e-05/0.1398, allocations: 67.39 kB / 0.6715 GB, free: 3.242 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1398, allocations: 64 / 0.6715 GB, free: 3.242 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1398, allocations: 4 kB / 0.6715 GB, free: 3.238 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.1399, allocations: 16.08 kB / 0.6715 GB, free: 3.223 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.1399, allocations: 7.938 kB / 0.6715 GB, free: 3.215 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.1401, allocations: 23.98 kB / 0.6715 GB, free: 3.191 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.1401, allocations: 7.984 kB / 0.6715 GB, free: 3.184 MB / 442.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 0.0001091/0.1402, allocations: 155.5 kB / 0.6717 GB, free: 3.016 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.985e-05/0.1402, allocations: 7.906 kB / 0.6717 GB, free: 3.008 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.687e-05/0.1403, allocations: 20.3 kB / 0.6717 GB, free: 2.992 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1403, allocations: 0 / 0.6717 GB, free: 2.992 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1403, allocations: 0 / 0.6717 GB, free: 2.992 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1403, allocations: 0 / 0.6717 GB, free: 2.992 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.1404, allocations: 201.6 kB / 0.6719 GB, free: 2.746 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1404, allocations: 0 / 0.6719 GB, free: 2.746 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.644e-05/0.1405, allocations: 19.98 kB / 0.6719 GB, free: 2.727 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-06/0.1405, allocations: 0 / 0.6719 GB, free: 2.727 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.1406, allocations: 4 kB / 0.6719 GB, free: 2.723 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.1406, allocations: 3.938 kB / 0.6719 GB, free: 2.719 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1406, allocations: 0 / 0.6719 GB, free: 2.719 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004467/0.141, allocations: 262.6 kB / 0.6722 GB, free: 2.438 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.427e-05/0.1411, allocations: 88.95 kB / 0.6723 GB, free: 2.332 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.1411, allocations: 3.984 kB / 0.6723 GB, free: 2.328 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.1413, allocations: 31.98 kB / 0.6723 GB, free: 2.297 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.1414, allocations: 35.95 kB / 0.6723 GB, free: 2.262 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.1414, allocations: 4 kB / 0.6723 GB, free: 2.258 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.97e-05/0.1415, allocations: 95.83 kB / 0.6724 GB, free: 2.164 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1415, allocations: 4 kB / 0.6724 GB, free: 2.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001807/0.1417, allocations: 23.94 kB / 0.6725 GB, free: 2.137 MB / 442.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 0.0001041/0.1418, allocations: 115.2 kB / 0.6726 GB, free: 2.012 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004962/0.1423, allocations: 278.6 kB / 0.6728 GB, free: 1.715 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1423, allocations: 4 kB / 0.6728 GB, free: 1.711 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002303/0.1425, allocations: 143.4 kB / 0.673 GB, free: 1.559 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.1427, allocations: 15.92 kB / 0.673 GB, free: 1.543 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004837/0.1432, allocations: 253.1 kB / 0.6732 GB, free: 1.262 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.1434, allocations: 0.6965 MB / 0.6739 GB, free: 0.5391 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.579e-05/0.1435, allocations: 7.984 kB / 0.6739 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/0.1435, allocations: 15.44 kB / 0.6739 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of SimCode: time 2.01e-07/0.1436, allocations: 0 / 0.6739 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of Templates: time 0.003597/0.1472, allocations: 1.583 MB / 0.6755 GB, free: 14.94 MB / 458.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)