Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator") translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0008238/0.0008238, allocations: 96.94 kB / 15.36 MB, free: 0.7344 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.005646/0.005646, allocations: 168.8 kB / 16.26 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7837/0.7837, allocations: 132.3 MB / 423.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003462/0.0003462, allocations: 13.03 kB / 0.504 GB, free: 3.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4836/0.4839, allocations: 81.58 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002304/0.4863, allocations: 1.484 MB / 0.5851 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.4881, allocations: 1.065 MB / 0.5862 GB, free: 2.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.4882, allocations: 0.5625 kB / 0.5862 GB, free: 2.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00034/0.4886, allocations: 59.92 kB / 0.5862 GB, free: 2.207 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002706/0.4888, allocations: 67.48 kB / 0.5863 GB, free: 2.176 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007376/0.4896, allocations: 195.3 kB / 0.5865 GB, free: 2.078 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002608/0.4899, allocations: 135.7 kB / 0.5866 GB, free: 2.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.49, allocations: 17.78 kB / 0.5866 GB, free: 2.012 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.4902, allocations: 56.27 kB / 0.5867 GB, free: 1.988 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.4903, allocations: 58.33 kB / 0.5867 GB, free: 1.969 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.4904, allocations: 7.469 kB / 0.5867 GB, free: 1.965 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002153/0.4906, allocations: 64.22 kB / 0.5868 GB, free: 1.941 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.4907, allocations: 34.83 kB / 0.5868 GB, free: 1.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.743e-05/0.4908, allocations: 80.2 kB / 0.5869 GB, free: 1.859 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004135/0.4912, allocations: 184.8 kB / 0.5871 GB, free: 1.801 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4912, allocations: 4.938 kB / 0.5871 GB, free: 1.797 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4913, allocations: 0 / 0.5871 GB, free: 1.797 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.4913, allocations: 3.938 kB / 0.5871 GB, free: 1.793 MB / 430.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.0008178/0.4921, allocations: 463.8 kB / 0.5875 GB, free: 1.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.4922, allocations: 13.16 kB / 0.5875 GB, free: 1.336 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.363e-05/0.4922, allocations: 21.94 kB / 0.5876 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.4926, allocations: 249.1 kB / 0.5878 GB, free: 1.086 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.4926, allocations: 3.656 kB / 0.5878 GB, free: 1.086 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.4926, allocations: 11.3 kB / 0.5878 GB, free: 1.078 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.4929, allocations: 96.8 kB / 0.5879 GB, free: 1.004 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.4929, allocations: 1.219 kB / 0.5879 GB, free: 1.004 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.4929, allocations: 4.734 kB / 0.5879 GB, free: 1 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.493, allocations: 7.25 kB / 0.5879 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.4931, allocations: 33.89 kB / 0.5879 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005814/0.4937, allocations: 355.9 kB / 0.5883 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.4939, allocations: 84.69 kB / 0.5884 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.259e-05/0.494, allocations: 39.36 kB / 0.5884 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.4941, allocations: 1.938 kB / 0.5884 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002364/0.4943, allocations: 78.44 kB / 0.5885 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 2.405e-06/0.4943, allocations: 1.094 kB / 0.5885 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004066/0.4947, allocations: 141.2 kB / 0.5886 GB, free: 488 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.4948, allocations: 104.7 kB / 0.5887 GB, free: 360 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.4951, allocations: 266.3 kB / 0.589 GB, free: 204 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.4951, allocations: 31.95 kB / 0.589 GB, free: 168 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.32e-05/0.4952, allocations: 112.2 kB / 0.5891 GB, free: 64 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.4952, allocations: 29.23 kB / 0.5891 GB, free: 40 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.4953, allocations: 17.41 kB / 0.5892 GB, free: 20 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.4954, allocations: 329.9 kB / 0.5895 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.091e-05/0.4955, allocations: 25.48 kB / 0.5895 GB, free: 15.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.4957, allocations: 75.59 kB / 0.5896 GB, free: 15.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.4958, allocations: 67.17 kB / 0.5896 GB, free: 15.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4958, allocations: 1.375 kB / 0.5896 GB, free: 15.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002589/0.4961, allocations: 120.4 kB / 0.5897 GB, free: 15.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.4961, allocations: 11.31 kB / 0.5898 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.4962, allocations: 1.312 kB / 0.5898 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.4962, allocations: 1.469 kB / 0.5898 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.4963, allocations: 15.94 kB / 0.5898 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.4963, allocations: 1.672 kB / 0.5898 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.305e-05/0.4964, allocations: 9.156 kB / 0.5898 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.4964, allocations: 7.312 kB / 0.5898 GB, free: 15.51 MB / 446.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.0001741/0.4966, allocations: 145.2 kB / 0.5899 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/0.4966, allocations: 16.03 kB / 0.5899 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.278e-05/0.4967, allocations: 22.11 kB / 0.59 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.4967, allocations: 2.641 kB / 0.59 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.4968, allocations: 5.062 kB / 0.59 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.4968, allocations: 4.594 kB / 0.59 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.497, allocations: 222.5 kB / 0.5902 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.4971, allocations: 0.8438 kB / 0.5902 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.311e-05/0.4971, allocations: 10.38 kB / 0.5902 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.4971, allocations: 0.5156 kB / 0.5902 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.4971, allocations: 6.078 kB / 0.5902 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.4971, allocations: 1.375 kB / 0.5902 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.4972, allocations: 0.6562 kB / 0.5902 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.4975, allocations: 146.2 kB / 0.5903 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.679e-05/0.4976, allocations: 93.94 kB / 0.5904 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.909e-05/0.4976, allocations: 6.047 kB / 0.5904 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.301e-05/0.4977, allocations: 3.969 kB / 0.5904 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.942e-05/0.4978, allocations: 11.5 kB / 0.5905 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.4978, allocations: 7.406 kB / 0.5905 GB, free: 14.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003048/0.4981, allocations: 199.5 kB / 0.5907 GB, free: 14.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4981, allocations: 0 / 0.5907 GB, free: 14.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003424/0.4985, allocations: 36.75 kB / 0.5907 GB, free: 14.79 MB / 446.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.001373/0.4999, allocations: 428.2 kB / 0.5911 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002903/0.5002, allocations: 63.95 kB / 0.5912 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.5002, allocations: 5.188 kB / 0.5912 GB, free: 14.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.5003, allocations: 37.64 kB / 0.5912 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.5007, allocations: 35.41 kB / 0.5912 GB, free: 14.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007332/0.5014, allocations: 329.8 kB / 0.5916 GB, free: 14.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.5017, allocations: 0.7216 MB / 0.5923 GB, free: 13.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.997e-05/0.5018, allocations: 23.77 kB / 0.5923 GB, free: 13.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.159e-05/0.5019, allocations: 19.64 kB / 0.5923 GB, free: 13.65 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.5019, allocations: 0 / 0.5923 GB, free: 13.65 MB / 446.1 MB Notification: Performance of Templates: time 0.00758/0.5095, allocations: 2.408 MB / 0.5946 GB, free: 13.42 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)