Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator") translateModel(Annex60.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4184/0.4184, allocations: 55.02 MB / 69.97 MB, free: 8.672 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001577/0.001577, allocations: 191.5 kB / 83.98 MB, free: 10.84 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.669/1.669, allocations: 194.4 MB / 292.3 MB, free: 3.613 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001809/0.001809, allocations: 116.3 kB / 350.7 MB, free: 9.117 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003583, allocations: 12 kB / 418.9 MB, free: 37.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1285, allocations: 57.66 MB / 476.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.422/0.5505, allocations: 86.25 MB / 0.5496 GB, free: 3.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.5509, allocations: 77.27 kB / 0.5497 GB, free: 3.027 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006018/0.5569, allocations: 2.286 MB / 0.5519 GB, free: 1.055 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5569, allocations: 0 / 0.5519 GB, free: 1.055 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.557, allocations: 3.938 kB / 0.5519 GB, free: 1.051 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003911/0.5573, allocations: 404.2 kB / 0.5523 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.5574, allocations: 8.031 kB / 0.5523 GB, free: 0.6016 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.5574, allocations: 7.906 kB / 0.5523 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.5576, allocations: 186.5 kB / 0.5525 GB, free: 384 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.5576, allocations: 0 / 0.5525 GB, free: 384 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.5577, allocations: 8 kB / 0.5525 GB, free: 376 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.5578, allocations: 68.17 kB / 0.5525 GB, free: 308 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.5578, allocations: 0 / 0.5525 GB, free: 308 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.5578, allocations: 4 kB / 0.5525 GB, free: 304 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.5579, allocations: 0 / 0.5525 GB, free: 304 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.714e-05/0.5579, allocations: 31.05 kB / 0.5526 GB, free: 280 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003487/0.5583, allocations: 276.4 kB / 0.5528 GB, free: 15.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.5584, allocations: 72.58 kB / 0.5529 GB, free: 15.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.5584, allocations: 0 / 0.5529 GB, free: 15.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.5586, allocations: 78.23 kB / 0.553 GB, free: 15.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.532e-06/0.5586, allocations: 4 kB / 0.553 GB, free: 15.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003623/0.559, allocations: 231.4 kB / 0.5532 GB, free: 15.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.5591, allocations: 58.95 kB / 0.5533 GB, free: 15.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.5592, allocations: 120.2 kB / 0.5534 GB, free: 15.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.5592, allocations: 29.64 kB / 0.5534 GB, free: 15.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.5593, allocations: 87.89 kB / 0.5535 GB, free: 15.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.5593, allocations: 14.11 kB / 0.5535 GB, free: 15.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/0.5593, allocations: 4 kB / 0.5535 GB, free: 15.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.5594, allocations: 313.9 kB / 0.5538 GB, free: 14.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.553e-05/0.5595, allocations: 26.3 kB / 0.5538 GB, free: 14.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.45e-05/0.5595, allocations: 30.98 kB / 0.5539 GB, free: 14.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.698e-05/0.5596, allocations: 60.28 kB / 0.5539 GB, free: 14.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.5596, allocations: 4 kB / 0.5539 GB, free: 14.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001961/0.5598, allocations: 160.9 kB / 0.5541 GB, free: 14.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.435e-05/0.5599, allocations: 41 kB / 0.5541 GB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5599, allocations: 0 / 0.5541 GB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.5599, allocations: 0 / 0.5541 GB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.474e-05/0.5599, allocations: 0 / 0.5541 GB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.5599, allocations: 0 / 0.5541 GB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.431e-05/0.56, allocations: 4 kB / 0.5541 GB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.56, allocations: 4 kB / 0.5541 GB, free: 14.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.intTab.y,intTab.y,$PRE.intTab.nextTime,intTab.nextTime,$PRE.intTab.index,intTab.index,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 (6): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 1 * 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 9.929e-05/0.5601, allocations: 132.9 kB / 0.5542 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.5601, allocations: 11.86 kB / 0.5543 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.348e-05/0.5602, allocations: 7.562 kB / 0.5543 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.5602, allocations: 7.938 kB / 0.5543 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.5602, allocations: 0 / 0.5543 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5602, allocations: 0 / 0.5543 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.5603, allocations: 171.8 kB / 0.5544 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.5604, allocations: 0 / 0.5544 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-06/0.5604, allocations: 0 / 0.5544 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.5604, allocations: 0 / 0.5544 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.5604, allocations: 11.95 kB / 0.5544 GB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5604, allocations: 0 / 0.5544 GB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.5604, allocations: 0 / 0.5544 GB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.5606, allocations: 144.9 kB / 0.5546 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.509e-05/0.5607, allocations: 81.02 kB / 0.5547 GB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.5607, allocations: 4.438 kB / 0.5547 GB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.471e-05/0.5608, allocations: 3.953 kB / 0.5547 GB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.5608, allocations: 11.92 kB / 0.5547 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.5608, allocations: 15.12 kB / 0.5547 GB, free: 13.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.204e-05/0.5609, allocations: 102.4 kB / 0.5548 GB, free: 13.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5609, allocations: 0 / 0.5548 GB, free: 13.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00022/0.5611, allocations: 31.19 kB / 0.5548 GB, free: 13.86 MB / 378.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.y,intTab.nextTime,intTab.index,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.nextTime,intTab.index) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002037/0.5613, allocations: 123.2 kB / 0.5549 GB, free: 13.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002136/0.5616, allocations: 118.4 kB / 0.5551 GB, free: 13.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5616, allocations: 0 / 0.5551 GB, free: 13.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.662e-05/0.5617, allocations: 42.48 kB / 0.5551 GB, free: 13.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.802e-05/0.5618, allocations: 9.266 kB / 0.5551 GB, free: 13.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003581/0.5621, allocations: 170.9 kB / 0.5553 GB, free: 13.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.5625, allocations: 0.6961 MB / 0.5559 GB, free: 12.67 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.016e-05/0.5625, allocations: 8.234 kB / 0.556 GB, free: 12.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.563e-05/0.5625, allocations: 7.438 kB / 0.556 GB, free: 12.66 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5625, allocations: 4 kB / 0.556 GB, free: 12.65 MB / 378.7 MB Notification: Performance of Templates: time 0.002967/0.5655, allocations: 0.8381 MB / 0.5568 GB, free: 11.82 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)