Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.315/2.315, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002485/0.002485, allocations: 177.9 kB / 325.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.583/2.583, allocations: 205.4 MB / 0.5766 GB, free: 21.1 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 102.7 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006485/0.0006484, allocations: 11.97 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2102, allocations: 106.3 MB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2257/0.436, allocations: 135.5 MB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/0.4363, allocations: 79.95 kB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02521/0.4615, allocations: 5.42 MB / 1.037 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4616, allocations: 0 / 1.037 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.943e-05/0.4616, allocations: 8 kB / 1.037 GB, free: 4.723 MB / 0.6823 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.0009851/0.4626, allocations: 0.4923 MB / 1.037 GB, free: 4.176 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.4627, allocations: 8.031 kB / 1.037 GB, free: 4.168 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.542e-05/0.4628, allocations: 19.75 kB / 1.037 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005294/0.4633, allocations: 259.7 kB / 1.037 GB, free: 3.852 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.4634, allocations: 0 / 1.037 GB, free: 3.852 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.4634, allocations: 8 kB / 1.037 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.4637, allocations: 100.1 kB / 1.037 GB, free: 3.73 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.4638, allocations: 0 / 1.037 GB, free: 3.73 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.4638, allocations: 0 / 1.037 GB, free: 3.73 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.657e-05/0.4638, allocations: 7.984 kB / 1.037 GB, free: 3.723 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.464, allocations: 31.98 kB / 1.037 GB, free: 3.691 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007532/0.4648, allocations: 372.6 kB / 1.038 GB, free: 3.277 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003482/0.4651, allocations: 94.66 kB / 1.038 GB, free: 3.176 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.4652, allocations: 0 / 1.038 GB, free: 3.176 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000249/0.4654, allocations: 87.59 kB / 1.038 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 2.604e-06/0.4655, allocations: 3.938 kB / 1.038 GB, free: 3.074 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0006093/0.4661, allocations: 222.5 kB / 1.038 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.92e-05/0.4662, allocations: 106.8 kB / 1.038 GB, free: 2.703 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004406/0.4666, allocations: 246 kB / 1.039 GB, free: 2.457 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.4667, allocations: 25.7 kB / 1.039 GB, free: 2.426 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.4668, allocations: 120.1 kB / 1.039 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.4668, allocations: 19.8 kB / 1.039 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.127e-06/0.4668, allocations: 0 / 1.039 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.467, allocations: 326.8 kB / 1.039 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.4671, allocations: 31.98 kB / 1.039 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.4673, allocations: 76.2 kB / 1.039 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.4675, allocations: 40.27 kB / 1.039 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.4675, allocations: 0 / 1.039 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003692/0.4679, allocations: 113.4 kB / 1.039 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.4679, allocations: 4 kB / 1.039 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.4679, allocations: 8.031 kB / 1.039 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.468, allocations: 0 / 1.039 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.4681, allocations: 11.98 kB / 1.039 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.4681, allocations: 7.953 kB / 1.039 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.4683, allocations: 7.906 kB / 1.039 GB, free: 1.641 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.4683, allocations: 3.984 kB / 1.039 GB, free: 1.637 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,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 (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * 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.0002192/0.4685, allocations: 147 kB / 1.039 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.866e-05/0.4686, allocations: 15.81 kB / 1.039 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004629/0.4691, allocations: 139.1 kB / 1.04 GB, free: 1.316 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.4691, allocations: 0 / 1.04 GB, free: 1.316 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4691, allocations: 4 kB / 1.04 GB, free: 1.312 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.4691, allocations: 4 kB / 1.04 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.4695, allocations: 241.4 kB / 1.04 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4695, allocations: 0 / 1.04 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.655e-05/0.4696, allocations: 7.984 kB / 1.04 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.4696, allocations: 3.938 kB / 1.04 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.4696, allocations: 8 kB / 1.04 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.4696, allocations: 4 kB / 1.04 GB, free: 1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4696, allocations: 0 / 1.04 GB, free: 1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003943/0.47, allocations: 140.9 kB / 1.04 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.4702, allocations: 104.9 kB / 1.04 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.679e-05/0.4702, allocations: 4 kB / 1.04 GB, free: 0.7188 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.4703, allocations: 4 kB / 1.04 GB, free: 0.7148 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.77e-05/0.4704, allocations: 11.92 kB / 1.04 GB, free: 0.7031 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.4705, allocations: 12 kB / 1.04 GB, free: 0.6914 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003078/0.4708, allocations: 200.1 kB / 1.04 GB, free: 0.4961 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4708, allocations: 0 / 1.04 GB, free: 0.4961 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004064/0.4712, allocations: 47.98 kB / 1.04 GB, free: 460 kB / 0.6823 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.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * 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.001333/0.4725, allocations: 454.2 kB / 1.041 GB, free: 168 kB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004517/0.473, allocations: 83.89 kB / 1.041 GB, free: 84 kB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.473, allocations: 0 / 1.041 GB, free: 84 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.4732, allocations: 44.03 kB / 1.041 GB, free: 40 kB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.4736, allocations: 31.97 kB / 1.041 GB, free: 8 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008796/0.4745, allocations: 322 kB / 1.041 GB, free: 15.67 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.4749, allocations: 0.7243 MB / 1.042 GB, free: 14.92 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001513/0.4751, allocations: 29.38 kB / 1.042 GB, free: 14.89 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.205e-05/0.4751, allocations: 31.36 kB / 1.042 GB, free: 14.86 MB / 0.698 GB Notification: Performance of SimCode: time 9.92e-07/0.4752, allocations: 0 / 1.042 GB, free: 14.86 MB / 0.698 GB Notification: Performance of Templates: time 0.009012/0.4842, allocations: 2.475 MB / 1.044 GB, free: 12.4 MB / 0.698 GB