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.001505/0.001505, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 197.3 kB / 16.54 MB, free: 6.672 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.652/1.652, allocations: 205.1 MB / 222.4 MB, free: 4.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4199/0.4199, allocations: 54.95 MB / 324.7 MB, free: 15.96 MB / 270.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.001514/0.001514, allocations: 63.91 kB / 395.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1415, allocations: 59.61 MB / 454.9 MB, free: 140 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.IntegerReplicator): time 0.2261/0.3676, allocations: 1.723 MB / 456.7 MB, free: 38.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.3692, allocations: 1.018 MB / 457.7 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.02e-05/0.3693, allocations: 2.625 kB / 457.7 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.3696, allocations: 58.38 kB / 457.7 MB, free: 38.56 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.3699, allocations: 75.66 kB / 457.8 MB, free: 38.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004648/0.3703, allocations: 199.8 kB / 458 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.3705, allocations: 140.7 kB / 458.1 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.3706, allocations: 22.61 kB / 458.2 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.837e-05/0.3707, allocations: 65.84 kB / 458.2 MB, free: 38.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.638e-05/0.3708, allocations: 59.16 kB / 458.3 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.3708, allocations: 8.75 kB / 458.3 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.371, allocations: 71.55 kB / 458.4 MB, free: 38.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.512e-05/0.371, allocations: 37.38 kB / 458.4 MB, free: 38.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.811e-05/0.3711, allocations: 59.78 kB / 458.5 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.3714, allocations: 205.3 kB / 458.7 MB, free: 38.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3714, allocations: 0 / 458.7 MB, free: 38.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3714, allocations: 1.125 kB / 458.7 MB, free: 38.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3714, allocations: 3.562 kB / 458.7 MB, free: 38.4 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.0006323/0.372, allocations: 487.2 kB / 459.1 MB, free: 37.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.3721, allocations: 9.188 kB / 459.1 MB, free: 37.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.486e-05/0.3721, allocations: 16.5 kB / 459.2 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.3724, allocations: 251.3 kB / 459.4 MB, free: 37.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.3724, allocations: 10.98 kB / 459.4 MB, free: 37.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.3724, allocations: 6.719 kB / 459.4 MB, free: 37.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.3726, allocations: 102.5 kB / 459.5 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.3727, allocations: 0.7188 kB / 459.5 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.3727, allocations: 0 / 459.5 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.3727, allocations: 3.812 kB / 459.5 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.3728, allocations: 41.78 kB / 459.6 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004777/0.3733, allocations: 349.3 kB / 459.9 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.3735, allocations: 91.8 kB / 460 MB, free: 37.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.328e-05/0.3736, allocations: 31.58 kB / 460 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.3736, allocations: 0.5938 kB / 460 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002146/0.3738, allocations: 83.44 kB / 460.1 MB, free: 37.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.3739, allocations: 3 kB / 460.1 MB, free: 37.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003222/0.3742, allocations: 143.6 kB / 460.3 MB, free: 37.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.3742, allocations: 107.9 kB / 460.4 MB, free: 37.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.3744, allocations: 261.6 kB / 460.6 MB, free: 37.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.3744, allocations: 25.7 kB / 460.6 MB, free: 37.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.3745, allocations: 117.8 kB / 460.8 MB, free: 36.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.3745, allocations: 18.5 kB / 460.8 MB, free: 36.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.3746, allocations: 30.77 kB / 460.8 MB, free: 36.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.666e-05/0.3746, allocations: 330.8 kB / 461.1 MB, free: 36.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.46e-05/0.3747, allocations: 23.78 kB / 461.2 MB, free: 36.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.039e-05/0.3748, allocations: 74.89 kB / 461.2 MB, free: 36.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.3749, allocations: 73.02 kB / 461.3 MB, free: 36.53 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3749, allocations: 0 / 461.3 MB, free: 36.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000182/0.3751, allocations: 116.9 kB / 461.4 MB, free: 36.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3752, allocations: 5.094 kB / 461.4 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3752, allocations: 3.406 kB / 461.4 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3752, allocations: 0 / 461.4 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.273e-05/0.3753, allocations: 18.48 kB / 461.4 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3753, allocations: 3.938 kB / 461.4 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.018e-05/0.3754, allocations: 6.844 kB / 461.4 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.3754, allocations: 6.969 kB / 461.5 MB, free: 36.48 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 9.676e-05/0.3755, allocations: 143.5 kB / 461.6 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.3755, allocations: 17.06 kB / 461.6 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.244e-05/0.3756, allocations: 16.03 kB / 461.6 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.3756, allocations: 2.969 kB / 461.6 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3756, allocations: 7.312 kB / 461.6 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.3756, allocations: 4.875 kB / 461.6 MB, free: 36.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.3757, allocations: 225.6 kB / 461.9 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3758, allocations: 0 / 461.9 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.914e-05/0.3758, allocations: 9.172 kB / 461.9 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3758, allocations: 2.312 kB / 461.9 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.3758, allocations: 0 / 461.9 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3758, allocations: 2.812 kB / 461.9 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3758, allocations: 3.938 kB / 461.9 MB, free: 36.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.3761, allocations: 143.9 kB / 462 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.3761, allocations: 91.83 kB / 462.1 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.3762, allocations: 9.219 kB / 462.1 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.362e-05/0.3762, allocations: 0.9688 kB / 462.1 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.3763, allocations: 14.06 kB / 462.1 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.3763, allocations: 2.781 kB / 462.1 MB, free: 35.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.3764, allocations: 207 kB / 462.3 MB, free: 35.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3765, allocations: 0 / 462.3 MB, free: 35.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.3767, allocations: 28.5 kB / 462.4 MB, free: 35.89 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.001044/0.3778, allocations: 429.5 kB / 462.8 MB, free: 35.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002401/0.378, allocations: 77.33 kB / 462.9 MB, free: 35.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.378, allocations: 0 / 462.9 MB, free: 35.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.962e-05/0.3781, allocations: 38.38 kB / 462.9 MB, free: 35.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.3784, allocations: 45.8 kB / 462.9 MB, free: 35.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005114/0.379, allocations: 293.6 kB / 463.2 MB, free: 35.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.3791, allocations: 0.7215 MB / 464 MB, free: 34.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.635e-05/0.3792, allocations: 26.62 kB / 464 MB, free: 34.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.3793, allocations: 23.89 kB / 464 MB, free: 34.9 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3793, allocations: 2.156 kB / 464 MB, free: 34.9 MB / 382.1 MB Notification: Performance of Templates: time 0.005856/0.3851, allocations: 2.531 MB / 466.5 MB, free: 34.73 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)