Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.543/4.543, allocations: 433.4 MB / 440.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.477e-05/2.485e-05, allocations: 8 kB / 0.5325 GB, free: 1.883 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5135/0.5136, allocations: 98.71 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2253/0.7389, allocations: 124.5 MB / 0.7505 GB, free: 3.043 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.7391, allocations: 71.95 kB / 0.7506 GB, free: 2.973 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.009488/0.7486, allocations: 2.261 MB / 0.7528 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.907e-06/0.7487, allocations: 0 / 0.7528 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.613e-06/0.7487, allocations: 0 / 0.7528 GB, free: 0.7109 MB / 0.6198 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.0004855/0.7492, allocations: 388.1 kB / 0.7532 GB, free: 288 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.7493, allocations: 12.02 kB / 0.7532 GB, free: 276 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.7493, allocations: 7.906 kB / 0.7532 GB, free: 268 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.7495, allocations: 187 kB / 0.7534 GB, free: 40 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.7496, allocations: 0 / 0.7534 GB, free: 40 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.7496, allocations: 4 kB / 0.7534 GB, free: 36 kB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.143e-05/0.7497, allocations: 27.92 kB / 0.7534 GB, free: 8 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.7499, allocations: 61.67 kB / 0.7534 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.14e-06/0.7499, allocations: 0 / 0.7534 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.7499, allocations: 4 kB / 0.7535 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.75, allocations: 4 kB / 0.7535 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004092/0.7504, allocations: 261.4 kB / 0.7537 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.7505, allocations: 54.61 kB / 0.7538 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.388e-05/0.7506, allocations: 28.91 kB / 0.7538 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.831e-06/0.7506, allocations: 0 / 0.7538 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.7508, allocations: 83.33 kB / 0.7539 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 2.523e-06/0.7508, allocations: 0 / 0.7539 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0003444/0.7512, allocations: 117.6 kB / 0.754 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.7512, allocations: 55.34 kB / 0.754 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.7513, allocations: 121.1 kB / 0.7541 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.7514, allocations: 25.7 kB / 0.7542 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.885e-05/0.7515, allocations: 92.12 kB / 0.7543 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.7515, allocations: 7.906 kB / 0.7543 GB, free: 15 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.176e-06/0.7515, allocations: 4 kB / 0.7543 GB, free: 15 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.7517, allocations: 322.8 kB / 0.7546 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.233e-05/0.7518, allocations: 24 kB / 0.7546 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.232e-05/0.7518, allocations: 28.3 kB / 0.7546 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.752, allocations: 36.02 kB / 0.7547 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.752, allocations: 0 / 0.7547 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003125/0.7523, allocations: 117.6 kB / 0.7548 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.251e-05/0.7524, allocations: 39.09 kB / 0.7548 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.708e-06/0.7524, allocations: 4 kB / 0.7548 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.7524, allocations: 4 kB / 0.7548 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.889e-05/0.7525, allocations: 3.938 kB / 0.7548 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.813e-06/0.7525, allocations: 0 / 0.7548 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.881e-05/0.7525, allocations: 4 kB / 0.7548 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.7526, allocations: 4 kB / 0.7548 GB, free: 14.41 MB / 0.6355 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 () * 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.0001073/0.7527, allocations: 119 kB / 0.7549 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.7527, allocations: 3.906 kB / 0.7549 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/0.7528, allocations: 12.62 kB / 0.755 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.7528, allocations: 4 kB / 0.755 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.651e-06/0.7528, allocations: 0 / 0.755 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.059e-06/0.7528, allocations: 0 / 0.755 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.753, allocations: 150.2 kB / 0.7551 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.392e-06/0.753, allocations: 0 / 0.7551 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-06/0.753, allocations: 0 / 0.7551 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.753, allocations: 0 / 0.7551 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.7531, allocations: 7.984 kB / 0.7551 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.026e-06/0.7531, allocations: 0 / 0.7551 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.261e-06/0.7531, allocations: 0 / 0.7551 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002893/0.7534, allocations: 149.1 kB / 0.7553 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.028e-05/0.7535, allocations: 85.05 kB / 0.7553 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.7535, allocations: 8.062 kB / 0.7553 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.025e-05/0.7536, allocations: 7.984 kB / 0.7554 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.912e-05/0.7536, allocations: 0 / 0.7554 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.7536, allocations: 7.984 kB / 0.7554 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.013e-05/0.7537, allocations: 95.22 kB / 0.7554 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.79e-07/0.7538, allocations: 0 / 0.7554 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003303/0.7541, allocations: 43.83 kB / 0.7555 GB, free: 13.65 MB / 0.6355 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) * 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.0002557/0.7544, allocations: 138.4 kB / 0.7556 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002152/0.7546, allocations: 119.3 kB / 0.7557 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.7546, allocations: 0 / 0.7557 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.244e-05/0.7547, allocations: 27.98 kB / 0.7558 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001251/0.7548, allocations: 11.94 kB / 0.7558 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003109/0.7552, allocations: 116.1 kB / 0.7559 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.7555, allocations: 0.6924 MB / 0.7566 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.402e-05/0.7556, allocations: 4 kB / 0.7566 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.964e-05/0.7556, allocations: 7.438 kB / 0.7566 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of SimCode: time 1.331e-06/0.7556, allocations: 0 / 0.7566 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of Templates: time 0.003787/0.7594, allocations: 0.8382 MB / 0.7574 GB, free: 11.64 MB / 0.6355 GB