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.01407/0.01407, allocations: 109.8 kB / 15.05 MB, free: 5.949 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.001875/0.001875, allocations: 181.5 kB / 15.94 MB, free: 5.902 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.074/2.074, allocations: 194.6 MB / 211.3 MB, free: 11.03 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.146/2.146, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000476/0.0004761, allocations: 19.98 kB / 0.5869 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5383/0.5388, allocations: 98.71 MB / 0.6833 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2197/0.7585, allocations: 125.3 MB / 0.8057 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.7588, allocations: 75.95 kB / 0.8058 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.00946/0.7683, allocations: 2.288 MB / 0.808 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.137e-06/0.7683, allocations: 0 / 0.808 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.467e-06/0.7683, allocations: 0 / 0.808 GB, free: 14.64 MB / 0.6355 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.0004872/0.7688, allocations: 388.8 kB / 0.8084 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.7689, allocations: 12.03 kB / 0.8084 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.7689, allocations: 7.891 kB / 0.8084 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.7691, allocations: 183 kB / 0.8086 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.7692, allocations: 8 kB / 0.8086 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.7692, allocations: 3.984 kB / 0.8086 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.7694, allocations: 69.66 kB / 0.8086 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.7694, allocations: 0 / 0.8086 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.7694, allocations: 3.938 kB / 0.8086 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.7695, allocations: 4 kB / 0.8086 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.815e-05/0.7696, allocations: 23.98 kB / 0.8087 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004181/0.77, allocations: 280.9 kB / 0.8089 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.7702, allocations: 66.55 kB / 0.809 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.993e-06/0.7702, allocations: 0 / 0.809 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.7704, allocations: 83.34 kB / 0.8091 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 2.594e-06/0.7704, allocations: 0 / 0.8091 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0004686/0.7709, allocations: 230.7 kB / 0.8093 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.771, allocations: 53.77 kB / 0.8093 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.7711, allocations: 121.1 kB / 0.8095 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.7712, allocations: 33.7 kB / 0.8095 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.035e-05/0.7712, allocations: 95.97 kB / 0.8096 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.7713, allocations: 7.906 kB / 0.8096 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.014e-05/0.7713, allocations: 4 kB / 0.8096 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.7714, allocations: 318.8 kB / 0.8099 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.963e-05/0.7715, allocations: 27.98 kB / 0.8099 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.186e-05/0.7716, allocations: 31.97 kB / 0.81 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.004e-05/0.7717, allocations: 57.69 kB / 0.81 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.496e-06/0.7717, allocations: 4 kB / 0.81 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002806/0.772, allocations: 155.2 kB / 0.8102 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/0.7721, allocations: 33.69 kB / 0.8102 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.366e-06/0.7721, allocations: 0 / 0.8102 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.7721, allocations: 0 / 0.8102 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.79e-05/0.7721, allocations: 4 kB / 0.8102 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.835e-06/0.7721, allocations: 0 / 0.8102 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.373e-05/0.7722, allocations: 8 kB / 0.8102 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.7722, allocations: 7.938 kB / 0.8102 GB, free: 12.11 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 () * 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.0001241/0.7724, allocations: 131.4 kB / 0.8103 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.816e-05/0.7724, allocations: 4.375 kB / 0.8103 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.698e-05/0.7724, allocations: 8.375 kB / 0.8104 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.7725, allocations: 0 / 0.8104 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.348e-06/0.7725, allocations: 8.359 kB / 0.8104 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.754e-06/0.7725, allocations: 3.938 kB / 0.8104 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.7727, allocations: 181.5 kB / 0.8105 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.458e-06/0.7727, allocations: 4 kB / 0.8105 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.043e-06/0.7727, allocations: 0 / 0.8105 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.092e-06/0.7727, allocations: 4 kB / 0.8105 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.7728, allocations: 0 / 0.8105 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.7728, allocations: 0 / 0.8105 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.94e-06/0.7728, allocations: 3.984 kB / 0.8105 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.7731, allocations: 156.9 kB / 0.8107 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.7732, allocations: 77.11 kB / 0.8108 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.7732, allocations: 0 / 0.8108 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.612e-05/0.7733, allocations: 7.984 kB / 0.8108 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.7733, allocations: 4 kB / 0.8108 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/0.7733, allocations: 7.984 kB / 0.8108 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.147e-05/0.7734, allocations: 99.27 kB / 0.8109 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.89e-07/0.7734, allocations: 0 / 0.8109 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003299/0.7738, allocations: 28 kB / 0.8109 GB, free: 11.29 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) * 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.0002501/0.774, allocations: 135.2 kB / 0.811 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002494/0.7743, allocations: 127.3 kB / 0.8112 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.7743, allocations: 4 kB / 0.8112 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.7744, allocations: 35.98 kB / 0.8112 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001162/0.7746, allocations: 3.953 kB / 0.8112 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004073/0.775, allocations: 176.9 kB / 0.8114 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.7754, allocations: 0.6964 MB / 0.8121 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.615e-05/0.7754, allocations: 8.25 kB / 0.8121 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.743e-05/0.7754, allocations: 7.438 kB / 0.8121 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of SimCode: time 1.366e-06/0.7754, allocations: 0 / 0.8121 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of Templates: time 0.003879/0.7793, allocations: 0.8433 MB / 0.8129 GB, free: 9.191 MB / 0.6355 GB