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.211/2.211, allocations: 252.6 MB / 265.2 MB, free: 5.723 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00143/0.00143, allocations: 179.8 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.154/2.154, allocations: 205.4 MB / 0.5753 GB, free: 10.47 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.001159/0.001159, allocations: 97.86 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.446e-05/4.459e-05, allocations: 7.938 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2064, allocations: 106.2 MB / 0.8949 GB, free: 6.281 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8185/1.025, allocations: 135.5 MB / 1.027 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/1.025, allocations: 77.7 kB / 1.027 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02464/1.05, allocations: 5.401 MB / 1.032 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.693e-06/1.05, allocations: 0 / 1.032 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.744e-05/1.05, allocations: 3.938 kB / 1.033 GB, free: 10.51 MB / 0.6511 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.0007275/1.051, allocations: 469.7 kB / 1.033 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/1.051, allocations: 12.03 kB / 1.033 GB, free: 10 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.503e-05/1.051, allocations: 11.81 kB / 1.033 GB, free: 9.988 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005087/1.051, allocations: 260.2 kB / 1.033 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/1.051, allocations: 0 / 1.033 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/1.052, allocations: 7.984 kB / 1.033 GB, free: 9.703 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/1.052, allocations: 98.59 kB / 1.033 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/1.052, allocations: 4 kB / 1.033 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/1.052, allocations: 3.125 kB / 1.033 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/1.052, allocations: 4 kB / 1.033 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/1.052, allocations: 38.55 kB / 1.033 GB, free: 9.57 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007018/1.053, allocations: 366.2 kB / 1.034 GB, free: 9.203 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/1.053, allocations: 88.77 kB / 1.034 GB, free: 9.129 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.541e-05/1.053, allocations: 31.61 kB / 1.034 GB, free: 9.105 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/1.053, allocations: 0 / 1.034 GB, free: 9.105 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000204/1.053, allocations: 82.06 kB / 1.034 GB, free: 9.023 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 2.284e-06/1.053, allocations: 0 / 1.034 GB, free: 9.023 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0003567/1.054, allocations: 119.3 kB / 1.034 GB, free: 8.918 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.62e-05/1.054, allocations: 102.8 kB / 1.034 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004028/1.054, allocations: 249.8 kB / 1.034 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/1.054, allocations: 32.39 kB / 1.034 GB, free: 8.543 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.76e-05/1.054, allocations: 113.3 kB / 1.035 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/1.054, allocations: 18.06 kB / 1.035 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-06/1.054, allocations: 0 / 1.035 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.055, allocations: 330 kB / 1.035 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.953e-05/1.055, allocations: 22.61 kB / 1.035 GB, free: 8.098 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/1.055, allocations: 75.28 kB / 1.035 GB, free: 8.023 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.598e-05/1.055, allocations: 26.67 kB / 1.035 GB, free: 8.004 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.055, allocations: 3.938 kB / 1.035 GB, free: 8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002749/1.055, allocations: 114.5 kB / 1.035 GB, free: 7.902 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/1.055, allocations: 5.406 kB / 1.035 GB, free: 7.898 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/1.055, allocations: 4 kB / 1.035 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/1.055, allocations: 0 / 1.035 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/1.055, allocations: 23.91 kB / 1.035 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/1.055, allocations: 4 kB / 1.035 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/1.056, allocations: 11.91 kB / 1.035 GB, free: 7.855 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/1.056, allocations: 3.984 kB / 1.035 GB, free: 7.852 MB / 0.6511 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 () * 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.0001131/1.056, allocations: 114.7 kB / 1.035 GB, free: 7.738 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.284e-05/1.056, allocations: 15.81 kB / 1.035 GB, free: 7.723 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003356/1.056, allocations: 128.4 kB / 1.035 GB, free: 7.617 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/1.056, allocations: 7.984 kB / 1.035 GB, free: 7.609 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.056, allocations: 7.953 kB / 1.035 GB, free: 7.602 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/1.056, allocations: 0 / 1.035 GB, free: 7.602 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/1.057, allocations: 234.5 kB / 1.036 GB, free: 7.348 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/1.057, allocations: 0 / 1.036 GB, free: 7.348 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.813e-05/1.057, allocations: 8 kB / 1.036 GB, free: 7.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/1.057, allocations: 0 / 1.036 GB, free: 7.34 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/1.057, allocations: 3.984 kB / 1.036 GB, free: 7.336 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/1.057, allocations: 0 / 1.036 GB, free: 7.336 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/1.057, allocations: 0 / 1.036 GB, free: 7.336 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/1.057, allocations: 150.9 kB / 1.036 GB, free: 7.191 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/1.057, allocations: 100.1 kB / 1.036 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.503e-05/1.057, allocations: 7 kB / 1.036 GB, free: 7.074 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/1.057, allocations: 3.984 kB / 1.036 GB, free: 7.07 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.504e-05/1.057, allocations: 7.75 kB / 1.036 GB, free: 7.066 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/1.057, allocations: 7.984 kB / 1.036 GB, free: 7.059 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002897/1.058, allocations: 197 kB / 1.036 GB, free: 6.898 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.058, allocations: 0 / 1.036 GB, free: 6.898 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003974/1.058, allocations: 54.83 kB / 1.036 GB, free: 6.852 MB / 0.6511 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) * 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.001277/1.059, allocations: 405.4 kB / 1.037 GB, free: 6.578 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003374/1.06, allocations: 85.2 kB / 1.037 GB, free: 6.516 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.06, allocations: 0 / 1.037 GB, free: 6.516 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/1.06, allocations: 34.67 kB / 1.037 GB, free: 6.488 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/1.06, allocations: 35.62 kB / 1.037 GB, free: 6.465 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006464/1.061, allocations: 219.2 kB / 1.037 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/1.061, allocations: 0.7273 MB / 1.038 GB, free: 5.508 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001389/1.062, allocations: 25.52 kB / 1.038 GB, free: 5.484 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.676e-05/1.062, allocations: 19 kB / 1.038 GB, free: 5.469 MB / 0.6511 GB Notification: Performance of SimCode: time 1.302e-06/1.062, allocations: 0 / 1.038 GB, free: 5.469 MB / 0.6511 GB Notification: Performance of Templates: time 0.00879/1.07, allocations: 2.49 MB / 1.04 GB, free: 2.996 MB / 0.6511 GB