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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 108.4 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 194.9 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.9087/0.9087, allocations: 134 MB / 436.6 MB, free: 1.289 MB / 334.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.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=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: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 65.02 kB / 0.6056 GB, free: 15.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.2015, allocations: 84.67 MB / 0.6883 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.00401/0.2056, allocations: 1.78 MB / 0.69 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00218/0.2077, allocations: 1.115 MB / 0.6911 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.2078, allocations: 3.938 kB / 0.6911 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003775/0.2082, allocations: 55.73 kB / 0.6912 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.2085, allocations: 87.66 kB / 0.6913 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006529/0.2092, allocations: 225.5 kB / 0.6915 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002468/0.2094, allocations: 147.5 kB / 0.6916 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.2095, allocations: 21.09 kB / 0.6916 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.2097, allocations: 59.77 kB / 0.6917 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.2098, allocations: 75.67 kB / 0.6918 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.2098, allocations: 8 kB / 0.6918 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.21, allocations: 75.94 kB / 0.6918 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.83e-05/0.2101, allocations: 43.84 kB / 0.6919 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.695e-05/0.2102, allocations: 67.53 kB / 0.692 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.2105, allocations: 191.3 kB / 0.6921 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.2105, allocations: 4 kB / 0.6921 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2105, allocations: 3.938 kB / 0.6921 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.2105, allocations: 0 / 0.6921 GB, free: 6.605 MB / 0.5137 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.0008375/0.2113, allocations: 496.1 kB / 0.6926 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.2114, allocations: 8.031 kB / 0.6926 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.054e-05/0.2115, allocations: 24.78 kB / 0.6926 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005101/0.212, allocations: 253 kB / 0.6929 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.212, allocations: 4.375 kB / 0.6929 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.212, allocations: 8.125 kB / 0.6929 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.2123, allocations: 88.23 kB / 0.693 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.2123, allocations: 11.92 kB / 0.693 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.2123, allocations: 0 / 0.693 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.2123, allocations: 4 kB / 0.693 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.2124, allocations: 31.98 kB / 0.693 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006656/0.2131, allocations: 356.6 kB / 0.6934 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.2134, allocations: 86.69 kB / 0.6935 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.853e-05/0.2135, allocations: 36.84 kB / 0.6935 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.2135, allocations: 3.938 kB / 0.6935 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002146/0.2137, allocations: 79.36 kB / 0.6936 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.2137, allocations: 0 / 0.6936 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0004294/0.2141, allocations: 141.5 kB / 0.6937 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.415e-05/0.2142, allocations: 102.8 kB / 0.6938 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003137/0.2145, allocations: 270.8 kB / 0.6941 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.2145, allocations: 29.7 kB / 0.6941 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.2147, allocations: 120.1 kB / 0.6942 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.2147, allocations: 15.89 kB / 0.6942 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.613e-05/0.2147, allocations: 33.64 kB / 0.6943 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.00026/0.215, allocations: 330.8 kB / 0.6946 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.544e-05/0.2151, allocations: 27.98 kB / 0.6946 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.2152, allocations: 68.27 kB / 0.6947 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.2154, allocations: 69.64 kB / 0.6947 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.2154, allocations: 0 / 0.6947 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002324/0.2156, allocations: 117.5 kB / 0.6948 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.2156, allocations: 7.984 kB / 0.6948 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.2156, allocations: 0 / 0.6948 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.2156, allocations: 4.031 kB / 0.6948 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.743e-05/0.2157, allocations: 12 kB / 0.6949 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.2157, allocations: 0 / 0.6949 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.427e-05/0.2158, allocations: 19.86 kB / 0.6949 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.2158, allocations: 4 kB / 0.6949 GB, free: 3.52 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.0001661/0.216, allocations: 141.8 kB / 0.695 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.216, allocations: 15.91 kB / 0.695 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.279e-05/0.2161, allocations: 21.39 kB / 0.6951 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.2161, allocations: 4 kB / 0.6951 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.2161, allocations: 4.047 kB / 0.6951 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.2161, allocations: 7.922 kB / 0.6951 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.2164, allocations: 225.5 kB / 0.6953 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2164, allocations: 3.938 kB / 0.6953 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.905e-05/0.2164, allocations: 4 kB / 0.6953 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2164, allocations: 3.938 kB / 0.6953 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.2164, allocations: 7.984 kB / 0.6953 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2164, allocations: 0 / 0.6953 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2164, allocations: 0 / 0.6953 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/0.2167, allocations: 141.3 kB / 0.6954 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.74e-05/0.2168, allocations: 93 kB / 0.6955 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/0.2168, allocations: 8 kB / 0.6955 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.494e-05/0.2169, allocations: 3.984 kB / 0.6955 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.787e-05/0.2169, allocations: 7.984 kB / 0.6955 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.217, allocations: 11.94 kB / 0.6956 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002046/0.2172, allocations: 191.2 kB / 0.6957 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2172, allocations: 0 / 0.6957 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002603/0.2174, allocations: 35.94 kB / 0.6958 GB, free: 2.508 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.001585/0.219, allocations: 422.6 kB / 0.6962 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002939/0.2193, allocations: 71.94 kB / 0.6962 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2193, allocations: 0 / 0.6962 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.2194, allocations: 39.86 kB / 0.6963 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.2197, allocations: 39.06 kB / 0.6963 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006118/0.2203, allocations: 298.7 kB / 0.6966 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/0.2208, allocations: 0.7239 MB / 0.6973 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.467e-05/0.2209, allocations: 21.39 kB / 0.6973 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.047e-05/0.2209, allocations: 19.42 kB / 0.6973 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.2209, allocations: 4 kB / 0.6974 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of Templates: time 0.00684/0.2278, allocations: 2.544 MB / 0.6998 GB, free: 14.5 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: 5.796234547160566]