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.01028/0.01028, allocations: 100.6 kB / 15.73 MB, free: 6.047 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.001798/0.001798, allocations: 193.8 kB / 16.67 MB, free: 5.961 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8253/0.8253, allocations: 135.1 MB / 425.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 64.97 kB / 0.5856 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1807, allocations: 80.92 MB / 0.6646 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003376/0.1842, allocations: 1.763 MB / 0.6664 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001848/0.186, allocations: 1.1 MB / 0.6674 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.1862, allocations: 0 / 0.6674 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003428/0.1865, allocations: 59.73 kB / 0.6675 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00028/0.1868, allocations: 91.59 kB / 0.6676 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007027/0.1876, allocations: 223 kB / 0.6678 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000242/0.1878, allocations: 139.7 kB / 0.6679 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.188, allocations: 41.08 kB / 0.668 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.1881, allocations: 59.72 kB / 0.668 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.1882, allocations: 63.75 kB / 0.6681 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.1882, allocations: 8 kB / 0.6681 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.1884, allocations: 71.94 kB / 0.6682 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.128e-05/0.1885, allocations: 39.78 kB / 0.6682 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.299e-05/0.1886, allocations: 59.66 kB / 0.6683 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003254/0.1889, allocations: 199.4 kB / 0.6685 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.189, allocations: 0 / 0.6685 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.189, allocations: 0 / 0.6685 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.189, allocations: 4 kB / 0.6685 GB, free: 1.812 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.0007124/0.1897, allocations: 496.2 kB / 0.6689 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.1897, allocations: 17.09 kB / 0.6689 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.052e-05/0.1898, allocations: 16.75 kB / 0.669 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.1902, allocations: 245 kB / 0.6692 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.1902, allocations: 384 / 0.6692 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.1902, allocations: 12.12 kB / 0.6692 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.1905, allocations: 104.1 kB / 0.6693 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.1905, allocations: 0 / 0.6693 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.1905, allocations: 0 / 0.6693 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/0.1906, allocations: 4 kB / 0.6693 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.1907, allocations: 31.98 kB / 0.6693 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000542/0.1912, allocations: 356.6 kB / 0.6697 GB, free: 408 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.1915, allocations: 90.66 kB / 0.6698 GB, free: 308 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.795e-05/0.1915, allocations: 28.84 kB / 0.6698 GB, free: 276 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.1916, allocations: 4 kB / 0.6698 GB, free: 272 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.1918, allocations: 91.3 kB / 0.6699 GB, free: 168 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.1918, allocations: 0 / 0.6699 GB, free: 168 kB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0003946/0.1922, allocations: 133.5 kB / 0.67 GB, free: 28 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.993e-05/0.1923, allocations: 106.8 kB / 0.6701 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002713/0.1926, allocations: 266.8 kB / 0.6704 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.1926, allocations: 29.7 kB / 0.6704 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.836e-05/0.1927, allocations: 112.1 kB / 0.6705 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.1927, allocations: 15.81 kB / 0.6705 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.882e-05/0.1928, allocations: 33.69 kB / 0.6706 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1929, allocations: 330.8 kB / 0.6709 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.739e-05/0.193, allocations: 31.92 kB / 0.6709 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.1931, allocations: 76.2 kB / 0.671 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.1933, allocations: 61.7 kB / 0.671 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.1933, allocations: 4 kB / 0.671 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002428/0.1936, allocations: 117.3 kB / 0.6711 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1936, allocations: 12.03 kB / 0.6712 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1936, allocations: 0 / 0.6712 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1936, allocations: 0 / 0.6712 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.1937, allocations: 16 kB / 0.6712 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1937, allocations: 400 / 0.6712 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.976e-05/0.1938, allocations: 15.86 kB / 0.6712 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.1938, allocations: 0 / 0.6712 GB, free: 14.74 MB / 0.5137 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.0001503/0.194, allocations: 148.2 kB / 0.6713 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.194, allocations: 15.81 kB / 0.6713 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.015e-05/0.1941, allocations: 29.33 kB / 0.6714 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.1941, allocations: 0 / 0.6714 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1941, allocations: 0 / 0.6714 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1941, allocations: 3.938 kB / 0.6714 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.1943, allocations: 225.6 kB / 0.6716 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1944, allocations: 48 / 0.6716 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.32e-05/0.1944, allocations: 7.984 kB / 0.6716 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1944, allocations: 0 / 0.6716 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.1944, allocations: 3.984 kB / 0.6716 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.1944, allocations: 4 kB / 0.6716 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1944, allocations: 4 kB / 0.6716 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.1947, allocations: 144.8 kB / 0.6717 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-05/0.1948, allocations: 96.92 kB / 0.6718 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.1948, allocations: 0 / 0.6718 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.897e-05/0.1949, allocations: 4 kB / 0.6718 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.195, allocations: 11.98 kB / 0.6719 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.195, allocations: 3.938 kB / 0.6719 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001946/0.1952, allocations: 200.6 kB / 0.672 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.51e-07/0.1952, allocations: 0 / 0.672 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002763/0.1955, allocations: 43.92 kB / 0.6721 GB, free: 13.71 MB / 0.5137 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.001056/0.1965, allocations: 418.3 kB / 0.6725 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002517/0.1968, allocations: 75.89 kB / 0.6726 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1968, allocations: 0 / 0.6726 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.992e-05/0.1969, allocations: 35.97 kB / 0.6726 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.1972, allocations: 37.92 kB / 0.6726 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005668/0.1978, allocations: 294.7 kB / 0.6729 GB, free: 13 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.1981, allocations: 0.7201 MB / 0.6736 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.573e-05/0.1982, allocations: 25.38 kB / 0.6736 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.731e-05/0.1983, allocations: 23.42 kB / 0.6737 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of SimCode: time 3.4e-07/0.1983, allocations: 0 / 0.6737 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of Templates: time 0.006301/0.2046, allocations: 2.545 MB / 0.6761 GB, free: 9.688 MB / 0.5137 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)