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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 209.8 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8502/0.8502, allocations: 134 MB / 447.2 MB, free: 10.26 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator") translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 64.75 kB / 0.6198 GB, free: 6.734 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1798, allocations: 85.9 MB / 0.7037 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003677/0.1834, allocations: 1.819 MB / 0.7054 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002347/0.1858, allocations: 1.287 MB / 0.7067 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.1859, allocations: 4 kB / 0.7067 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.1862, allocations: 63.67 kB / 0.7068 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003952/0.1866, allocations: 115.5 kB / 0.7069 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000621/0.1872, allocations: 206.5 kB / 0.7071 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000258/0.1875, allocations: 163.5 kB / 0.7072 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.1876, allocations: 13.64 kB / 0.7072 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.1877, allocations: 67.69 kB / 0.7073 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.1879, allocations: 71.75 kB / 0.7074 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.1879, allocations: 8 kB / 0.7074 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002019/0.1881, allocations: 83.86 kB / 0.7075 GB, free: 13 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.373e-05/0.1882, allocations: 43.84 kB / 0.7075 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.719e-05/0.1883, allocations: 59.61 kB / 0.7076 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003639/0.1886, allocations: 215.1 kB / 0.7078 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.1886, allocations: 0 / 0.7078 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1886, allocations: 0 / 0.7078 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.1887, allocations: 0 / 0.7078 GB, free: 12.68 MB / 0.5294 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.0007519/0.1894, allocations: 426.9 kB / 0.7082 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.1894, allocations: 12.03 kB / 0.7082 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.409e-05/0.1895, allocations: 20.8 kB / 0.7082 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.1899, allocations: 202.1 kB / 0.7084 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.1899, allocations: 4.312 kB / 0.7084 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.1899, allocations: 8.125 kB / 0.7084 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.1902, allocations: 100.2 kB / 0.7085 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1902, allocations: 0 / 0.7085 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1902, allocations: 0 / 0.7085 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.1902, allocations: 4 kB / 0.7085 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.1903, allocations: 35.92 kB / 0.7085 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005591/0.1909, allocations: 327.8 kB / 0.7088 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.1911, allocations: 86.69 kB / 0.7089 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.947e-05/0.1912, allocations: 32.84 kB / 0.709 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.1912, allocations: 0 / 0.709 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000194/0.1914, allocations: 83.36 kB / 0.709 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.1914, allocations: 0 / 0.709 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0003816/0.1918, allocations: 141.5 kB / 0.7092 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.158e-05/0.1919, allocations: 110.7 kB / 0.7093 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003119/0.1922, allocations: 272.2 kB / 0.7095 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.1922, allocations: 25.7 kB / 0.7096 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.1923, allocations: 120.1 kB / 0.7097 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.1924, allocations: 27.83 kB / 0.7097 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.123e-05/0.1924, allocations: 25.7 kB / 0.7097 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1926, allocations: 334.8 kB / 0.7101 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.77e-05/0.1927, allocations: 23.98 kB / 0.7101 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.1928, allocations: 68.27 kB / 0.7101 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.1929, allocations: 73.64 kB / 0.7102 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1929, allocations: 0 / 0.7102 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002506/0.1932, allocations: 113.6 kB / 0.7103 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1932, allocations: 6.031 kB / 0.7103 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1932, allocations: 4 kB / 0.7103 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1932, allocations: 3.938 kB / 0.7103 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.1933, allocations: 15.92 kB / 0.7103 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1933, allocations: 4 kB / 0.7104 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.208e-05/0.1934, allocations: 20.05 kB / 0.7104 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.1934, allocations: 4 kB / 0.7104 GB, free: 9.773 MB / 0.5294 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.0001387/0.1935, allocations: 141.8 kB / 0.7105 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.752e-05/0.1936, allocations: 19.89 kB / 0.7105 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003007/0.1939, allocations: 127.4 kB / 0.7106 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.1939, allocations: 8 kB / 0.7107 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1939, allocations: 0 / 0.7107 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.1939, allocations: 11.92 kB / 0.7107 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.1941, allocations: 192.7 kB / 0.7109 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1941, allocations: 0 / 0.7109 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.098e-05/0.1942, allocations: 4 kB / 0.7109 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1942, allocations: 0 / 0.7109 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.1942, allocations: 3.984 kB / 0.7109 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1942, allocations: 4 kB / 0.7109 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1942, allocations: 0 / 0.7109 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.1945, allocations: 144.9 kB / 0.711 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.751e-05/0.1945, allocations: 19.89 kB / 0.711 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.1945, allocations: 4.047 kB / 0.711 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.82e-05/0.1946, allocations: 11.92 kB / 0.711 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.1946, allocations: 7.984 kB / 0.711 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.1946, allocations: 11.94 kB / 0.7111 GB, free: 9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002105/0.1949, allocations: 200.6 kB / 0.7112 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1949, allocations: 0 / 0.7112 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002574/0.1951, allocations: 39.92 kB / 0.7113 GB, free: 8.766 MB / 0.5294 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.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * 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.001567/0.1967, allocations: 431.1 kB / 0.7117 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002447/0.1969, allocations: 63.91 kB / 0.7118 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1969, allocations: 0 / 0.7118 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.431e-05/0.197, allocations: 31.98 kB / 0.7118 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.1973, allocations: 35.81 kB / 0.7118 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006526/0.198, allocations: 332.6 kB / 0.7121 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.1984, allocations: 0.7317 MB / 0.7129 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.097e-05/0.1984, allocations: 23.42 kB / 0.7129 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.1984, allocations: 0 / 0.7129 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of Templates: time 0.005033/0.2034, allocations: 2.686 MB / 0.7155 GB, free: 4.574 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.561801512958482] Failed to read output from testmodel.py, exit status != 0: 0.21096238703466952 0.238619555 0.044804487000000004 Calling exit ...