Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002611/0.002611, allocations: 353.4 kB / 16.57 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.479/1.479, allocations: 165.8 MB / 183.1 MB, free: 5.516 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.711/3.711, allocations: 410.8 MB / 0.6001 GB, free: 15.23 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001761/0.001761, allocations: 201.2 kB / 0.6668 GB, free: 6.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004746/0.0004747, allocations: 12 kB / 0.7429 GB, free: 8.992 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.3986, allocations: 67.44 MB / 0.8087 GB, free: 28.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1693/0.568, allocations: 102.3 MB / 0.9086 GB, free: 6.387 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/0.5684, allocations: 83.95 kB / 0.9087 GB, free: 6.305 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02486/0.5933, allocations: 5.407 MB / 0.914 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5933, allocations: 3.938 kB / 0.914 GB, free: 0.8906 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.796e-05/0.5934, allocations: 7.984 kB / 0.914 GB, free: 0.8828 MB / 458.7 MB 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.0008483/0.5942, allocations: 492.2 kB / 0.9145 GB, free: 356 kB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.5943, allocations: 8.031 kB / 0.9145 GB, free: 348 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.659e-05/0.5944, allocations: 23.72 kB / 0.9145 GB, free: 324 kB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004978/0.5949, allocations: 259.7 kB / 0.9147 GB, free: 20 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.5949, allocations: 0 / 0.9147 GB, free: 20 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.5949, allocations: 4 kB / 0.9147 GB, free: 16 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003285/0.5953, allocations: 100.2 kB / 0.9148 GB, free: 15.9 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.5953, allocations: 0 / 0.9148 GB, free: 15.9 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.5954, allocations: 7.953 kB / 0.9148 GB, free: 15.89 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.5954, allocations: 4 kB / 0.9148 GB, free: 15.89 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.5956, allocations: 43.91 kB / 0.9149 GB, free: 15.85 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007651/0.5964, allocations: 368.6 kB / 0.9152 GB, free: 15.44 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/0.5967, allocations: 94.64 kB / 0.9153 GB, free: 15.34 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.5969, allocations: 40.83 kB / 0.9154 GB, free: 15.29 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.5969, allocations: 11.92 kB / 0.9154 GB, free: 15.28 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002447/0.5972, allocations: 83.38 kB / 0.9155 GB, free: 15.19 MB / 474.7 MB Notification: Performance of pre-optimization done (n=8): time 2.615e-06/0.5972, allocations: 0 / 0.9155 GB, free: 15.19 MB / 474.7 MB Notification: Performance of matching and sorting (n=8): time 0.00056/0.5978, allocations: 141.4 kB / 0.9156 GB, free: 15.04 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.984e-05/0.5978, allocations: 106.8 kB / 0.9157 GB, free: 14.91 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004269/0.5983, allocations: 267 kB / 0.916 GB, free: 14.64 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.5983, allocations: 25.7 kB / 0.916 GB, free: 14.61 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.986e-05/0.5984, allocations: 124 kB / 0.9161 GB, free: 14.48 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.998e-05/0.5985, allocations: 19.8 kB / 0.9161 GB, free: 14.46 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.105e-06/0.5985, allocations: 0 / 0.9161 GB, free: 14.46 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.5986, allocations: 326.8 kB / 0.9164 GB, free: 14.14 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.5988, allocations: 27.98 kB / 0.9165 GB, free: 14.11 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.599, allocations: 76.27 kB / 0.9165 GB, free: 14.02 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.5992, allocations: 39.86 kB / 0.9166 GB, free: 13.98 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.5992, allocations: 0 / 0.9166 GB, free: 13.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003828/0.5996, allocations: 117.4 kB / 0.9167 GB, free: 13.86 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.5996, allocations: 6.812 kB / 0.9167 GB, free: 13.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.5996, allocations: 400 / 0.9167 GB, free: 13.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.5997, allocations: 4 kB / 0.9167 GB, free: 13.85 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.5998, allocations: 15.97 kB / 0.9167 GB, free: 13.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.5999, allocations: 7.984 kB / 0.9167 GB, free: 13.83 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.6, allocations: 7.906 kB / 0.9167 GB, free: 13.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.6, allocations: 0 / 0.9167 GB, free: 13.82 MB / 474.7 MB 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.0001911/0.6002, allocations: 143.7 kB / 0.9169 GB, free: 13.67 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.927e-05/0.6003, allocations: 19.77 kB / 0.9169 GB, free: 13.65 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004307/0.6007, allocations: 139 kB / 0.917 GB, free: 13.52 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.6007, allocations: 0 / 0.917 GB, free: 13.52 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.6008, allocations: 8 kB / 0.917 GB, free: 13.51 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.6008, allocations: 0 / 0.917 GB, free: 13.51 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000289/0.6011, allocations: 225.5 kB / 0.9172 GB, free: 13.24 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.6011, allocations: 7.984 kB / 0.9172 GB, free: 13.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.974e-05/0.6012, allocations: 4.188 kB / 0.9172 GB, free: 13.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.635e-06/0.6012, allocations: 3.953 kB / 0.9172 GB, free: 13.22 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.6012, allocations: 7.938 kB / 0.9173 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.6012, allocations: 0 / 0.9173 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6013, allocations: 0 / 0.9173 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004004/0.6017, allocations: 148.8 kB / 0.9174 GB, free: 13.05 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.6018, allocations: 104.9 kB / 0.9175 GB, free: 12.93 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.041e-05/0.6018, allocations: 7.953 kB / 0.9175 GB, free: 12.92 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.602, allocations: 11.97 kB / 0.9175 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.602, allocations: 7.938 kB / 0.9175 GB, free: 12.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.6021, allocations: 7.984 kB / 0.9175 GB, free: 12.89 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003137/0.6024, allocations: 192.4 kB / 0.9177 GB, free: 12.71 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6024, allocations: 0 / 0.9177 GB, free: 12.71 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004086/0.6028, allocations: 55.92 kB / 0.9178 GB, free: 12.65 MB / 474.7 MB 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.001287/0.6041, allocations: 440.1 kB / 0.9182 GB, free: 12.38 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004207/0.6046, allocations: 83.94 kB / 0.9183 GB, free: 12.29 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6046, allocations: 0 / 0.9183 GB, free: 12.29 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.6048, allocations: 44.06 kB / 0.9183 GB, free: 12.25 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.6052, allocations: 41.92 kB / 0.9183 GB, free: 12.21 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007851/0.606, allocations: 318.1 kB / 0.9187 GB, free: 11.87 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.6064, allocations: 0.732 MB / 0.9194 GB, free: 11.11 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001493/0.6065, allocations: 29.06 kB / 0.9194 GB, free: 11.08 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.78e-05/0.6066, allocations: 19.44 kB / 0.9194 GB, free: 11.07 MB / 474.7 MB Notification: Performance of SimCode: time 9.71e-07/0.6066, allocations: 0 / 0.9194 GB, free: 11.07 MB / 474.7 MB Notification: Performance of Templates: time 0.008594/0.6152, allocations: 2.488 MB / 0.9218 GB, free: 8.598 MB / 474.7 MB