Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Examples.IntegerReplicator") translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00574/0.00574, allocations: 102.5 kB / 15.73 MB, free: 5.984 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.001247/0.001247, allocations: 199.1 kB / 16.68 MB, free: 5.91 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8459/0.8459, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 64.53 kB / 0.5813 GB, free: 23.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1697, allocations: 80.21 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.00336/0.1731, allocations: 1.769 MB / 0.6614 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002012/0.1751, allocations: 1.107 MB / 0.6625 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.1753, allocations: 0 / 0.6625 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003809/0.1756, allocations: 67.66 kB / 0.6625 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000271/0.176, allocations: 75.67 kB / 0.6626 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000672/0.1766, allocations: 226.6 kB / 0.6628 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.1769, allocations: 143.6 kB / 0.663 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.177, allocations: 33.09 kB / 0.663 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.1771, allocations: 67.75 kB / 0.6631 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.1772, allocations: 63.75 kB / 0.6631 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.1772, allocations: 8 kB / 0.6631 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.1774, allocations: 63.91 kB / 0.6632 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.383e-05/0.1775, allocations: 47.83 kB / 0.6632 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.798e-05/0.1776, allocations: 55.67 kB / 0.6633 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000292/0.1779, allocations: 203.4 kB / 0.6635 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1779, allocations: 0 / 0.6635 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1779, allocations: 0 / 0.6635 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.1779, allocations: 0 / 0.6635 GB, free: 6.324 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.0006613/0.1786, allocations: 0.4923 MB / 0.664 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.1786, allocations: 8.031 kB / 0.664 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.637e-05/0.1787, allocations: 16.75 kB / 0.664 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.1791, allocations: 248.9 kB / 0.6642 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.1791, allocations: 4.375 kB / 0.6642 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.1792, allocations: 8.125 kB / 0.6642 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.1794, allocations: 92.17 kB / 0.6643 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.1794, allocations: 0 / 0.6643 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.1794, allocations: 4 kB / 0.6643 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.1794, allocations: 4 kB / 0.6643 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.1796, allocations: 31.97 kB / 0.6644 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006434/0.1802, allocations: 360.5 kB / 0.6647 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.1805, allocations: 86.66 kB / 0.6648 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.536e-05/0.1805, allocations: 28.84 kB / 0.6648 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.1806, allocations: 7.984 kB / 0.6648 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.1808, allocations: 87.41 kB / 0.6649 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.814e-06/0.1808, allocations: 0 / 0.6649 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004002/0.1812, allocations: 137.5 kB / 0.665 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.779e-05/0.1813, allocations: 106.8 kB / 0.6651 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.1815, allocations: 262.8 kB / 0.6654 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.1816, allocations: 25.7 kB / 0.6654 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.911e-05/0.1817, allocations: 112.1 kB / 0.6655 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.1817, allocations: 27.69 kB / 0.6656 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/0.1817, allocations: 33.72 kB / 0.6656 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.1819, allocations: 334.7 kB / 0.6659 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.527e-05/0.182, allocations: 27.92 kB / 0.6659 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.653e-05/0.1821, allocations: 72.28 kB / 0.666 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.1822, allocations: 74 kB / 0.6661 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1822, allocations: 0 / 0.6661 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002212/0.1824, allocations: 113.6 kB / 0.6662 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.1825, allocations: 8 kB / 0.6662 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1825, allocations: 3.938 kB / 0.6662 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1825, allocations: 0 / 0.6662 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.1826, allocations: 15.98 kB / 0.6662 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.1826, allocations: 0 / 0.6662 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.653e-05/0.1827, allocations: 11.88 kB / 0.6662 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.1827, allocations: 8.031 kB / 0.6662 GB, free: 3.238 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.0001534/0.1829, allocations: 153.7 kB / 0.6664 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.1829, allocations: 15.81 kB / 0.6664 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.264e-05/0.183, allocations: 25.39 kB / 0.6664 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.183, allocations: 4.031 kB / 0.6664 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.183, allocations: 0 / 0.6664 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.183, allocations: 3.938 kB / 0.6664 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.1832, allocations: 217.6 kB / 0.6666 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1832, allocations: 0 / 0.6666 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.217e-05/0.1833, allocations: 11.98 kB / 0.6666 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1833, allocations: 0 / 0.6666 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.1833, allocations: 0 / 0.6666 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1833, allocations: 4 kB / 0.6666 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1833, allocations: 0 / 0.6666 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.1836, allocations: 148.8 kB / 0.6668 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.009e-05/0.1837, allocations: 92.92 kB / 0.6669 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.1837, allocations: 0 / 0.6669 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.645e-05/0.1838, allocations: 15.98 kB / 0.6669 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.1839, allocations: 7.984 kB / 0.6669 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.1839, allocations: 11.94 kB / 0.6669 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000212/0.1841, allocations: 187.2 kB / 0.6671 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1841, allocations: 0 / 0.6671 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004168/0.1845, allocations: 43.92 kB / 0.6671 GB, free: 2.215 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.001304/0.1859, allocations: 422.4 kB / 0.6675 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004213/0.1863, allocations: 71.91 kB / 0.6676 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.1863, allocations: 0 / 0.6676 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.1864, allocations: 31.98 kB / 0.6676 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.1868, allocations: 39.23 kB / 0.6677 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008248/0.1876, allocations: 286.8 kB / 0.6679 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.188, allocations: 0.728 MB / 0.6687 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.982e-05/0.1881, allocations: 25.38 kB / 0.6687 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.435e-05/0.1882, allocations: 19.44 kB / 0.6687 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of SimCode: time 2.244e-06/0.1882, allocations: 0 / 0.6687 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of Templates: time 0.007022/0.1952, allocations: 2.546 MB / 0.6712 GB, free: 14.22 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)