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.001289/0.001294, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001292/0.001292, allocations: 196.6 kB / 16.25 MB, free: 6.637 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.359/1.359, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9475/0.9475, allocations: 135.6 MB / 425.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 72.27 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1745, allocations: 81.01 MB / 0.5845 GB, free: 4.344 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003408/0.178, allocations: 1.825 MB / 0.5863 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.1797, allocations: 1.084 MB / 0.5873 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.178e-05/0.1798, allocations: 4 kB / 0.5873 GB, free: 1.398 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.1801, allocations: 47.81 kB / 0.5874 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002181/0.1803, allocations: 71.78 kB / 0.5875 GB, free: 1.281 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005605/0.1809, allocations: 213.4 kB / 0.5877 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.1812, allocations: 139.6 kB / 0.5878 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1813, allocations: 25.09 kB / 0.5878 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.1814, allocations: 67.66 kB / 0.5879 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.1815, allocations: 67.75 kB / 0.5879 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.1815, allocations: 8 kB / 0.5879 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.1817, allocations: 63.95 kB / 0.588 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.354e-05/0.1818, allocations: 39.84 kB / 0.588 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.463e-05/0.1819, allocations: 59.59 kB / 0.5881 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.1821, allocations: 199.7 kB / 0.5883 GB, free: 432 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1822, allocations: 0 / 0.5883 GB, free: 432 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1822, allocations: 0 / 0.5883 GB, free: 432 kB / 494.1 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.1822, allocations: 0 / 0.5883 GB, free: 432 kB / 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.0006966/0.1829, allocations: 496.3 kB / 0.5888 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.1829, allocations: 12.03 kB / 0.5888 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.382e-05/0.183, allocations: 16.75 kB / 0.5888 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.1833, allocations: 244.9 kB / 0.589 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.1833, allocations: 4.359 kB / 0.589 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.1833, allocations: 16.11 kB / 0.589 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.1835, allocations: 96.11 kB / 0.5891 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1836, allocations: 0 / 0.5891 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.1836, allocations: 0 / 0.5891 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.028e-05/0.1836, allocations: 8 kB / 0.5891 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.1837, allocations: 35.97 kB / 0.5892 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005461/0.1843, allocations: 356.5 kB / 0.5895 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002462/0.1845, allocations: 94.69 kB / 0.5896 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.903e-05/0.1846, allocations: 36.84 kB / 0.5896 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.1847, allocations: 0 / 0.5896 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002361/0.1849, allocations: 79.38 kB / 0.5897 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.1849, allocations: 0 / 0.5897 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.000377/0.1853, allocations: 145.4 kB / 0.5899 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.014e-05/0.1854, allocations: 102.8 kB / 0.59 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.1857, allocations: 263 kB / 0.5902 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.1857, allocations: 29.7 kB / 0.5902 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.363e-05/0.1858, allocations: 120 kB / 0.5904 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.1858, allocations: 19.8 kB / 0.5904 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.1859, allocations: 21.72 kB / 0.5904 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.1861, allocations: 334.8 kB / 0.5907 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.559e-05/0.1861, allocations: 27.98 kB / 0.5907 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.1863, allocations: 76.2 kB / 0.5908 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.1864, allocations: 77.97 kB / 0.5909 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1865, allocations: 0 / 0.5909 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002242/0.1867, allocations: 113.4 kB / 0.591 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1867, allocations: 4 kB / 0.591 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1867, allocations: 0 / 0.591 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1867, allocations: 0 / 0.591 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.476e-05/0.1868, allocations: 20.02 kB / 0.591 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1868, allocations: 0 / 0.591 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.955e-05/0.1869, allocations: 15.97 kB / 0.591 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1869, allocations: 4 kB / 0.591 GB, free: 13.34 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.0001494/0.1871, allocations: 142.5 kB / 0.5912 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.1871, allocations: 15.81 kB / 0.5912 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.056e-05/0.1872, allocations: 21.39 kB / 0.5912 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.1872, allocations: 3.938 kB / 0.5912 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1872, allocations: 4 kB / 0.5912 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1872, allocations: 7.938 kB / 0.5912 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.1875, allocations: 225.5 kB / 0.5914 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1875, allocations: 0 / 0.5914 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.171e-05/0.1875, allocations: 7.984 kB / 0.5914 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1875, allocations: 0 / 0.5914 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.1875, allocations: 4 kB / 0.5914 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1875, allocations: 0 / 0.5914 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1875, allocations: 0 / 0.5914 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.1878, allocations: 144.8 kB / 0.5916 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.426e-05/0.1879, allocations: 92.92 kB / 0.5917 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.695e-05/0.1879, allocations: 4 kB / 0.5917 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.521e-05/0.188, allocations: 7.984 kB / 0.5917 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/0.1881, allocations: 8 kB / 0.5917 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.1881, allocations: 11.92 kB / 0.5917 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001921/0.1883, allocations: 191.2 kB / 0.5919 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1883, allocations: 4 kB / 0.5919 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002534/0.1885, allocations: 35.98 kB / 0.5919 GB, free: 12.32 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.001464/0.19, allocations: 423.4 kB / 0.5923 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002285/0.1903, allocations: 79.89 kB / 0.5924 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1903, allocations: 0 / 0.5924 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.198e-05/0.1904, allocations: 35.97 kB / 0.5924 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.1907, allocations: 44.47 kB / 0.5925 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000574/0.1912, allocations: 326.9 kB / 0.5928 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.1916, allocations: 0.7279 MB / 0.5935 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.029e-05/0.1917, allocations: 25.36 kB / 0.5935 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.834e-05/0.1918, allocations: 19.44 kB / 0.5935 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1918, allocations: 0 / 0.5935 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of Templates: time 0.005855/0.1976, allocations: 2.499 MB / 0.596 GB, free: 8.328 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)