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.01519/0.0152, allocations: 107.7 kB / 15.06 MB, free: 5.562 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.001789/0.001789, allocations: 183.2 kB / 15.95 MB, free: 5.523 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 2.325/2.325, allocations: 194.6 MB / 211.3 MB, free: 11.3 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.215/2.215, allocations: 236.2 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004871/0.0004874, allocations: 12 kB / 0.5869 GB, free: 2.211 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5419/0.5424, allocations: 98.7 MB / 0.6833 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.001431/0.5439, allocations: 1.128 MB / 0.6844 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0005949/0.5445, allocations: 267.4 kB / 0.6847 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.574e-05/0.5446, allocations: 5.438 kB / 0.6847 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.5447, allocations: 21.2 kB / 0.6847 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.33e-05/0.5448, allocations: 18.84 kB / 0.6847 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005657/0.5454, allocations: 111.9 kB / 0.6848 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 6.488e-05/0.5454, allocations: 24.36 kB / 0.6849 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 6.701e-05/0.5455, allocations: 4.328 kB / 0.6849 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.39e-05/0.5456, allocations: 18.23 kB / 0.6849 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 8.589e-05/0.5457, allocations: 31.14 kB / 0.6849 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.5457, allocations: 1.25 kB / 0.6849 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.5459, allocations: 60.52 kB / 0.685 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.818e-05/0.5459, allocations: 16.25 kB / 0.685 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.546, allocations: 32.84 kB / 0.685 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.5461, allocations: 57.73 kB / 0.6851 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.591e-06/0.5461, allocations: 0 / 0.6851 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.078e-06/0.5461, allocations: 1 kB / 0.6851 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.052e-06/0.5462, allocations: 0 / 0.6851 GB, free: 15.6 MB / 0.5261 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.0004157/0.5466, allocations: 381 kB / 0.6854 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.5466, allocations: 9.25 kB / 0.6854 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.5467, allocations: 7.938 kB / 0.6854 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.5468, allocations: 173.2 kB / 0.6856 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.5469, allocations: 13.31 kB / 0.6856 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.5469, allocations: 3.266 kB / 0.6856 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.5471, allocations: 70.44 kB / 0.6857 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.5471, allocations: 1.469 kB / 0.6857 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.5471, allocations: 0.75 kB / 0.6857 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.872e-05/0.5471, allocations: 1.594 kB / 0.6857 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.851e-05/0.5472, allocations: 29.92 kB / 0.6857 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.5476, allocations: 280.6 kB / 0.686 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.5478, allocations: 73.38 kB / 0.6861 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.184e-06/0.5478, allocations: 1.469 kB / 0.6861 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.548, allocations: 82.25 kB / 0.6861 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 2.651e-06/0.548, allocations: 0 / 0.6861 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.000429/0.5484, allocations: 231.4 kB / 0.6864 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.5485, allocations: 53.33 kB / 0.6864 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.978e-05/0.5486, allocations: 139.5 kB / 0.6865 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.5486, allocations: 27.47 kB / 0.6866 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.911e-05/0.5487, allocations: 87.36 kB / 0.6867 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.5487, allocations: 11.77 kB / 0.6867 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.354e-06/0.5487, allocations: 0.9688 kB / 0.6867 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.556e-05/0.5488, allocations: 319.2 kB / 0.687 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.33e-05/0.5489, allocations: 21.41 kB / 0.687 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.478e-05/0.5489, allocations: 21.2 kB / 0.687 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.246e-05/0.549, allocations: 58.5 kB / 0.6871 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.438e-06/0.549, allocations: 0 / 0.6871 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002046/0.5492, allocations: 139.4 kB / 0.6872 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/0.5493, allocations: 35.16 kB / 0.6872 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.956e-06/0.5493, allocations: 0 / 0.6872 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.5493, allocations: 0 / 0.6872 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.856e-05/0.5493, allocations: 1.781 kB / 0.6872 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.04e-06/0.5494, allocations: 5.031 kB / 0.6872 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.224e-05/0.5494, allocations: 11.69 kB / 0.6873 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.5494, allocations: 1.469 kB / 0.6873 GB, free: 13.59 MB / 0.5261 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 9.248e-05/0.5495, allocations: 125.6 kB / 0.6874 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.906e-05/0.5496, allocations: 7.219 kB / 0.6874 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.434e-05/0.5496, allocations: 12.09 kB / 0.6874 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/0.5496, allocations: 1.312 kB / 0.6874 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.5496, allocations: 1.906 kB / 0.6874 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.393e-06/0.5497, allocations: 0 / 0.6874 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.5498, allocations: 178.4 kB / 0.6876 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.5498, allocations: 0.9062 kB / 0.6876 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.199e-06/0.5498, allocations: 1.656 kB / 0.6876 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.09e-06/0.5498, allocations: 4 kB / 0.6876 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.5499, allocations: 1.719 kB / 0.6876 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.875e-06/0.5499, allocations: 2.156 kB / 0.6876 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.762e-06/0.5499, allocations: 0 / 0.6876 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002845/0.5502, allocations: 154.8 kB / 0.6877 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.671e-05/0.5502, allocations: 84.31 kB / 0.6878 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.5503, allocations: 6.562 kB / 0.6878 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.24e-05/0.5503, allocations: 2.219 kB / 0.6878 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-05/0.5504, allocations: 6.844 kB / 0.6878 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.5504, allocations: 7.938 kB / 0.6878 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.889e-05/0.5505, allocations: 99.73 kB / 0.6879 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.68e-07/0.5505, allocations: 0 / 0.6879 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003252/0.5508, allocations: 27.16 kB / 0.688 GB, free: 12.95 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,intTab.y,intTab.nextTime,intTab.index,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.nextTime,intTab.index) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000209/0.551, allocations: 125.3 kB / 0.6881 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002309/0.5513, allocations: 121.5 kB / 0.6882 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.5513, allocations: 5.375 kB / 0.6882 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.5514, allocations: 42.2 kB / 0.6882 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001174/0.5516, allocations: 5.328 kB / 0.6882 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/0.5519, allocations: 178.8 kB / 0.6884 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.5521, allocations: 0.6946 MB / 0.6891 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.191e-05/0.5521, allocations: 6.641 kB / 0.6891 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.824e-05/0.5522, allocations: 10.19 kB / 0.6891 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of SimCode: time 1.251e-06/0.5522, allocations: 0 / 0.6891 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of Templates: time 0.003943/0.5561, allocations: 0.8557 MB / 0.6899 GB, free: 11.82 MB / 0.5261 GB