Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests") translateModel(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7293/0.7293, allocations: 143.8 MB / 159.1 MB, free: 6.508 MB / 122.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.0009293/0.0009293, allocations: 190.3 kB / 192 MB, free: 6.711 MB / 154.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.377/1.377, allocations: 225.7 MB / 450.4 MB, free: 4.934 MB / 330.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.0008499/0.0008499, allocations: 107.6 kB / 0.5211 GB, free: 1.59 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001645/0.001645, allocations: 280.6 kB / 0.6025 GB, free: 49.26 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000421/0.0004211, allocations: 16.75 kB / 0.6948 GB, free: 59.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1258, allocations: 82.45 MB / 0.7753 GB, free: 14.34 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests): time 0.001498/0.1274, allocations: 1.185 MB / 0.7765 GB, free: 13.15 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007355/0.1281, allocations: 0.5797 MB / 0.777 GB, free: 12.53 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.43e-05/0.1282, allocations: 3.938 kB / 0.777 GB, free: 12.52 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 7.064e-05/0.1283, allocations: 7.922 kB / 0.777 GB, free: 12.52 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.495e-05/0.1283, allocations: 7.875 kB / 0.777 GB, free: 12.51 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001768/0.1285, allocations: 39.89 kB / 0.7771 GB, free: 12.47 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.1286, allocations: 83.81 kB / 0.7772 GB, free: 12.39 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.788e-05/0.1287, allocations: 12.19 kB / 0.7772 GB, free: 12.38 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.1288, allocations: 39.84 kB / 0.7772 GB, free: 12.34 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.797e-05/0.1289, allocations: 43.81 kB / 0.7772 GB, free: 12.29 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.129, allocations: 4 kB / 0.7772 GB, free: 12.29 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.591e-05/0.129, allocations: 4 kB / 0.7773 GB, free: 12.29 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.793e-05/0.129, allocations: 15.92 kB / 0.7773 GB, free: 12.27 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 8.245e-05/0.1291, allocations: 57.56 kB / 0.7773 GB, free: 12.21 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.1292, allocations: 83.95 kB / 0.7774 GB, free: 12.12 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1292, allocations: 0 / 0.7774 GB, free: 12.12 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.1292, allocations: 0 / 0.7774 GB, free: 12.12 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.1293, allocations: 0 / 0.7774 GB, free: 12.12 MB / 458.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.0005766/0.1298, allocations: 430.7 kB / 0.7778 GB, free: 11.64 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.1299, allocations: 8.031 kB / 0.7778 GB, free: 11.64 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.1299, allocations: 20.83 kB / 0.7778 GB, free: 11.62 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.1301, allocations: 196.1 kB / 0.778 GB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1301, allocations: 4.375 kB / 0.778 GB, free: 11.38 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.1301, allocations: 4.375 kB / 0.778 GB, free: 11.38 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/0.1305, allocations: 129.7 kB / 0.7782 GB, free: 11.25 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.1305, allocations: 0 / 0.7782 GB, free: 11.25 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.1305, allocations: 4 kB / 0.7782 GB, free: 11.24 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1305, allocations: 4 kB / 0.7782 GB, free: 11.24 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003023/0.1308, allocations: 99.92 kB / 0.7783 GB, free: 11.14 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005108/0.1313, allocations: 352.6 kB / 0.7786 GB, free: 10.75 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.1316, allocations: 118.5 kB / 0.7787 GB, free: 10.62 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.1318, allocations: 80.94 kB / 0.7788 GB, free: 10.54 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.1319, allocations: 0 / 0.7788 GB, free: 10.54 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003097/0.1322, allocations: 135.3 kB / 0.7789 GB, free: 10.39 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.1322, allocations: 3.938 kB / 0.7789 GB, free: 10.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006854/0.1329, allocations: 295.2 kB / 0.7792 GB, free: 10.09 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.133, allocations: 89.09 kB / 0.7793 GB, free: 9.984 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.1331, allocations: 117.8 kB / 0.7794 GB, free: 9.859 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.635e-05/0.1331, allocations: 41.69 kB / 0.7794 GB, free: 9.812 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.1332, allocations: 92.08 kB / 0.7795 GB, free: 9.719 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.1332, allocations: 15.81 kB / 0.7795 GB, free: 9.703 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.083e-05/0.1333, allocations: 4 kB / 0.7795 GB, free: 9.699 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.952e-05/0.1334, allocations: 322.8 kB / 0.7799 GB, free: 9.375 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.1336, allocations: 79.89 kB / 0.7799 GB, free: 9.297 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.1338, allocations: 71.95 kB / 0.78 GB, free: 9.227 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003474/0.1341, allocations: 201.8 kB / 0.7802 GB, free: 9.008 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1341, allocations: 0 / 0.7802 GB, free: 9.008 MB / 458.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000501/0.1346, allocations: 272.9 kB / 0.7805 GB, free: 8.723 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.566e-05/0.1347, allocations: 71.33 kB / 0.7805 GB, free: 8.641 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1347, allocations: 0 / 0.7805 GB, free: 8.641 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.1347, allocations: 0 / 0.7805 GB, free: 8.641 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.1348, allocations: 15.98 kB / 0.7805 GB, free: 8.625 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.1349, allocations: 0 / 0.7805 GB, free: 8.625 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.135, allocations: 39.88 kB / 0.7806 GB, free: 8.586 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.135, allocations: 4 kB / 0.7806 GB, free: 8.582 MB / 458.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.0001142/0.1352, allocations: 159.5 kB / 0.7807 GB, free: 8.41 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/0.1352, allocations: 4 kB / 0.7807 GB, free: 8.406 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.1352, allocations: 16.31 kB / 0.7808 GB, free: 8.391 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1352, allocations: 0 / 0.7808 GB, free: 8.391 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-06/0.1352, allocations: 0 / 0.7808 GB, free: 8.391 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1352, allocations: 3.984 kB / 0.7808 GB, free: 8.387 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.1354, allocations: 209.5 kB / 0.781 GB, free: 8.133 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1354, allocations: 0 / 0.781 GB, free: 8.133 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.307e-05/0.1355, allocations: 15.98 kB / 0.781 GB, free: 8.117 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1355, allocations: 0 / 0.781 GB, free: 8.117 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.1355, allocations: 4 kB / 0.781 GB, free: 8.113 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1355, allocations: 0 / 0.781 GB, free: 8.113 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1355, allocations: 8.016 kB / 0.781 GB, free: 8.105 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004876/0.136, allocations: 262.9 kB / 0.7812 GB, free: 7.824 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/0.1361, allocations: 89.02 kB / 0.7813 GB, free: 7.719 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.1361, allocations: 4.062 kB / 0.7813 GB, free: 7.715 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.1363, allocations: 31.97 kB / 0.7814 GB, free: 7.684 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.1364, allocations: 31.97 kB / 0.7814 GB, free: 7.652 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.1364, allocations: 11.98 kB / 0.7814 GB, free: 7.641 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.835e-05/0.1365, allocations: 91.83 kB / 0.7815 GB, free: 7.551 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1365, allocations: 4 kB / 0.7815 GB, free: 7.547 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001871/0.1367, allocations: 27.94 kB / 0.7815 GB, free: 7.52 MB / 458.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 9.106e-05/0.1368, allocations: 108.4 kB / 0.7816 GB, free: 7.406 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005399/0.1373, allocations: 282.6 kB / 0.7819 GB, free: 7.105 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1373, allocations: 4 kB / 0.7819 GB, free: 7.102 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.1376, allocations: 143.3 kB / 0.782 GB, free: 6.949 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.1378, allocations: 12.42 kB / 0.782 GB, free: 6.938 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004677/0.1383, allocations: 249.1 kB / 0.7823 GB, free: 6.66 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.1385, allocations: 0.6965 MB / 0.783 GB, free: 5.938 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.664e-05/0.1386, allocations: 7.984 kB / 0.783 GB, free: 5.93 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.438e-05/0.1386, allocations: 19.44 kB / 0.783 GB, free: 5.91 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1386, allocations: 0 / 0.783 GB, free: 5.91 MB / 458.7 MB Notification: Performance of Templates: time 0.003558/0.1422, allocations: 1.577 MB / 0.7845 GB, free: 4.352 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)