Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.226/5.226, allocations: 0.5623 GB / 0.5775 GB, free: 3.355 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00254/0.00254, allocations: 351.6 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.656/4.656, allocations: 410.7 MB / 1.113 GB, free: 5.969 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002911/0.002911, allocations: 180.2 kB / 1.226 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006566/0.0006569, allocations: 12 kB / 1.349 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7919/0.7926, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2577/1.05, allocations: 141.8 MB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003623/1.051, allocations: 79.95 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.032/1.083, allocations: 5.41 MB / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.625e-06/1.083, allocations: 0 / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.998e-05/1.083, allocations: 4 kB / 1.605 GB, free: 136.9 MB / 0.8542 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.001027/1.084, allocations: 497.3 kB / 1.606 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/1.084, allocations: 13.09 kB / 1.606 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/1.084, allocations: 15.81 kB / 1.606 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006154/1.085, allocations: 259.7 kB / 1.606 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/1.085, allocations: 0.5 kB / 1.606 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/1.085, allocations: 11.98 kB / 1.606 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003598/1.085, allocations: 94.61 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/1.085, allocations: 0 / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/1.085, allocations: 3.938 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.509e-05/1.085, allocations: 5.031 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002247/1.086, allocations: 39.97 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009044/1.087, allocations: 385.7 kB / 1.606 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004502/1.087, allocations: 88.3 kB / 1.607 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/1.087, allocations: 37.48 kB / 1.607 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/1.087, allocations: 4.875 kB / 1.607 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003069/1.088, allocations: 84.41 kB / 1.607 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 4.148e-06/1.088, allocations: 0 / 1.607 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.000767/1.089, allocations: 142.4 kB / 1.607 GB, free: 135.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/1.089, allocations: 110.8 kB / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005197/1.089, allocations: 258.2 kB / 1.607 GB, free: 134.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.825e-05/1.089, allocations: 30.3 kB / 1.607 GB, free: 134.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/1.089, allocations: 124.6 kB / 1.607 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.91e-05/1.089, allocations: 15.81 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/1.089, allocations: 1 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.926e-05/1.09, allocations: 326.8 kB / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/1.09, allocations: 32.59 kB / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/1.09, allocations: 74.05 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/1.09, allocations: 29 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/1.09, allocations: 0 / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005161/1.091, allocations: 119.3 kB / 1.608 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/1.091, allocations: 4 kB / 1.608 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/1.091, allocations: 0 / 1.608 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/1.091, allocations: 4 kB / 1.608 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/1.091, allocations: 13.67 kB / 1.608 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/1.091, allocations: 3.953 kB / 1.608 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/1.091, allocations: 15.92 kB / 1.608 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/1.091, allocations: 4 kB / 1.608 GB, free: 133.9 MB / 0.8542 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.0002638/1.092, allocations: 151 kB / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.922e-05/1.092, allocations: 16.66 kB / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006241/1.092, allocations: 127.7 kB / 1.608 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-05/1.092, allocations: 3.938 kB / 1.608 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/1.092, allocations: 4.016 kB / 1.608 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/1.092, allocations: 3.953 kB / 1.608 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003664/1.093, allocations: 241.4 kB / 1.608 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/1.093, allocations: 1.312 kB / 1.608 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/1.093, allocations: 8 kB / 1.608 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/1.093, allocations: 0 / 1.608 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/1.093, allocations: 2.844 kB / 1.608 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-06/1.093, allocations: 4 kB / 1.608 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.093, allocations: 0 / 1.608 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005228/1.094, allocations: 152.8 kB / 1.609 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/1.094, allocations: 104.9 kB / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.091e-05/1.094, allocations: 1.219 kB / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/1.094, allocations: 7.984 kB / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.162e-05/1.094, allocations: 11.98 kB / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/1.094, allocations: 1 kB / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003764/1.095, allocations: 202.1 kB / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.71e-07/1.095, allocations: 0.9688 kB / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006295/1.095, allocations: 51.88 kB / 1.609 GB, free: 132.7 MB / 0.8542 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.001871/1.097, allocations: 436.2 kB / 1.609 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005831/1.098, allocations: 89.22 kB / 1.609 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.098, allocations: 0 / 1.609 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002097/1.098, allocations: 47.86 kB / 1.61 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006659/1.099, allocations: 35.22 kB / 1.61 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009874/1.1, allocations: 318.8 kB / 1.61 GB, free: 132 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/1.1, allocations: 0.729 MB / 1.611 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001994/1.1, allocations: 28.44 kB / 1.611 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/1.1, allocations: 15.44 kB / 1.611 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.273e-06/1.1, allocations: 0 / 1.611 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.0115/1.112, allocations: 2.503 MB / 1.613 GB, free: 128.9 MB / 0.8542 GB