Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008951/0.0008951, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009275/0.0009276, allocations: 192 kB / 16.13 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.151/1.151, allocations: 205.1 MB / 222 MB, free: 4.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.318/1.318, allocations: 251.7 MB / 0.5088 GB, free: 3.293 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.91 kB / 0.6216 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3739, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002823/0.3767, allocations: 1.836 MB / 0.7256 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.3781, allocations: 1.027 MB / 0.7266 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.223e-05/0.3782, allocations: 0 / 0.7266 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.3785, allocations: 47.81 kB / 0.7266 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.3787, allocations: 71.73 kB / 0.7267 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000435/0.3791, allocations: 174.6 kB / 0.7269 GB, free: 9.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.3793, allocations: 131.6 kB / 0.727 GB, free: 9.852 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.022e-05/0.3794, allocations: 29.11 kB / 0.727 GB, free: 9.82 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.22e-05/0.3795, allocations: 59.64 kB / 0.7271 GB, free: 9.762 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.285e-05/0.3796, allocations: 63.75 kB / 0.7272 GB, free: 9.699 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.3796, allocations: 4 kB / 0.7272 GB, free: 9.695 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.3797, allocations: 59.97 kB / 0.7272 GB, free: 9.637 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.105e-05/0.3798, allocations: 43.77 kB / 0.7273 GB, free: 9.594 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.861e-05/0.3799, allocations: 51.61 kB / 0.7273 GB, free: 9.543 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.3801, allocations: 197.4 kB / 0.7275 GB, free: 9.352 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3801, allocations: 0 / 0.7275 GB, free: 9.352 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.92e-07/0.3801, allocations: 3.938 kB / 0.7275 GB, free: 9.348 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.3801, allocations: 0 / 0.7275 GB, free: 9.348 MB / 0.545 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.0005333/0.3806, allocations: 484.4 kB / 0.728 GB, free: 8.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.808e-05/0.3807, allocations: 12.03 kB / 0.728 GB, free: 8.809 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.627e-05/0.3807, allocations: 16.75 kB / 0.728 GB, free: 8.793 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.381, allocations: 260.7 kB / 0.7282 GB, free: 8.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.381, allocations: 4.375 kB / 0.7282 GB, free: 8.496 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.381, allocations: 8.125 kB / 0.7282 GB, free: 8.488 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.3812, allocations: 92.17 kB / 0.7283 GB, free: 8.383 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-06/0.3812, allocations: 0 / 0.7283 GB, free: 8.383 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.3812, allocations: 8 kB / 0.7283 GB, free: 8.375 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.3812, allocations: 4 kB / 0.7283 GB, free: 8.371 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.381e-05/0.3813, allocations: 31.97 kB / 0.7284 GB, free: 8.34 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.3818, allocations: 356.7 kB / 0.7287 GB, free: 7.941 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.382, allocations: 86.69 kB / 0.7288 GB, free: 7.848 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.698e-05/0.3821, allocations: 36.84 kB / 0.7288 GB, free: 7.809 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.3821, allocations: 3.938 kB / 0.7288 GB, free: 7.805 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.3823, allocations: 79.38 kB / 0.7289 GB, free: 7.715 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.3823, allocations: 0 / 0.7289 GB, free: 7.715 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0003133/0.3826, allocations: 145.4 kB / 0.7291 GB, free: 7.566 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.3826, allocations: 106.8 kB / 0.7292 GB, free: 7.438 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.3829, allocations: 262.9 kB / 0.7294 GB, free: 7.172 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.3829, allocations: 33.7 kB / 0.7294 GB, free: 7.133 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.209e-05/0.383, allocations: 112.1 kB / 0.7295 GB, free: 7.02 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.383, allocations: 23.73 kB / 0.7296 GB, free: 6.996 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.383, allocations: 21.72 kB / 0.7296 GB, free: 6.969 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.541e-05/0.3831, allocations: 334.8 kB / 0.7299 GB, free: 6.633 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.595e-05/0.3832, allocations: 27.98 kB / 0.7299 GB, free: 6.605 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.965e-05/0.3833, allocations: 76.16 kB / 0.73 GB, free: 6.516 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.3834, allocations: 69.69 kB / 0.7301 GB, free: 6.441 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3834, allocations: 0 / 0.7301 GB, free: 6.441 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001943/0.3836, allocations: 117.4 kB / 0.7302 GB, free: 6.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.3837, allocations: 5.875 kB / 0.7302 GB, free: 6.316 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.3837, allocations: 0 / 0.7302 GB, free: 6.316 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/0.3837, allocations: 0 / 0.7302 GB, free: 6.316 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.104e-05/0.3838, allocations: 20.02 kB / 0.7302 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.3838, allocations: 0 / 0.7302 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.902e-05/0.3838, allocations: 11.84 kB / 0.7302 GB, free: 6.285 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.3839, allocations: 4 kB / 0.7302 GB, free: 6.281 MB / 0.545 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 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.707e-05/0.384, allocations: 141.8 kB / 0.7304 GB, free: 6.133 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.384, allocations: 15.81 kB / 0.7304 GB, free: 6.117 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.838e-05/0.384, allocations: 21.78 kB / 0.7304 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.3841, allocations: 4 kB / 0.7304 GB, free: 6.09 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3841, allocations: 7.938 kB / 0.7304 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.3841, allocations: 3.938 kB / 0.7304 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.3842, allocations: 221.5 kB / 0.7306 GB, free: 5.812 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3842, allocations: 0 / 0.7306 GB, free: 5.812 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.936e-05/0.3843, allocations: 7.984 kB / 0.7306 GB, free: 5.805 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3843, allocations: 7.938 kB / 0.7306 GB, free: 5.797 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.3843, allocations: 0 / 0.7306 GB, free: 5.797 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3843, allocations: 0 / 0.7306 GB, free: 5.797 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3843, allocations: 0 / 0.7306 GB, free: 5.797 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.3845, allocations: 156.8 kB / 0.7308 GB, free: 5.625 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.3846, allocations: 88.92 kB / 0.7309 GB, free: 5.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.3846, allocations: 4 kB / 0.7309 GB, free: 5.516 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.049e-05/0.3847, allocations: 3.984 kB / 0.7309 GB, free: 5.512 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.3847, allocations: 11.98 kB / 0.7309 GB, free: 5.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.3847, allocations: 7.938 kB / 0.7309 GB, free: 5.492 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001474/0.3849, allocations: 200.3 kB / 0.7311 GB, free: 5.297 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3849, allocations: 0 / 0.7311 GB, free: 5.297 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002194/0.3851, allocations: 31.98 kB / 0.7311 GB, free: 5.266 MB / 0.545 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.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007958/0.3859, allocations: 435.3 kB / 0.7315 GB, free: 4.992 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000191/0.3861, allocations: 67.97 kB / 0.7316 GB, free: 4.926 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3861, allocations: 0 / 0.7316 GB, free: 4.926 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.23e-05/0.3862, allocations: 39.86 kB / 0.7316 GB, free: 4.887 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.3865, allocations: 35.95 kB / 0.7317 GB, free: 4.852 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004137/0.3869, allocations: 324.7 kB / 0.732 GB, free: 4.508 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.3871, allocations: 0.7282 MB / 0.7327 GB, free: 3.754 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.802e-05/0.3872, allocations: 21.38 kB / 0.7327 GB, free: 3.734 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/0.3872, allocations: 19.44 kB / 0.7327 GB, free: 3.715 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.3872, allocations: 0 / 0.7327 GB, free: 3.715 MB / 0.545 GB Notification: Performance of Templates: time 0.00442/0.3917, allocations: 2.448 MB / 0.7351 GB, free: 1.297 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)