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.001262/0.001262, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001399/0.001399, allocations: 224.3 kB / 23 MB, free: 4.914 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.41/1.41, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.8311/0.8311, allocations: 134 MB / 447.2 MB, free: 9.945 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.001976/0.001976, allocations: 63.78 kB / 0.6197 GB, free: 6.402 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1636, allocations: 85.91 MB / 0.7036 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003387/0.167, allocations: 1.767 MB / 0.7053 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002146/0.1692, allocations: 1.189 MB / 0.7065 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.381e-05/0.1692, allocations: 0 / 0.7065 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003016/0.1695, allocations: 63.67 kB / 0.7066 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003384/0.1699, allocations: 127.5 kB / 0.7067 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005147/0.1704, allocations: 198.8 kB / 0.7069 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.1706, allocations: 163.5 kB / 0.707 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1707, allocations: 9.641 kB / 0.707 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.1708, allocations: 75.69 kB / 0.7071 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.171, allocations: 67.73 kB / 0.7072 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.171, allocations: 7.938 kB / 0.7072 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.1712, allocations: 79.88 kB / 0.7072 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.646e-05/0.1713, allocations: 39.84 kB / 0.7073 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.518e-05/0.1713, allocations: 51.73 kB / 0.7073 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003033/0.1716, allocations: 211.1 kB / 0.7075 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.1716, allocations: 0 / 0.7075 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1716, allocations: 0 / 0.7075 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.1716, allocations: 0 / 0.7075 GB, free: 12.52 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.0007673/0.1724, allocations: 434.8 kB / 0.708 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.1724, allocations: 12.03 kB / 0.708 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.289e-05/0.1725, allocations: 20.8 kB / 0.708 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.1728, allocations: 186.2 kB / 0.7082 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1728, allocations: 384 / 0.7082 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.1729, allocations: 24.09 kB / 0.7082 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.1731, allocations: 113 kB / 0.7083 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1731, allocations: 0 / 0.7083 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1731, allocations: 0 / 0.7083 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.1731, allocations: 4 kB / 0.7083 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.1732, allocations: 39.97 kB / 0.7083 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005027/0.1737, allocations: 288.4 kB / 0.7086 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.174, allocations: 86.64 kB / 0.7087 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.772e-05/0.174, allocations: 36.84 kB / 0.7087 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.1741, allocations: 4.031 kB / 0.7087 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.1742, allocations: 83.36 kB / 0.7088 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.1742, allocations: 0 / 0.7088 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0003707/0.1746, allocations: 149.5 kB / 0.709 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.1747, allocations: 81.11 kB / 0.709 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.175, allocations: 276.2 kB / 0.7093 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.175, allocations: 25.7 kB / 0.7093 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.605e-05/0.1751, allocations: 124 kB / 0.7094 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.1751, allocations: 23.8 kB / 0.7095 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.1751, allocations: 29.7 kB / 0.7095 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1753, allocations: 334.8 kB / 0.7098 GB, free: 10 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.058e-05/0.1754, allocations: 23.98 kB / 0.7098 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.1755, allocations: 122.8 kB / 0.7099 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.1756, allocations: 77.67 kB / 0.71 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1756, allocations: 0 / 0.71 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00022/0.1759, allocations: 113.5 kB / 0.7101 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1759, allocations: 4 kB / 0.7101 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/0.1759, allocations: 8.062 kB / 0.7101 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.1759, allocations: 0 / 0.7101 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.556e-05/0.176, allocations: 15.92 kB / 0.7102 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.176, allocations: 4 kB / 0.7102 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.927e-05/0.1761, allocations: 3.953 kB / 0.7102 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.1761, allocations: 4 kB / 0.7102 GB, free: 9.594 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.000132/0.1762, allocations: 145.8 kB / 0.7103 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/0.1762, allocations: 23.89 kB / 0.7103 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002901/0.1765, allocations: 131 kB / 0.7105 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.1765, allocations: 4 kB / 0.7105 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1765, allocations: 4 kB / 0.7105 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1765, allocations: 0 / 0.7105 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.1767, allocations: 169.1 kB / 0.7106 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1767, allocations: 0 / 0.7106 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.541e-05/0.1768, allocations: 8 kB / 0.7106 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1768, allocations: 0 / 0.7106 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.1768, allocations: 0 / 0.7106 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.1768, allocations: 0 / 0.7106 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.1768, allocations: 4 kB / 0.7106 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.177, allocations: 160.8 kB / 0.7108 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.477e-05/0.1771, allocations: 16.09 kB / 0.7108 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.1771, allocations: 8 kB / 0.7108 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.191e-05/0.1772, allocations: 3.938 kB / 0.7108 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.1772, allocations: 7.984 kB / 0.7108 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.1772, allocations: 7.984 kB / 0.7108 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002149/0.1774, allocations: 204.6 kB / 0.711 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1774, allocations: 3.938 kB / 0.711 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002464/0.1777, allocations: 35.92 kB / 0.7111 GB, free: 8.613 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 (8): * Single equations (assignments): 5 * 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.001596/0.1793, allocations: 451.7 kB / 0.7115 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002296/0.1795, allocations: 71.84 kB / 0.7116 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.1795, allocations: 4 kB / 0.7116 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.862e-05/0.1796, allocations: 43.84 kB / 0.7116 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.1799, allocations: 39.2 kB / 0.7116 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005706/0.1805, allocations: 336.5 kB / 0.712 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.1806, allocations: 122.5 kB / 0.7121 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.505e-05/0.1806, allocations: 27.42 kB / 0.7121 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of SimCode: time 4.01e-07/0.1806, allocations: 0 / 0.7121 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of Templates: time 0.005581/0.1862, allocations: 2.709 MB / 0.7148 GB, free: 4.992 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.084048200864345] Failed to read output from testmodel.py, exit status != 0: 0.19403700111433864 0.20904847599999996 0.034434854 Calling exit ...