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/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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001561/0.001561, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.577/1.577, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3891/0.3891, allocations: 54.92 MB / 324.4 MB, free: 104 kB / 254.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: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001368, allocations: 67.91 kB / 394.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1422, allocations: 59.59 MB / 454.5 MB, free: 456 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.IntegerReplicator): time 0.231/0.3732, allocations: 1.791 MB / 456.3 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.3751, allocations: 1.002 MB / 457.3 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.3752, allocations: 0.6562 kB / 457.3 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004347/0.3758, allocations: 51.27 kB / 457.3 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.3761, allocations: 72.34 kB / 457.4 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005349/0.3766, allocations: 180.3 kB / 457.6 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.3768, allocations: 146.5 kB / 457.7 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.3769, allocations: 21.25 kB / 457.7 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.551e-05/0.377, allocations: 67.62 kB / 457.8 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.976e-05/0.3771, allocations: 69.77 kB / 457.9 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.3772, allocations: 6.719 kB / 457.9 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.3773, allocations: 73.53 kB / 458 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.794e-05/0.3774, allocations: 37.39 kB / 458 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.536e-05/0.3775, allocations: 57.88 kB / 458.1 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.3777, allocations: 199.6 kB / 458.2 MB, free: 38.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3778, allocations: 2.562 kB / 458.2 MB, free: 38.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3778, allocations: 3.375 kB / 458.3 MB, free: 38.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.3778, allocations: 0 / 458.3 MB, free: 38.23 MB / 382.1 MB 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.0006004/0.3784, allocations: 488.4 kB / 458.7 MB, free: 37.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3784, allocations: 10.72 kB / 458.7 MB, free: 37.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.461e-05/0.3785, allocations: 16.53 kB / 458.8 MB, free: 37.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.3788, allocations: 257.6 kB / 459 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.3788, allocations: 5.375 kB / 459 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.3788, allocations: 8.281 kB / 459 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.3791, allocations: 101.4 kB / 459.1 MB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.3791, allocations: 0 / 459.1 MB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.3791, allocations: 6.047 kB / 459.1 MB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.06e-05/0.3792, allocations: 3 kB / 459.1 MB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.3794, allocations: 34.59 kB / 459.2 MB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006682/0.38, allocations: 352.7 kB / 459.5 MB, free: 37.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.3803, allocations: 92.2 kB / 459.6 MB, free: 37.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.253e-05/0.3804, allocations: 27.72 kB / 459.6 MB, free: 37.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.3804, allocations: 3.469 kB / 459.6 MB, free: 37.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002115/0.3806, allocations: 80.11 kB / 459.7 MB, free: 37.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.3807, allocations: 0 / 459.7 MB, free: 37.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003949/0.3811, allocations: 143.7 kB / 459.8 MB, free: 37.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.3811, allocations: 109.8 kB / 460 MB, free: 36.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.3813, allocations: 270.1 kB / 460.2 MB, free: 36.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.3814, allocations: 26.52 kB / 460.2 MB, free: 36.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.3814, allocations: 110.8 kB / 460.4 MB, free: 36.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.3815, allocations: 25.42 kB / 460.4 MB, free: 36.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.3815, allocations: 25.88 kB / 460.4 MB, free: 36.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.604e-05/0.3816, allocations: 330.4 kB / 460.7 MB, free: 36.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.204e-05/0.3816, allocations: 22.69 kB / 460.7 MB, free: 36.42 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.656e-05/0.3817, allocations: 72.47 kB / 460.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.3819, allocations: 70.41 kB / 460.9 MB, free: 36.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3819, allocations: 0 / 460.9 MB, free: 36.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002004/0.3821, allocations: 113.2 kB / 461 MB, free: 36.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3821, allocations: 10.14 kB / 461 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.3821, allocations: 0 / 461 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.3822, allocations: 5.078 kB / 461 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.431e-05/0.3823, allocations: 12.38 kB / 461 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3823, allocations: 6.656 kB / 461 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.31e-05/0.3823, allocations: 11.67 kB / 461 MB, free: 36.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.3824, allocations: 4.281 kB / 461 MB, free: 36.31 MB / 382.1 MB 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 0.000108/0.3825, allocations: 141.3 kB / 461.2 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.3825, allocations: 21.16 kB / 461.2 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.51e-05/0.3826, allocations: 18.67 kB / 461.2 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.3826, allocations: 4.625 kB / 461.2 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3826, allocations: 3.938 kB / 461.2 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3826, allocations: 0 / 461.2 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.3827, allocations: 229.3 kB / 461.5 MB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3827, allocations: 0 / 461.5 MB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.655e-05/0.3828, allocations: 6.531 kB / 461.5 MB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3828, allocations: 0 / 461.5 MB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.3828, allocations: 2.531 kB / 461.5 MB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.3828, allocations: 3.922 kB / 461.5 MB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3828, allocations: 6.328 kB / 461.5 MB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.383, allocations: 142.5 kB / 461.6 MB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.3831, allocations: 95.7 kB / 461.7 MB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.3831, allocations: 4.844 kB / 461.7 MB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.197e-05/0.3832, allocations: 3.844 kB / 461.7 MB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.3832, allocations: 13.38 kB / 461.7 MB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.3832, allocations: 6.75 kB / 461.7 MB, free: 35.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000126/0.3834, allocations: 205.8 kB / 461.9 MB, free: 35.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3834, allocations: 0 / 461.9 MB, free: 35.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.3836, allocations: 27.75 kB / 462 MB, free: 35.73 MB / 382.1 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.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.0009413/0.3846, allocations: 437.1 kB / 462.4 MB, free: 35.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002255/0.3848, allocations: 76.3 kB / 462.5 MB, free: 35.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3848, allocations: 0 / 462.5 MB, free: 35.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.338e-05/0.3849, allocations: 37.77 kB / 462.5 MB, free: 35.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.3853, allocations: 38.14 kB / 462.5 MB, free: 35.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005548/0.3858, allocations: 330.5 kB / 462.9 MB, free: 35.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.386, allocations: 0.7182 MB / 463.6 MB, free: 34.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.154e-05/0.3861, allocations: 26.23 kB / 463.6 MB, free: 34.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.635e-05/0.3862, allocations: 26.25 kB / 463.6 MB, free: 34.7 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3862, allocations: 0 / 463.6 MB, free: 34.7 MB / 382.1 MB Notification: Performance of Templates: time 0.004913/0.3911, allocations: 2.504 MB / 466.1 MB, free: 34.54 MB / 382.1 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)