Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004255/0.004255, allocations: 240.5 kB / 15.81 MB, free: 6.281 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001146/0.001146, allocations: 182.6 kB / 16.69 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.965/3.965, allocations: 389.1 MB / 406.5 MB, free: 11.86 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.258/4.258, allocations: 472.3 MB / 0.9024 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006381/0.0006383, allocations: 12.22 kB / 1.008 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1663, allocations: 98.73 MB / 1.105 GB, free: 42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.001725/0.1681, allocations: 1.207 MB / 1.106 GB, free: 40.78 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008235/0.169, allocations: 467.6 kB / 1.106 GB, free: 40.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.42e-05/0.169, allocations: 4 kB / 1.106 GB, free: 40.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.85e-05/0.1691, allocations: 3.984 kB / 1.106 GB, free: 40.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.435e-05/0.1692, allocations: 12.66 kB / 1.106 GB, free: 40.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.1694, allocations: 19.97 kB / 1.106 GB, free: 40.28 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.1695, allocations: 74.61 kB / 1.106 GB, free: 40.21 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.1696, allocations: 12.17 kB / 1.106 GB, free: 40.2 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.1698, allocations: 31.86 kB / 1.106 GB, free: 40.17 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.283e-05/0.1699, allocations: 43.14 kB / 1.106 GB, free: 40.13 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.1699, allocations: 0 / 1.106 GB, free: 40.13 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.959e-05/0.1699, allocations: 4 kB / 1.106 GB, free: 40.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.7e-05/0.17, allocations: 15.97 kB / 1.106 GB, free: 40.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.17, allocations: 37.64 kB / 1.106 GB, free: 40.07 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.193e-05/0.1701, allocations: 35.92 kB / 1.107 GB, free: 40.03 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1702, allocations: 0 / 1.107 GB, free: 40.03 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1702, allocations: 4 kB / 1.107 GB, free: 40.03 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.1702, allocations: 0 / 1.107 GB, free: 40.03 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007373/0.1709, allocations: 446.2 kB / 1.107 GB, free: 39.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.171, allocations: 8.031 kB / 1.107 GB, free: 39.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.171, allocations: 7.906 kB / 1.107 GB, free: 39.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.1712, allocations: 194.8 kB / 1.107 GB, free: 39.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.1712, allocations: 4 kB / 1.107 GB, free: 39.29 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.1713, allocations: 7.5 kB / 1.107 GB, free: 39.28 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003799/0.1717, allocations: 101.6 kB / 1.107 GB, free: 39.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1717, allocations: 0 / 1.107 GB, free: 39.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.1717, allocations: 5.312 kB / 1.107 GB, free: 39.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1717, allocations: 4 kB / 1.107 GB, free: 39.17 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004564/0.1722, allocations: 87.09 kB / 1.107 GB, free: 39.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006732/0.1729, allocations: 344.3 kB / 1.108 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004491/0.1734, allocations: 100.5 kB / 1.108 GB, free: 38.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002606/0.1736, allocations: 54.95 kB / 1.108 GB, free: 38.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.1737, allocations: 7.406 kB / 1.108 GB, free: 38.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004142/0.1741, allocations: 111.3 kB / 1.108 GB, free: 38.42 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.745e-06/0.1741, allocations: 0 / 1.108 GB, free: 38.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.001118/0.1752, allocations: 232.7 kB / 1.108 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.1753, allocations: 81.09 kB / 1.108 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.1755, allocations: 130.1 kB / 1.108 GB, free: 37.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.1755, allocations: 37.64 kB / 1.108 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.357e-05/0.1756, allocations: 99.45 kB / 1.108 GB, free: 37.81 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.1756, allocations: 19.73 kB / 1.109 GB, free: 37.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.502e-05/0.1757, allocations: 4 kB / 1.109 GB, free: 37.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.288e-05/0.1757, allocations: 314.8 kB / 1.109 GB, free: 37.47 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003456/0.1761, allocations: 62.86 kB / 1.109 GB, free: 37.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003402/0.1765, allocations: 51.95 kB / 1.109 GB, free: 37.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/0.1768, allocations: 105.7 kB / 1.109 GB, free: 37.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.1768, allocations: 0 / 1.109 GB, free: 37.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0008497/0.1777, allocations: 232.2 kB / 1.109 GB, free: 37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.295e-05/0.1778, allocations: 59.41 kB / 1.109 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1778, allocations: 0 / 1.109 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.1778, allocations: 0 / 1.109 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.1781, allocations: 24.88 kB / 1.109 GB, free: 36.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1781, allocations: 0 / 1.109 GB, free: 36.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002872/0.1784, allocations: 23.02 kB / 1.109 GB, free: 36.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.1785, allocations: 4 kB / 1.109 GB, free: 36.89 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,reqCou.nInc,$PRE.act1.T_start,act1.T_start,$PRE.act1.count,act1.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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.0001403/0.1786, allocations: 156.6 kB / 1.11 GB, free: 36.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.1787, allocations: 16.36 kB / 1.11 GB, free: 36.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.547e-05/0.1787, allocations: 19.91 kB / 1.11 GB, free: 36.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1787, allocations: 0 / 1.11 GB, free: 36.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1787, allocations: 0 / 1.11 GB, free: 36.68 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.014e-05/0.1788, allocations: 81.02 kB / 1.11 GB, free: 36.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.567e-05/0.1789, allocations: 7.984 kB / 1.11 GB, free: 36.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.1792, allocations: 15.98 kB / 1.11 GB, free: 36.56 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.1793, allocations: 23 kB / 1.11 GB, free: 36.54 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009913/0.1803, allocations: 327.6 kB / 1.11 GB, free: 36.2 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008299/0.1812, allocations: 370.9 kB / 1.11 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003606/0.1816, allocations: 59.95 kB / 1.11 GB, free: 35.76 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.136e-05/0.1816, allocations: 102.5 kB / 1.11 GB, free: 35.66 MB / 0.6042 GB Notification: Performance of Backend: time 9.22e-07/0.1817, allocations: 2.594 kB / 1.11 GB, free: 35.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001023/0.1827, allocations: 267.3 kB / 1.111 GB, free: 35.38 MB / 0.6042 GB Notification: Performance of SimCode: time 0.000703/0.1834, allocations: 0.6928 MB / 1.111 GB, free: 34.63 MB / 0.6042 GB Notification: Performance of Templates: time 0.006737/0.1902, allocations: 1.284 MB / 1.113 GB, free: 33.4 MB / 0.6042 GB