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.335/2.335, allocations: 253.2 MB / 260.6 MB, free: 7.441 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.00141/0.001409, allocations: 180.9 kB / 319.9 MB, free: 3.039 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.116/2.116, allocations: 205.6 MB / 0.5708 GB, free: 15.23 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.001171/0.00117, allocations: 86.7 kB / 0.6751 GB, free: 4.598 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.29e-05/2.306e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1902, allocations: 106.2 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8818/1.072, allocations: 135.7 MB / 1.021 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/1.072, allocations: 82.44 kB / 1.021 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02369/1.096, allocations: 5.362 MB / 1.026 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.923e-06/1.096, allocations: 0 / 1.026 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.062e-05/1.096, allocations: 4 kB / 1.026 GB, free: 13.18 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.0007249/1.097, allocations: 466.1 kB / 1.027 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/1.097, allocations: 12.02 kB / 1.027 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.169e-05/1.097, allocations: 15.81 kB / 1.027 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005159/1.098, allocations: 265.6 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/1.098, allocations: 3.938 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/1.098, allocations: 4 kB / 1.027 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001262/1.098, allocations: 26.8 kB / 1.027 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/1.098, allocations: 94.38 kB / 1.027 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/1.098, allocations: 0 / 1.027 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/1.098, allocations: 3.984 kB / 1.027 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/1.098, allocations: 0 / 1.027 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006665/1.099, allocations: 347.8 kB / 1.028 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/1.099, allocations: 87.58 kB / 1.028 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.16e-05/1.099, allocations: 23.61 kB / 1.028 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/1.099, allocations: 0 / 1.028 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001941/1.099, allocations: 79.69 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 2.064e-06/1.099, allocations: 0 / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0003681/1.1, allocations: 106.5 kB / 1.028 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/1.1, allocations: 110.8 kB / 1.028 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003623/1.1, allocations: 239.1 kB / 1.028 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/1.1, allocations: 29.7 kB / 1.028 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.627e-05/1.1, allocations: 123.9 kB / 1.028 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/1.1, allocations: 19.12 kB / 1.028 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.065e-06/1.1, allocations: 3.938 kB / 1.028 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.101, allocations: 333.1 kB / 1.029 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.931e-05/1.101, allocations: 22 kB / 1.029 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/1.101, allocations: 70.66 kB / 1.029 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/1.101, allocations: 33.34 kB / 1.029 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.101, allocations: 0 / 1.029 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003104/1.101, allocations: 108.4 kB / 1.029 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/1.101, allocations: 4 kB / 1.029 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/1.101, allocations: 4 kB / 1.029 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/1.101, allocations: 4.031 kB / 1.029 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/1.101, allocations: 8 kB / 1.029 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/1.102, allocations: 4 kB / 1.029 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/1.102, allocations: 19.89 kB / 1.029 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/1.102, allocations: 4.141 kB / 1.029 GB, free: 10.58 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.0001095/1.102, allocations: 106.9 kB / 1.029 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/1.102, allocations: 19.75 kB / 1.029 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003459/1.102, allocations: 135.6 kB / 1.029 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/1.102, allocations: 0 / 1.029 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/1.102, allocations: 0 / 1.029 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1.102, allocations: 4 kB / 1.029 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/1.103, allocations: 211.6 kB / 1.03 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/1.103, allocations: 0 / 1.03 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.804e-05/1.103, allocations: 7.938 kB / 1.03 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/1.103, allocations: 4 kB / 1.03 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/1.103, allocations: 3.984 kB / 1.03 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.103, allocations: 0 / 1.03 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.103, allocations: 0 / 1.03 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/1.103, allocations: 150.7 kB / 1.03 GB, free: 9.953 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/1.103, allocations: 96.11 kB / 1.03 GB, free: 9.844 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.021e-05/1.103, allocations: 4 kB / 1.03 GB, free: 9.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/1.103, allocations: 7.984 kB / 1.03 GB, free: 9.832 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.359e-05/1.103, allocations: 11.11 kB / 1.03 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/1.103, allocations: 3.938 kB / 1.03 GB, free: 9.82 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002552/1.104, allocations: 190.8 kB / 1.03 GB, free: 9.668 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.91e-07/1.104, allocations: 4 kB / 1.03 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003954/1.104, allocations: 43.75 kB / 1.03 GB, free: 9.625 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.001123/1.105, allocations: 367.3 kB / 1.03 GB, free: 9.352 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002702/1.106, allocations: 76.83 kB / 1.03 GB, free: 9.293 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.106, allocations: 4 kB / 1.03 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.902e-05/1.106, allocations: 38.56 kB / 1.03 GB, free: 9.262 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/1.106, allocations: 40.55 kB / 1.031 GB, free: 9.23 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006344/1.107, allocations: 202.7 kB / 1.031 GB, free: 9.035 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004749/1.107, allocations: 0.7353 MB / 1.031 GB, free: 8.277 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001414/1.107, allocations: 33.48 kB / 1.031 GB, free: 8.246 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.768e-05/1.107, allocations: 18.88 kB / 1.031 GB, free: 8.23 MB / 0.6511 GB Notification: Performance of SimCode: time 8.62e-07/1.107, allocations: 0 / 1.031 GB, free: 8.23 MB / 0.6511 GB Notification: Performance of Templates: time 0.008722/1.116, allocations: 2.352 MB / 1.034 GB, free: 5.902 MB / 0.6511 GB