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.001379/0.001379, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001366/0.001367, allocations: 193.7 kB / 16.25 MB, free: 6.629 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: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.047/1.047, allocations: 135.1 MB / 425.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 60.47 kB / 0.5049 GB, free: 5.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1753, allocations: 80.93 MB / 0.5839 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003478/0.1788, allocations: 1.813 MB / 0.5857 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.1806, allocations: 1.084 MB / 0.5867 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.1807, allocations: 0 / 0.5867 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.181, allocations: 55.8 kB / 0.5868 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002614/0.1813, allocations: 71.75 kB / 0.5868 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000656/0.182, allocations: 207.4 kB / 0.587 GB, free: 1.637 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002525/0.1822, allocations: 147.7 kB / 0.5872 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1824, allocations: 21.11 kB / 0.5872 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.1825, allocations: 71.62 kB / 0.5873 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.1826, allocations: 63.75 kB / 0.5873 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.1827, allocations: 12 kB / 0.5873 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.1828, allocations: 67.91 kB / 0.5874 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.43e-05/0.1829, allocations: 39.91 kB / 0.5874 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.317e-05/0.183, allocations: 63.59 kB / 0.5875 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000282/0.1833, allocations: 195.7 kB / 0.5877 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.1833, allocations: 0 / 0.5877 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1833, allocations: 0 / 0.5877 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.1833, allocations: 0 / 0.5877 GB, free: 0.9688 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.0006091/0.1839, allocations: 492.2 kB / 0.5882 GB, free: 444 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.184, allocations: 20.02 kB / 0.5882 GB, free: 424 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.145e-05/0.184, allocations: 16.75 kB / 0.5882 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.1843, allocations: 241 kB / 0.5884 GB, free: 128 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.1843, allocations: 4.375 kB / 0.5884 GB, free: 124 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.1843, allocations: 8.125 kB / 0.5884 GB, free: 116 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.1845, allocations: 96.11 kB / 0.5885 GB, free: 4 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.1846, allocations: 3.984 kB / 0.5885 GB, free: 0 / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.1846, allocations: 8.125 kB / 0.5885 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.1846, allocations: 7.938 kB / 0.5885 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.1847, allocations: 27.98 kB / 0.5886 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.1852, allocations: 360.5 kB / 0.5889 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.1854, allocations: 86.66 kB / 0.589 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.082e-05/0.1855, allocations: 32.84 kB / 0.589 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.1855, allocations: 4 kB / 0.589 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000229/0.1858, allocations: 87.39 kB / 0.5891 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.703e-06/0.1858, allocations: 0 / 0.5891 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0003515/0.1861, allocations: 133.5 kB / 0.5892 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.1862, allocations: 106.8 kB / 0.5893 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.1865, allocations: 267 kB / 0.5896 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.1865, allocations: 25.7 kB / 0.5896 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.014e-05/0.1866, allocations: 116 kB / 0.5897 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.1866, allocations: 19.8 kB / 0.5898 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.214e-05/0.1867, allocations: 33.7 kB / 0.5898 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.555e-05/0.1868, allocations: 326.8 kB / 0.5901 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.167e-05/0.1868, allocations: 27.92 kB / 0.5901 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.187, allocations: 80.25 kB / 0.5902 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.1871, allocations: 62.02 kB / 0.5903 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1871, allocations: 0 / 0.5903 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002153/0.1873, allocations: 117.4 kB / 0.5904 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.1874, allocations: 11.98 kB / 0.5904 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1874, allocations: 0 / 0.5904 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.1874, allocations: 4.031 kB / 0.5904 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.444e-05/0.1875, allocations: 12 kB / 0.5904 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1875, allocations: 0 / 0.5904 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.977e-05/0.1876, allocations: 15.86 kB / 0.5904 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.1876, allocations: 7.938 kB / 0.5904 GB, free: 13.89 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.0001275/0.1877, allocations: 138.7 kB / 0.5906 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.1878, allocations: 15.81 kB / 0.5906 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.793e-05/0.1878, allocations: 29.33 kB / 0.5906 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.1878, allocations: 0 / 0.5906 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1878, allocations: 7.938 kB / 0.5906 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1879, allocations: 3.938 kB / 0.5906 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.188, allocations: 229.5 kB / 0.5908 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.188, allocations: 0 / 0.5908 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.919e-05/0.1881, allocations: 4 kB / 0.5908 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1881, allocations: 0 / 0.5908 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.1881, allocations: 3.984 kB / 0.5908 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1881, allocations: 0 / 0.5908 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1881, allocations: 4 kB / 0.5908 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.1884, allocations: 144.8 kB / 0.591 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/0.1884, allocations: 96.91 kB / 0.5911 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.1885, allocations: 0 / 0.5911 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.766e-05/0.1885, allocations: 11.98 kB / 0.5911 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.1886, allocations: 7.984 kB / 0.5911 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.1886, allocations: 3.938 kB / 0.5911 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001584/0.1888, allocations: 196.6 kB / 0.5913 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1888, allocations: 0 / 0.5913 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002406/0.189, allocations: 39.88 kB / 0.5913 GB, free: 12.88 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.0009133/0.1899, allocations: 428.2 kB / 0.5917 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002165/0.1902, allocations: 71.89 kB / 0.5918 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1902, allocations: 0 / 0.5918 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.999e-05/0.1903, allocations: 39.97 kB / 0.5918 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.1906, allocations: 34.81 kB / 0.5919 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004828/0.1911, allocations: 334.8 kB / 0.5922 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.1913, allocations: 0.7201 MB / 0.5929 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.594e-05/0.1914, allocations: 29.36 kB / 0.5929 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.785e-05/0.1914, allocations: 27.42 kB / 0.5929 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.1915, allocations: 0 / 0.5929 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.005678/0.1971, allocations: 2.491 MB / 0.5954 GB, free: 8.883 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)