Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator") translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001572/0.001572, allocations: 108 kB / 15.61 MB, free: 152 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.001876/0.001876, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.389/1.389, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9356/0.9356, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 65.08 kB / 0.5053 GB, free: 5.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1794, allocations: 80.92 MB / 0.5844 GB, free: 4.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003656/0.1831, allocations: 1.759 MB / 0.5861 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.1852, allocations: 1.107 MB / 0.5872 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.1854, allocations: 0 / 0.5872 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003966/0.1858, allocations: 59.73 kB / 0.5872 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000342/0.1862, allocations: 75.67 kB / 0.5873 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007756/0.187, allocations: 225.6 kB / 0.5875 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002732/0.1872, allocations: 147.7 kB / 0.5876 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.1874, allocations: 29.09 kB / 0.5877 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.1875, allocations: 63.7 kB / 0.5877 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.1877, allocations: 67.69 kB / 0.5878 GB, free: 1.027 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.1877, allocations: 8 kB / 0.5878 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.1879, allocations: 59.97 kB / 0.5879 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.1881, allocations: 43.89 kB / 0.5879 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.428e-05/0.1882, allocations: 59.55 kB / 0.588 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003342/0.1885, allocations: 195.7 kB / 0.5881 GB, free: 0.668 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1885, allocations: 0 / 0.5881 GB, free: 0.668 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1885, allocations: 4 kB / 0.5882 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.1886, allocations: 0 / 0.5882 GB, free: 0.6641 MB / 494.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.000734/0.1893, allocations: 496.3 kB / 0.5886 GB, free: 128 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1893, allocations: 8.031 kB / 0.5886 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.892e-05/0.1894, allocations: 16.75 kB / 0.5886 GB, free: 104 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003929/0.1898, allocations: 252.8 kB / 0.5889 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.1898, allocations: 4.375 kB / 0.5889 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.1899, allocations: 12.11 kB / 0.5889 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.1901, allocations: 100.2 kB / 0.589 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1901, allocations: 0 / 0.589 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.1902, allocations: 3.938 kB / 0.589 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.1902, allocations: 7.938 kB / 0.589 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.1904, allocations: 27.98 kB / 0.589 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005092/0.1909, allocations: 356.6 kB / 0.5894 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.1911, allocations: 98.69 kB / 0.5895 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.687e-05/0.1912, allocations: 36.83 kB / 0.5895 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.1912, allocations: 0 / 0.5895 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002344/0.1915, allocations: 75.38 kB / 0.5896 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.1915, allocations: 4 kB / 0.5896 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0003986/0.1919, allocations: 141.4 kB / 0.5897 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.192, allocations: 102.8 kB / 0.5898 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.1922, allocations: 263 kB / 0.5901 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.1923, allocations: 29.7 kB / 0.5901 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.49e-05/0.1924, allocations: 120 kB / 0.5902 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.1924, allocations: 15.8 kB / 0.5902 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/0.1924, allocations: 29.7 kB / 0.5903 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1926, allocations: 334.8 kB / 0.5906 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.637e-05/0.1927, allocations: 27.98 kB / 0.5906 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.831e-05/0.1928, allocations: 64.27 kB / 0.5907 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.1929, allocations: 69.64 kB / 0.5907 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1929, allocations: 0 / 0.5907 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002342/0.1932, allocations: 117.4 kB / 0.5908 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.1932, allocations: 8 kB / 0.5908 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.1932, allocations: 0 / 0.5908 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.1933, allocations: 192 / 0.5908 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.1934, allocations: 12 kB / 0.5909 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1934, allocations: 4.328 kB / 0.5909 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.103e-05/0.1935, allocations: 19.86 kB / 0.5909 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.1935, allocations: 4 kB / 0.5909 GB, free: 13.59 MB / 0.4981 GB 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.0001408/0.1936, allocations: 146.5 kB / 0.591 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.1937, allocations: 15.81 kB / 0.591 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.022e-05/0.1937, allocations: 21.39 kB / 0.5911 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.1937, allocations: 3.938 kB / 0.5911 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1937, allocations: 0 / 0.5911 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.1938, allocations: 7.938 kB / 0.5911 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.194, allocations: 221.5 kB / 0.5913 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.194, allocations: 0 / 0.5913 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.412e-05/0.194, allocations: 11.94 kB / 0.5913 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.194, allocations: 0 / 0.5913 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.194, allocations: 11.98 kB / 0.5913 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.726e-06/0.1941, allocations: 3.984 kB / 0.5913 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1941, allocations: 0 / 0.5913 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.1943, allocations: 140.8 kB / 0.5914 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.776e-05/0.1944, allocations: 92.92 kB / 0.5915 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.1944, allocations: 4 kB / 0.5915 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.534e-05/0.1945, allocations: 4 kB / 0.5915 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.1946, allocations: 11.98 kB / 0.5916 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.1946, allocations: 11.94 kB / 0.5916 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001745/0.1948, allocations: 188.6 kB / 0.5917 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1948, allocations: 4 kB / 0.5917 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002572/0.195, allocations: 32 kB / 0.5918 GB, free: 12.57 MB / 0.4981 GB 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.001127/0.1962, allocations: 440.7 kB / 0.5922 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002326/0.1964, allocations: 67.97 kB / 0.5923 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1964, allocations: 4.062 kB / 0.5923 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.245e-05/0.1965, allocations: 43.91 kB / 0.5923 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.1968, allocations: 37.27 kB / 0.5923 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005682/0.1974, allocations: 298.8 kB / 0.5926 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.1977, allocations: 0.7162 MB / 0.5933 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.487e-05/0.1978, allocations: 29.38 kB / 0.5934 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.899e-05/0.1978, allocations: 27.42 kB / 0.5934 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.1979, allocations: 0 / 0.5934 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of Templates: time 0.005986/0.2038, allocations: 2.538 MB / 0.5959 GB, free: 8.551 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)