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.001448/0.001447, allocations: 105.5 kB / 15.99 MB, free: 5.891 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.001513/0.001513, allocations: 193.2 kB / 16.91 MB, free: 5.746 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.402/1.402, allocations: 222.9 MB / 240.6 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9619/0.9619, allocations: 135.1 MB / 425.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 64.31 kB / 0.5055 GB, free: 5.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1771, allocations: 80.93 MB / 0.5845 GB, free: 4.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.004665/0.1818, allocations: 1.821 MB / 0.5863 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002745/0.1846, allocations: 1.08 MB / 0.5874 GB, free: 1.949 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.1847, allocations: 3.938 kB / 0.5874 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000403/0.1852, allocations: 51.86 kB / 0.5874 GB, free: 1.895 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003043/0.1855, allocations: 75.73 kB / 0.5875 GB, free: 1.82 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006811/0.1862, allocations: 202.6 kB / 0.5877 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.1865, allocations: 143.6 kB / 0.5878 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.1866, allocations: 29.09 kB / 0.5878 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.1867, allocations: 71.64 kB / 0.5879 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.1868, allocations: 63.75 kB / 0.588 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.1869, allocations: 11.94 kB / 0.588 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.187, allocations: 63.95 kB / 0.588 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.051e-05/0.1871, allocations: 35.91 kB / 0.5881 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.536e-05/0.1872, allocations: 63.59 kB / 0.5881 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.1875, allocations: 148 kB / 0.5883 GB, free: 1.008 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1875, allocations: 0 / 0.5883 GB, free: 1.008 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1875, allocations: 0 / 0.5883 GB, free: 1.008 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1875, allocations: 4 kB / 0.5883 GB, free: 1.004 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.000828/0.1883, allocations: 496.2 kB / 0.5888 GB, free: 476 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1884, allocations: 8.031 kB / 0.5888 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.818e-05/0.1885, allocations: 20.73 kB / 0.5888 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.1888, allocations: 248.9 kB / 0.589 GB, free: 160 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.1888, allocations: 4.375 kB / 0.589 GB, free: 156 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.1888, allocations: 8.125 kB / 0.589 GB, free: 148 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.189, allocations: 96.17 kB / 0.5891 GB, free: 36 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.1891, allocations: 0 / 0.5891 GB, free: 36 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.1891, allocations: 4 kB / 0.5891 GB, free: 32 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.1891, allocations: 7.984 kB / 0.5891 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.1893, allocations: 28.03 kB / 0.5892 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005374/0.1898, allocations: 364.5 kB / 0.5895 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.1901, allocations: 86.67 kB / 0.5896 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.501e-05/0.1901, allocations: 32.84 kB / 0.5896 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.1902, allocations: 3.984 kB / 0.5896 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002558/0.1904, allocations: 83.41 kB / 0.5897 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.1904, allocations: 0 / 0.5897 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0003837/0.1908, allocations: 137.5 kB / 0.5898 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.1909, allocations: 106.8 kB / 0.5899 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003659/0.1913, allocations: 262.9 kB / 0.5902 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.1913, allocations: 33.7 kB / 0.5902 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.349e-05/0.1914, allocations: 120 kB / 0.5903 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.1915, allocations: 15.81 kB / 0.5904 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.338e-05/0.1915, allocations: 29.64 kB / 0.5904 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.1917, allocations: 334.8 kB / 0.5907 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.859e-05/0.1918, allocations: 31.92 kB / 0.5907 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.1919, allocations: 68.27 kB / 0.5908 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.1921, allocations: 66.02 kB / 0.5909 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1921, allocations: 0 / 0.5909 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002674/0.1924, allocations: 117.4 kB / 0.591 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.1924, allocations: 10.5 kB / 0.591 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.1924, allocations: 0 / 0.591 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.985e-05/0.1925, allocations: 3.984 kB / 0.591 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.1926, allocations: 12 kB / 0.591 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.1926, allocations: 3.938 kB / 0.591 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.12e-05/0.1927, allocations: 19.86 kB / 0.591 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.1927, allocations: 7.984 kB / 0.591 GB, free: 13.92 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.0001524/0.1929, allocations: 142.6 kB / 0.5912 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.1929, allocations: 15.81 kB / 0.5912 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.245e-05/0.193, allocations: 17.41 kB / 0.5912 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.193, allocations: 3.984 kB / 0.5912 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.193, allocations: 0 / 0.5912 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.555e-06/0.193, allocations: 7.938 kB / 0.5912 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.1933, allocations: 221.5 kB / 0.5914 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1933, allocations: 0 / 0.5914 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.296e-05/0.1933, allocations: 4 kB / 0.5914 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1933, allocations: 0 / 0.5914 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.1933, allocations: 4 kB / 0.5914 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1934, allocations: 7.984 kB / 0.5914 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1934, allocations: 0 / 0.5914 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.1936, allocations: 144.8 kB / 0.5916 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.857e-05/0.1937, allocations: 100.8 kB / 0.5917 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.1938, allocations: 0 / 0.5917 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.575e-05/0.1938, allocations: 4.047 kB / 0.5917 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.42e-05/0.1939, allocations: 15.97 kB / 0.5917 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.1939, allocations: 11.94 kB / 0.5917 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002009/0.1941, allocations: 192.6 kB / 0.5919 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1941, allocations: 4 kB / 0.5919 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000283/0.1944, allocations: 28 kB / 0.5919 GB, free: 12.91 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.001128/0.1956, allocations: 430.2 kB / 0.5923 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002617/0.1958, allocations: 71.91 kB / 0.5924 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1959, allocations: 0 / 0.5924 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.892e-05/0.196, allocations: 36.05 kB / 0.5924 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.1963, allocations: 41.33 kB / 0.5925 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006009/0.1969, allocations: 360.5 kB / 0.5928 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.1972, allocations: 0.7201 MB / 0.5935 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.372e-05/0.1972, allocations: 27.36 kB / 0.5935 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1972, allocations: 0 / 0.5935 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of Templates: time 0.00471/0.202, allocations: 2.604 MB / 0.5961 GB, free: 8.777 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)