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.00112/0.00112, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001533/0.001533, allocations: 192.9 kB / 16.13 MB, free: 6.648 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.388/1.388, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9371/0.9371, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 59.62 kB / 0.5047 GB, free: 5.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1661, allocations: 80.93 MB / 0.5837 GB, free: 5.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003073/0.1692, allocations: 1.819 MB / 0.5855 GB, free: 3.195 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.171, allocations: 1.096 MB / 0.5866 GB, free: 2.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.374e-05/0.1711, allocations: 4 kB / 0.5866 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003155/0.1714, allocations: 51.81 kB / 0.5866 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.1716, allocations: 59.81 kB / 0.5867 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005829/0.1722, allocations: 202.6 kB / 0.5869 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.1724, allocations: 139.6 kB / 0.587 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1725, allocations: 17.11 kB / 0.587 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.817e-05/0.1726, allocations: 55.7 kB / 0.5871 GB, free: 1.574 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.1727, allocations: 71.69 kB / 0.5871 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.1728, allocations: 4 kB / 0.5871 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.1729, allocations: 59.95 kB / 0.5872 GB, free: 1.441 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.2e-05/0.173, allocations: 35.89 kB / 0.5872 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.972e-05/0.1731, allocations: 59.56 kB / 0.5873 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.1734, allocations: 199.7 kB / 0.5875 GB, free: 1.152 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1734, allocations: 0 / 0.5875 GB, free: 1.152 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1734, allocations: 0 / 0.5875 GB, free: 1.152 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.1734, allocations: 3.938 kB / 0.5875 GB, free: 1.148 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.0006553/0.1741, allocations: 484.3 kB / 0.5879 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.1741, allocations: 16.03 kB / 0.588 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.582e-05/0.1742, allocations: 16.75 kB / 0.588 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.1744, allocations: 248.9 kB / 0.5882 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.1745, allocations: 4.375 kB / 0.5882 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.1745, allocations: 8.125 kB / 0.5882 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.1747, allocations: 92.23 kB / 0.5883 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.1747, allocations: 3.938 kB / 0.5883 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.1748, allocations: 4 kB / 0.5883 GB, free: 188 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/0.1748, allocations: 4 kB / 0.5883 GB, free: 184 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.1749, allocations: 31.97 kB / 0.5883 GB, free: 152 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000536/0.1755, allocations: 356.5 kB / 0.5887 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.1757, allocations: 90.69 kB / 0.5888 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.534e-05/0.1758, allocations: 32.84 kB / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.1758, allocations: 8 kB / 0.5888 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002487/0.1761, allocations: 79.36 kB / 0.5889 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 3.466e-06/0.1761, allocations: 3.984 kB / 0.5889 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.00036/0.1765, allocations: 141.4 kB / 0.589 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.1765, allocations: 106.8 kB / 0.5891 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.1768, allocations: 263 kB / 0.5894 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.1768, allocations: 25.7 kB / 0.5894 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.779e-05/0.1769, allocations: 124 kB / 0.5895 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.1769, allocations: 15.8 kB / 0.5895 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.397e-05/0.177, allocations: 33.7 kB / 0.5896 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.1772, allocations: 326.8 kB / 0.5899 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.312e-05/0.1773, allocations: 23.98 kB / 0.5899 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.1774, allocations: 76.27 kB / 0.59 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.1775, allocations: 65.95 kB / 0.59 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1775, allocations: 192 / 0.59 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002234/0.1778, allocations: 117.4 kB / 0.5902 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.1778, allocations: 11.94 kB / 0.5902 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.1778, allocations: 0 / 0.5902 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1778, allocations: 4.031 kB / 0.5902 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.1779, allocations: 15.98 kB / 0.5902 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1779, allocations: 0 / 0.5902 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.975e-05/0.178, allocations: 15.88 kB / 0.5902 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.178, allocations: 0 / 0.5902 GB, free: 14.08 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.000132/0.1782, allocations: 138.5 kB / 0.5903 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.1782, allocations: 19.8 kB / 0.5903 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.575e-05/0.1783, allocations: 21.41 kB / 0.5904 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.799e-06/0.1783, allocations: 4 kB / 0.5904 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1783, allocations: 4 kB / 0.5904 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1783, allocations: 3.938 kB / 0.5904 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.1785, allocations: 233.4 kB / 0.5906 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1785, allocations: 3.938 kB / 0.5906 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.001e-05/0.1786, allocations: 4 kB / 0.5906 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1786, allocations: 0 / 0.5906 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.1786, allocations: 4 kB / 0.5906 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1786, allocations: 0 / 0.5906 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1786, allocations: 4 kB / 0.5906 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.1789, allocations: 140.8 kB / 0.5908 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-05/0.1789, allocations: 92.92 kB / 0.5908 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.179, allocations: 11.97 kB / 0.5909 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.724e-05/0.179, allocations: 4 kB / 0.5909 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.1791, allocations: 7.984 kB / 0.5909 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.1791, allocations: 3.938 kB / 0.5909 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001701/0.1793, allocations: 192.6 kB / 0.5911 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1793, allocations: 0 / 0.5911 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002617/0.1796, allocations: 43.98 kB / 0.5911 GB, free: 13.07 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.0009867/0.1806, allocations: 427.7 kB / 0.5915 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002296/0.1808, allocations: 67.95 kB / 0.5916 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1808, allocations: 0 / 0.5916 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.161e-05/0.1809, allocations: 35.92 kB / 0.5916 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.1812, allocations: 40.36 kB / 0.5916 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005253/0.1817, allocations: 321.3 kB / 0.5919 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.182, allocations: 0.7243 MB / 0.5927 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.053e-05/0.1821, allocations: 29.36 kB / 0.5927 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.908e-05/0.1822, allocations: 15.44 kB / 0.5927 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1822, allocations: 0 / 0.5927 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of Templates: time 0.005977/0.1882, allocations: 2.443 MB / 0.5951 GB, free: 9.145 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)