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.01746/0.01746, allocations: 222.2 kB / 15.17 MB, free: 5.93 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.00179/0.00179, allocations: 182.6 kB / 16.06 MB, free: 5.828 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.88/3.88, allocations: 389.1 MB / 405.9 MB, free: 11.74 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.16/4.16, allocations: 472.3 MB / 0.9018 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004746/0.0004749, allocations: 14.44 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1333, allocations: 98.74 MB / 1.104 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.001325/0.1347, allocations: 1.207 MB / 1.105 GB, free: 40.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000662/0.1354, allocations: 464.7 kB / 1.106 GB, free: 40.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.477e-05/0.1355, allocations: 0 / 1.106 GB, free: 40.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 6.279e-05/0.1355, allocations: 7.438 kB / 1.106 GB, free: 40.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.548e-05/0.1356, allocations: 11.92 kB / 1.106 GB, free: 40.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.1358, allocations: 27.91 kB / 1.106 GB, free: 40.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.915e-05/0.1359, allocations: 67.77 kB / 1.106 GB, free: 40.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.284e-05/0.136, allocations: 14.64 kB / 1.106 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.1361, allocations: 35.91 kB / 1.106 GB, free: 40.24 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.332e-05/0.1362, allocations: 31.83 kB / 1.106 GB, free: 40.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.1363, allocations: 7.938 kB / 1.106 GB, free: 40.2 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.655e-05/0.1363, allocations: 4 kB / 1.106 GB, free: 40.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.831e-05/0.1363, allocations: 7.938 kB / 1.106 GB, free: 40.19 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.537e-05/0.1364, allocations: 40.45 kB / 1.106 GB, free: 40.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.268e-05/0.1365, allocations: 43.89 kB / 1.106 GB, free: 40.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.492e-06/0.1365, allocations: 0 / 1.106 GB, free: 40.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.909e-06/0.1365, allocations: 0 / 1.106 GB, free: 40.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.185e-06/0.1365, allocations: 0 / 1.106 GB, free: 40.1 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.000552/0.1371, allocations: 446.1 kB / 1.106 GB, free: 39.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.1371, allocations: 15.97 kB / 1.106 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.1372, allocations: 7.906 kB / 1.106 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.1373, allocations: 182.9 kB / 1.107 GB, free: 39.37 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.1373, allocations: 3.984 kB / 1.107 GB, free: 39.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.1374, allocations: 8 kB / 1.107 GB, free: 39.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.1377, allocations: 101 kB / 1.107 GB, free: 39.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.848e-06/0.1377, allocations: 0 / 1.107 GB, free: 39.25 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.1377, allocations: 7.891 kB / 1.107 GB, free: 39.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.707e-06/0.1377, allocations: 3.938 kB / 1.107 GB, free: 39.24 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003238/0.1381, allocations: 93.17 kB / 1.107 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005449/0.1386, allocations: 328.7 kB / 1.107 GB, free: 38.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003244/0.139, allocations: 106 kB / 1.107 GB, free: 38.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.1392, allocations: 66.7 kB / 1.107 GB, free: 38.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.1392, allocations: 0 / 1.107 GB, free: 38.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003123/0.1395, allocations: 108.7 kB / 1.107 GB, free: 38.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.491e-06/0.1396, allocations: 3.312 kB / 1.107 GB, free: 38.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0006941/0.1403, allocations: 233.8 kB / 1.108 GB, free: 38.26 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.1403, allocations: 85.09 kB / 1.108 GB, free: 38.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.45e-05/0.1404, allocations: 126.1 kB / 1.108 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.1405, allocations: 29.69 kB / 1.108 GB, free: 37.99 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.509e-05/0.1405, allocations: 100.8 kB / 1.108 GB, free: 37.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.612e-05/0.1406, allocations: 18.53 kB / 1.108 GB, free: 37.87 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.115e-05/0.1406, allocations: 3.938 kB / 1.108 GB, free: 37.87 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.292e-05/0.1407, allocations: 322.8 kB / 1.108 GB, free: 37.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.1409, allocations: 59.23 kB / 1.108 GB, free: 37.49 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.1411, allocations: 51.97 kB / 1.108 GB, free: 37.44 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.1413, allocations: 106.6 kB / 1.108 GB, free: 37.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.334e-06/0.1413, allocations: 3.953 kB / 1.108 GB, free: 37.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005018/0.1418, allocations: 229.9 kB / 1.109 GB, free: 37.08 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.901e-05/0.1419, allocations: 59 kB / 1.109 GB, free: 37.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1419, allocations: 4.875 kB / 1.109 GB, free: 37.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1419, allocations: 3.25 kB / 1.109 GB, free: 37.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.1421, allocations: 19.92 kB / 1.109 GB, free: 36.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.1421, allocations: 3.938 kB / 1.109 GB, free: 36.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.1423, allocations: 27.97 kB / 1.109 GB, free: 36.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.1423, allocations: 4 kB / 1.109 GB, free: 36.95 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 9.873e-05/0.1424, allocations: 150.9 kB / 1.109 GB, free: 36.79 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.1424, allocations: 11.86 kB / 1.109 GB, free: 36.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.178e-05/0.1425, allocations: 12.7 kB / 1.109 GB, free: 36.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.231e-06/0.1425, allocations: 4 kB / 1.109 GB, free: 36.76 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1425, allocations: 0 / 1.109 GB, free: 36.76 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1425, allocations: 0 / 1.109 GB, free: 36.76 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005977/0.1431, allocations: 446.9 kB / 1.109 GB, free: 36.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.964e-06/0.1432, allocations: 4.844 kB / 1.109 GB, free: 36.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.1433, allocations: 22.36 kB / 1.109 GB, free: 36.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.559e-06/0.1433, allocations: 0 / 1.109 GB, free: 36.24 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.1433, allocations: 0 / 1.109 GB, free: 36.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.954e-06/0.1433, allocations: 0 / 1.109 GB, free: 36.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.738e-06/0.1433, allocations: 4 kB / 1.109 GB, free: 36.24 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004754/0.1438, allocations: 291.3 kB / 1.11 GB, free: 35.94 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.736e-05/0.1439, allocations: 85 kB / 1.11 GB, free: 35.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.1439, allocations: 8 kB / 1.11 GB, free: 35.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.1441, allocations: 15.98 kB / 1.11 GB, free: 35.81 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.1442, allocations: 19.97 kB / 1.11 GB, free: 35.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.1443, allocations: 7.469 kB / 1.11 GB, free: 35.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.924e-05/0.1443, allocations: 105.8 kB / 1.11 GB, free: 35.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.94e-07/0.1444, allocations: 3.938 kB / 1.11 GB, free: 35.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003333/0.1447, allocations: 16 kB / 1.11 GB, free: 35.67 MB / 0.6042 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,reqCou.nInc,act1.T_start,act1.count) * Number of discrete states: 2 (act1.count,reqCou.nInc) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001059/0.1448, allocations: 111.8 kB / 1.11 GB, free: 35.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005201/0.1453, allocations: 233.8 kB / 1.11 GB, free: 35.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.774e-06/0.1454, allocations: 3.281 kB / 1.11 GB, free: 35.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002371/0.1456, allocations: 119.3 kB / 1.11 GB, free: 35.17 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.146, allocations: 11.95 kB / 1.11 GB, free: 35.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000526/0.1465, allocations: 233.2 kB / 1.111 GB, free: 34.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.1467, allocations: 0.6926 MB / 1.111 GB, free: 34.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.397e-05/0.1468, allocations: 15.62 kB / 1.111 GB, free: 34.18 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.992e-05/0.1468, allocations: 11.44 kB / 1.111 GB, free: 34.17 MB / 0.6042 GB Notification: Performance of SimCode: time 1.435e-06/0.1468, allocations: 0 / 1.111 GB, free: 34.17 MB / 0.6042 GB Notification: Performance of Templates: time 0.00401/0.1508, allocations: 1.097 MB / 1.112 GB, free: 33.12 MB / 0.6042 GB