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.001061/0.001061, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.001338/0.001338, allocations: 177.2 kB / 16.27 MB, free: 6.672 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.397/1.397, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9267/0.9267, allocations: 135.3 MB / 426.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003496, allocations: 8 kB / 0.5076 GB, free: 4.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1719, allocations: 82.32 MB / 0.588 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002094/0.1741, allocations: 1.478 MB / 0.5894 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.1758, allocations: 1.057 MB / 0.5904 GB, free: 88 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.827e-05/0.1759, allocations: 4 kB / 0.5905 GB, free: 84 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.1762, allocations: 55.8 kB / 0.5905 GB, free: 28 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002599/0.1764, allocations: 71.91 kB / 0.5906 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006793/0.1771, allocations: 195.5 kB / 0.5908 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.1774, allocations: 139.5 kB / 0.5909 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.1775, allocations: 25.09 kB / 0.5909 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.1776, allocations: 55.66 kB / 0.591 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.1778, allocations: 59.75 kB / 0.591 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.1778, allocations: 0 / 0.591 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.178, allocations: 67.89 kB / 0.5911 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.187e-05/0.1781, allocations: 27.91 kB / 0.5911 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.453e-05/0.1781, allocations: 81.31 kB / 0.5912 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.1784, allocations: 191.6 kB / 0.5914 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1784, allocations: 0 / 0.5914 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.72e-07/0.1784, allocations: 0 / 0.5914 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.1784, allocations: 4 kB / 0.5914 GB, free: 15.12 MB / 0.4981 GB 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.0006196/0.1791, allocations: 460.5 kB / 0.5918 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.1791, allocations: 12.03 kB / 0.5918 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.211e-05/0.1792, allocations: 20.66 kB / 0.5919 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.1795, allocations: 244.9 kB / 0.5921 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.1795, allocations: 8.359 kB / 0.5921 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.1795, allocations: 8.125 kB / 0.5921 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.1797, allocations: 104.1 kB / 0.5922 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1797, allocations: 0 / 0.5922 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1798, allocations: 3.938 kB / 0.5922 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.1798, allocations: 0 / 0.5922 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.1799, allocations: 35.97 kB / 0.5922 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004523/0.1803, allocations: 356.6 kB / 0.5926 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.1806, allocations: 94.66 kB / 0.5927 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.979e-05/0.1806, allocations: 28.84 kB / 0.5927 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.1807, allocations: 4 kB / 0.5927 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/0.1809, allocations: 79.28 kB / 0.5928 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 4.248e-06/0.1809, allocations: 4.094 kB / 0.5928 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0003265/0.1812, allocations: 145.7 kB / 0.5929 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.1813, allocations: 106.8 kB / 0.593 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.1815, allocations: 262.9 kB / 0.5933 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.1815, allocations: 25.7 kB / 0.5933 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.358e-05/0.1816, allocations: 116.1 kB / 0.5934 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.1817, allocations: 15.8 kB / 0.5934 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.1817, allocations: 17.72 kB / 0.5934 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.1818, allocations: 334.8 kB / 0.5938 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.39e-05/0.1819, allocations: 27.98 kB / 0.5938 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.452e-05/0.182, allocations: 72.2 kB / 0.5939 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.1821, allocations: 69.77 kB / 0.5939 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1821, allocations: 0 / 0.5939 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002159/0.1824, allocations: 125.4 kB / 0.594 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.1824, allocations: 4 kB / 0.594 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1824, allocations: 0 / 0.594 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.1824, allocations: 0 / 0.594 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.662e-05/0.1825, allocations: 12 kB / 0.5941 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1825, allocations: 0 / 0.5941 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.995e-05/0.1826, allocations: 19.77 kB / 0.5941 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.1826, allocations: 4.188 kB / 0.5941 GB, free: 12.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.0001234/0.1827, allocations: 154.5 kB / 0.5942 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.1828, allocations: 15.75 kB / 0.5942 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.266e-05/0.1828, allocations: 21.39 kB / 0.5943 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.1828, allocations: 7.938 kB / 0.5943 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.1828, allocations: 0 / 0.5943 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1828, allocations: 3.938 kB / 0.5943 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.183, allocations: 217.6 kB / 0.5945 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.183, allocations: 0 / 0.5945 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.826e-05/0.1831, allocations: 4 kB / 0.5945 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1831, allocations: 4 kB / 0.5945 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.1831, allocations: 3.984 kB / 0.5945 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1831, allocations: 4 kB / 0.5945 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1831, allocations: 0 / 0.5945 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.1833, allocations: 144.8 kB / 0.5946 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.1834, allocations: 92.92 kB / 0.5947 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.1834, allocations: 4 kB / 0.5947 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.813e-05/0.1835, allocations: 11.98 kB / 0.5947 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.1836, allocations: 11.92 kB / 0.5947 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.1836, allocations: 7.938 kB / 0.5948 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001688/0.1838, allocations: 192.6 kB / 0.5949 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1838, allocations: 0 / 0.5949 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002495/0.184, allocations: 35.98 kB / 0.595 GB, free: 11.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.0009373/0.185, allocations: 435 kB / 0.5954 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002115/0.1852, allocations: 63.97 kB / 0.5954 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.1852, allocations: 8 kB / 0.5955 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.992e-05/0.1853, allocations: 31.98 kB / 0.5955 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.1856, allocations: 35.75 kB / 0.5955 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004939/0.1861, allocations: 334 kB / 0.5958 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.1864, allocations: 0.7204 MB / 0.5965 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.927e-05/0.1865, allocations: 29.36 kB / 0.5966 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.1865, allocations: 23.42 kB / 0.5966 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1865, allocations: 0 / 0.5966 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of Templates: time 0.005538/0.1921, allocations: 2.409 MB / 0.5989 GB, free: 7.148 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)