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.0008697/0.0008699, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001064/0.001064, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.02/1.02, allocations: 135.3 MB / 426.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003473, allocations: 8 kB / 0.507 GB, free: 5.102 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1767, allocations: 82.31 MB / 0.5874 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002483/0.1792, allocations: 1.448 MB / 0.5888 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002101/0.1813, allocations: 1.019 MB / 0.5898 GB, free: 480 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.1815, allocations: 4 kB / 0.5898 GB, free: 476 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003642/0.1819, allocations: 43.81 kB / 0.5898 GB, free: 432 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002432/0.1821, allocations: 71.73 kB / 0.5899 GB, free: 360 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005939/0.1827, allocations: 182.3 kB / 0.5901 GB, free: 184 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.183, allocations: 119.7 kB / 0.5902 GB, free: 64 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.1831, allocations: 29.06 kB / 0.5902 GB, free: 36 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.1832, allocations: 55.83 kB / 0.5903 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.1833, allocations: 55.75 kB / 0.5903 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.1833, allocations: 4 kB / 0.5903 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.1835, allocations: 55.95 kB / 0.5904 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.919e-05/0.1836, allocations: 31.84 kB / 0.5904 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.546e-05/0.1836, allocations: 45.64 kB / 0.5905 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.1839, allocations: 148 kB / 0.5906 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.1839, allocations: 0 / 0.5906 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.265e-06/0.1839, allocations: 4 kB / 0.5906 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.1839, allocations: 0 / 0.5906 GB, free: 15.63 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.0006838/0.1846, allocations: 468.2 kB / 0.591 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.1846, allocations: 8.031 kB / 0.5911 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.419e-05/0.1847, allocations: 23.72 kB / 0.5911 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.185, allocations: 239.7 kB / 0.5913 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.185, allocations: 8 kB / 0.5913 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.185, allocations: 0 / 0.5913 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.1853, allocations: 100.2 kB / 0.5914 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.1853, allocations: 0 / 0.5914 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.1853, allocations: 11.98 kB / 0.5914 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.1853, allocations: 0 / 0.5914 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.683e-05/0.1854, allocations: 27.98 kB / 0.5914 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005542/0.186, allocations: 356.6 kB / 0.5918 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.1862, allocations: 94.69 kB / 0.5919 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.964e-05/0.1863, allocations: 32.84 kB / 0.5919 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.1863, allocations: 0 / 0.5919 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002265/0.1866, allocations: 83.31 kB / 0.592 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 3.667e-06/0.1866, allocations: 4 kB / 0.592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0003478/0.1869, allocations: 141.3 kB / 0.5921 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.231e-05/0.187, allocations: 114.8 kB / 0.5922 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.1873, allocations: 258.9 kB / 0.5925 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1873, allocations: 29.7 kB / 0.5925 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.027e-05/0.1874, allocations: 116 kB / 0.5926 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.1875, allocations: 19.8 kB / 0.5926 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-06/0.1875, allocations: 0 / 0.5926 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1876, allocations: 330.8 kB / 0.593 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.807e-05/0.1877, allocations: 27.98 kB / 0.593 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.1878, allocations: 72.2 kB / 0.5931 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.582e-05/0.1879, allocations: 28 kB / 0.5931 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1879, allocations: 0 / 0.5931 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002017/0.1881, allocations: 121.4 kB / 0.5932 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1881, allocations: 4 kB / 0.5932 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1882, allocations: 0 / 0.5932 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1882, allocations: 0 / 0.5932 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.368e-05/0.1883, allocations: 16 kB / 0.5932 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1883, allocations: 0 / 0.5932 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.573e-05/0.1884, allocations: 15.88 kB / 0.5932 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.1884, allocations: 4 kB / 0.5932 GB, free: 12.67 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 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.y,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001349/0.1885, allocations: 146.6 kB / 0.5934 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.1886, allocations: 11.81 kB / 0.5934 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.738e-05/0.1886, allocations: 25.39 kB / 0.5934 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.1886, allocations: 4 kB / 0.5934 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1886, allocations: 0 / 0.5934 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1886, allocations: 0 / 0.5934 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.1888, allocations: 225.5 kB / 0.5936 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1888, allocations: 0 / 0.5936 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.84e-05/0.1889, allocations: 7.938 kB / 0.5936 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.1889, allocations: 4 kB / 0.5936 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.1889, allocations: 3.984 kB / 0.5936 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1889, allocations: 4 kB / 0.5936 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1889, allocations: 3.984 kB / 0.5937 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.1892, allocations: 153.2 kB / 0.5938 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.361e-05/0.1892, allocations: 93.11 kB / 0.5939 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.1893, allocations: 4 kB / 0.5939 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.091e-05/0.1893, allocations: 7.922 kB / 0.5939 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.1894, allocations: 8 kB / 0.5939 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.1894, allocations: 11.98 kB / 0.5939 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001807/0.1896, allocations: 192.6 kB / 0.5941 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1896, allocations: 0 / 0.5941 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002458/0.1899, allocations: 31.98 kB / 0.5941 GB, free: 11.65 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009796/0.1908, allocations: 423.5 kB / 0.5945 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002168/0.1911, allocations: 67.97 kB / 0.5946 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1911, allocations: 4.062 kB / 0.5946 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.398e-05/0.1912, allocations: 35.92 kB / 0.5946 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.1915, allocations: 47.58 kB / 0.5947 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005996/0.1921, allocations: 318 kB / 0.595 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.1924, allocations: 0.7204 MB / 0.5957 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.498e-05/0.1925, allocations: 29.38 kB / 0.5957 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.243e-05/0.1926, allocations: 15.44 kB / 0.5957 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1926, allocations: 4 kB / 0.5957 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of Templates: time 0.005607/0.1982, allocations: 2.33 MB / 0.598 GB, free: 7.82 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)