Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.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.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004447/0.004451, allocations: 236.7 kB / 15.8 MB, free: 6.316 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.001285/0.001285, allocations: 179 kB / 16.68 MB, free: 5.473 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 4.044/4.044, allocations: 389.1 MB / 406.5 MB, free: 11.78 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.309/4.309, allocations: 472.3 MB / 0.9024 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004751/0.0004753, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.179, allocations: 98.73 MB / 1.105 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.00154/0.1806, allocations: 1.123 MB / 1.106 GB, free: 40.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000643/0.1813, allocations: 284.1 kB / 1.106 GB, free: 40.67 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.122e-05/0.1813, allocations: 4 kB / 1.106 GB, free: 40.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.1815, allocations: 15.97 kB / 1.106 GB, free: 40.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.84e-05/0.1815, allocations: 19.97 kB / 1.106 GB, free: 40.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005949/0.1821, allocations: 114.5 kB / 1.106 GB, free: 40.52 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.795e-05/0.1822, allocations: 31.91 kB / 1.106 GB, free: 40.49 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.707e-05/0.1823, allocations: 11.11 kB / 1.106 GB, free: 40.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.15e-05/0.1824, allocations: 15.98 kB / 1.106 GB, free: 40.47 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.268e-05/0.1825, allocations: 31.89 kB / 1.106 GB, free: 40.44 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.1825, allocations: 0 / 1.106 GB, free: 40.44 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.1826, allocations: 55.95 kB / 1.106 GB, free: 40.38 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.215e-05/0.1827, allocations: 23.91 kB / 1.106 GB, free: 40.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.5e-05/0.1827, allocations: 25.7 kB / 1.106 GB, free: 40.33 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.1829, allocations: 55.91 kB / 1.106 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1829, allocations: 7.375 kB / 1.106 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.635e-06/0.1829, allocations: 0 / 1.106 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.1829, allocations: 3.938 kB / 1.106 GB, free: 40.27 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004844/0.1834, allocations: 385.1 kB / 1.107 GB, free: 39.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.1835, allocations: 8.031 kB / 1.107 GB, free: 39.83 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.1835, allocations: 3.953 kB / 1.107 GB, free: 39.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.1837, allocations: 190.8 kB / 1.107 GB, free: 39.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.1837, allocations: 3.125 kB / 1.107 GB, free: 39.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.1838, allocations: 7.938 kB / 1.107 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.184, allocations: 65.67 kB / 1.107 GB, free: 39.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.184, allocations: 0 / 1.107 GB, free: 39.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.184, allocations: 4.688 kB / 1.107 GB, free: 39.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/0.1841, allocations: 3.953 kB / 1.107 GB, free: 39.51 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.024e-05/0.1842, allocations: 27.98 kB / 1.107 GB, free: 39.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.1845, allocations: 267.6 kB / 1.107 GB, free: 39.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.1847, allocations: 62.55 kB / 1.107 GB, free: 39.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.084e-05/0.1848, allocations: 38.36 kB / 1.107 GB, free: 39.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.1849, allocations: 3.062 kB / 1.107 GB, free: 39.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002276/0.1851, allocations: 79.34 kB / 1.107 GB, free: 38.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 2.775e-06/0.1851, allocations: 0 / 1.107 GB, free: 38.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0004215/0.1855, allocations: 157.5 kB / 1.108 GB, free: 38.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.1856, allocations: 55.39 kB / 1.108 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.62e-05/0.1857, allocations: 125.3 kB / 1.108 GB, free: 38.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.1857, allocations: 25.7 kB / 1.108 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.056e-05/0.1858, allocations: 96.12 kB / 1.108 GB, free: 38.49 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.1858, allocations: 8.469 kB / 1.108 GB, free: 38.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-06/0.1858, allocations: 4 kB / 1.108 GB, free: 38.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.641e-05/0.1859, allocations: 314.8 kB / 1.108 GB, free: 38.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.019e-05/0.186, allocations: 23.98 kB / 1.108 GB, free: 38.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.449e-05/0.186, allocations: 31.92 kB / 1.108 GB, free: 38.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.023e-05/0.1861, allocations: 49.08 kB / 1.108 GB, free: 38.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1861, allocations: 4.406 kB / 1.108 GB, free: 38.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001948/0.1863, allocations: 135.6 kB / 1.108 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.717e-05/0.1864, allocations: 41.69 kB / 1.108 GB, free: 37.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.1864, allocations: 0 / 1.108 GB, free: 37.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1864, allocations: 3.953 kB / 1.108 GB, free: 37.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.264e-05/0.1864, allocations: 4.062 kB / 1.108 GB, free: 37.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.1865, allocations: 0 / 1.108 GB, free: 37.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.567e-05/0.1865, allocations: 11.38 kB / 1.109 GB, free: 37.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.1865, allocations: 0 / 1.109 GB, free: 37.84 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: 9 ($whenCondition1,$PRE.intTab.y,intTab.y,$PRE.intTab.nextTime,intTab.nextTime,$PRE.intTab.index,intTab.index,intRep.y[1],intRep.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 1 * 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.0001011/0.1867, allocations: 133.7 kB / 1.109 GB, free: 37.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.1867, allocations: 0 / 1.109 GB, free: 37.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.524e-05/0.1867, allocations: 8.375 kB / 1.109 GB, free: 37.69 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1867, allocations: 3.953 kB / 1.109 GB, free: 37.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1867, allocations: 0 / 1.109 GB, free: 37.69 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.906e-05/0.1868, allocations: 87.62 kB / 1.109 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.1868, allocations: 3.984 kB / 1.109 GB, free: 37.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.99e-05/0.1869, allocations: 8.5 kB / 1.109 GB, free: 37.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.1869, allocations: 3.312 kB / 1.109 GB, free: 37.57 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002799/0.1872, allocations: 200.9 kB / 1.109 GB, free: 37.37 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002984/0.1875, allocations: 294.6 kB / 1.109 GB, free: 37.07 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.3e-05/0.1876, allocations: 31.98 kB / 1.109 GB, free: 37.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.186e-05/0.1877, allocations: 98.36 kB / 1.109 GB, free: 36.94 MB / 0.6042 GB Notification: Performance of Backend: time 8.51e-07/0.1877, allocations: 0 / 1.109 GB, free: 36.94 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006224/0.1884, allocations: 193.8 kB / 1.11 GB, free: 36.73 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004369/0.1888, allocations: 0.5949 MB / 1.11 GB, free: 36.1 MB / 0.6042 GB Notification: Performance of Templates: time 0.004237/0.1931, allocations: 0.9054 MB / 1.111 GB, free: 35.24 MB / 0.6042 GB