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.2775/0.2775, allocations: 54.33 MB / 66.89 MB, free: 6.094 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.001074/0.001074, allocations: 181.2 kB / 80.71 MB, free: 15.39 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.411/1.411, allocations: 194.2 MB / 288.6 MB, free: 14.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001594/0.001594, allocations: 124.4 kB / 346.9 MB, free: 4.723 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.61e-05/3.613e-05, allocations: 4 kB / 412.4 MB, free: 21.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1089, allocations: 57.64 MB / 470 MB, free: 11.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3819/0.4909, allocations: 86.16 MB / 0.5432 GB, free: 4.254 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.4912, allocations: 71.95 kB / 0.5432 GB, free: 4.184 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006649/0.4979, allocations: 2.263 MB / 0.5454 GB, free: 1.934 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4979, allocations: 11.94 kB / 0.5454 GB, free: 1.922 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.4979, allocations: 0 / 0.5454 GB, free: 1.922 MB / 378.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.0004551/0.4984, allocations: 384.7 kB / 0.5458 GB, free: 1.496 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.4984, allocations: 8.031 kB / 0.5458 GB, free: 1.488 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.4985, allocations: 7.906 kB / 0.5458 GB, free: 1.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.4987, allocations: 183 kB / 0.546 GB, free: 1.262 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.4987, allocations: 4 kB / 0.546 GB, free: 1.258 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.4988, allocations: 3.984 kB / 0.546 GB, free: 1.254 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.4989, allocations: 76.38 kB / 0.5461 GB, free: 1.176 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.499, allocations: 0 / 0.5461 GB, free: 1.176 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.499, allocations: 0 / 0.5461 GB, free: 1.176 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.499, allocations: 0 / 0.5461 GB, free: 1.176 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.365e-05/0.4991, allocations: 35.92 kB / 0.5461 GB, free: 1.141 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004389/0.4995, allocations: 269 kB / 0.5464 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.4997, allocations: 62.52 kB / 0.5464 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.58e-05/0.4997, allocations: 32.92 kB / 0.5465 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.4997, allocations: 0 / 0.5465 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.4999, allocations: 83.36 kB / 0.5465 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.4999, allocations: 0 / 0.5465 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002638/0.5002, allocations: 109.6 kB / 0.5467 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.5002, allocations: 55.41 kB / 0.5467 GB, free: 460 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.5004, allocations: 113.5 kB / 0.5468 GB, free: 336 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.5004, allocations: 37.69 kB / 0.5468 GB, free: 292 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/0.5005, allocations: 88.14 kB / 0.5469 GB, free: 200 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.5005, allocations: 15.84 kB / 0.5469 GB, free: 184 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.5005, allocations: 3.938 kB / 0.547 GB, free: 180 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.5007, allocations: 322.8 kB / 0.5473 GB, free: 15.85 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.705e-05/0.5007, allocations: 24 kB / 0.5473 GB, free: 15.83 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.312e-05/0.5008, allocations: 31.92 kB / 0.5473 GB, free: 15.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.198e-05/0.5009, allocations: 57.69 kB / 0.5474 GB, free: 15.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5009, allocations: 0 / 0.5474 GB, free: 15.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002029/0.5011, allocations: 159.2 kB / 0.5475 GB, free: 15.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/0.5011, allocations: 39.72 kB / 0.5476 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5011, allocations: 3.938 kB / 0.5476 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.5012, allocations: 0 / 0.5476 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.318e-05/0.5012, allocations: 0 / 0.5476 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.5012, allocations: 0 / 0.5476 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.239e-05/0.5012, allocations: 4 kB / 0.5476 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.5013, allocations: 8.188 kB / 0.5476 GB, free: 15.51 MB / 394.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 () * 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 7.552e-05/0.5013, allocations: 109.7 kB / 0.5477 GB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.5014, allocations: 15.84 kB / 0.5477 GB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.549e-05/0.5014, allocations: 12.62 kB / 0.5477 GB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.5014, allocations: 4 kB / 0.5477 GB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.5014, allocations: 0 / 0.5477 GB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.5014, allocations: 0 / 0.5477 GB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.5016, allocations: 165.7 kB / 0.5479 GB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5016, allocations: 0 / 0.5479 GB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.769e-05/0.5016, allocations: 7.969 kB / 0.5479 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.5016, allocations: 3.938 kB / 0.5479 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.5016, allocations: 7.953 kB / 0.5479 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.5016, allocations: 4 kB / 0.5479 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.5017, allocations: 96 / 0.5479 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.5018, allocations: 145 kB / 0.548 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-05/0.5019, allocations: 88.95 kB / 0.5481 GB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.5019, allocations: 0 / 0.5481 GB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.012e-05/0.502, allocations: 11.94 kB / 0.5481 GB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.502, allocations: 0 / 0.5481 GB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.502, allocations: 11.98 kB / 0.5481 GB, free: 14.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.264e-05/0.5021, allocations: 91.28 kB / 0.5482 GB, free: 14.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5021, allocations: 4 kB / 0.5482 GB, free: 14.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002054/0.5023, allocations: 31.98 kB / 0.5483 GB, free: 14.71 MB / 394.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) * 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.0002106/0.5025, allocations: 119.2 kB / 0.5484 GB, free: 14.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000175/0.5027, allocations: 123.3 kB / 0.5485 GB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.5027, allocations: 3.938 kB / 0.5485 GB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.621e-05/0.5028, allocations: 39.98 kB / 0.5485 GB, free: 14.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.722e-05/0.5029, allocations: 0 / 0.5485 GB, free: 14.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.5032, allocations: 117.1 kB / 0.5486 GB, free: 14.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.5035, allocations: 0.6887 MB / 0.5493 GB, free: 13.56 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.193e-05/0.5036, allocations: 4.703 kB / 0.5493 GB, free: 13.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.571e-05/0.5036, allocations: 7.438 kB / 0.5493 GB, free: 13.55 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5036, allocations: 0 / 0.5493 GB, free: 13.55 MB / 394.7 MB Notification: Performance of Templates: time 0.003035/0.5066, allocations: 0.8569 MB / 0.5502 GB, free: 12.69 MB / 394.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)