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.00196/0.00196, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002236/0.002236, allocations: 215.5 kB / 22.24 MB, free: 5.238 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.564/1.564, allocations: 230.6 MB / 256 MB, free: 7.777 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.9153/0.9153, allocations: 134 MB / 446.4 MB, free: 9.949 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.002124/0.002124, allocations: 71.84 kB / 0.619 GB, free: 6.371 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.19, allocations: 85.9 MB / 0.7029 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003649/0.1937, allocations: 1.769 MB / 0.7046 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002389/0.1961, allocations: 1.189 MB / 0.7058 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.849e-05/0.1962, allocations: 0 / 0.7058 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004063/0.1966, allocations: 63.67 kB / 0.7058 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004028/0.197, allocations: 115.5 kB / 0.7059 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006343/0.1976, allocations: 210 kB / 0.7061 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002796/0.1979, allocations: 163.5 kB / 0.7063 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.198, allocations: 9.625 kB / 0.7063 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.1981, allocations: 71.7 kB / 0.7064 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.1983, allocations: 71.67 kB / 0.7064 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.1983, allocations: 8 kB / 0.7064 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002134/0.1985, allocations: 75.88 kB / 0.7065 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.1987, allocations: 47.83 kB / 0.7066 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.162e-05/0.1988, allocations: 51.67 kB / 0.7066 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004304/0.1992, allocations: 211.1 kB / 0.7068 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.1992, allocations: 4 kB / 0.7068 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.415e-06/0.1992, allocations: 0 / 0.7068 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.458e-05/0.1992, allocations: 0 / 0.7068 GB, free: 12.49 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.0009224/0.2001, allocations: 418.9 kB / 0.7072 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.2002, allocations: 8.031 kB / 0.7072 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.965e-05/0.2003, allocations: 20.8 kB / 0.7072 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004397/0.2007, allocations: 194.2 kB / 0.7074 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.2007, allocations: 12.31 kB / 0.7074 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.2007, allocations: 12.12 kB / 0.7074 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.201, allocations: 121 kB / 0.7076 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.201, allocations: 0 / 0.7076 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.201, allocations: 0 / 0.7076 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.201, allocations: 4 kB / 0.7076 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.2011, allocations: 31.92 kB / 0.7076 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005259/0.2016, allocations: 300.4 kB / 0.7079 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.2019, allocations: 86.75 kB / 0.708 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.604e-05/0.202, allocations: 32.78 kB / 0.708 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.202, allocations: 8 kB / 0.708 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.2022, allocations: 83.36 kB / 0.7081 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.2022, allocations: 0 / 0.7081 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0004094/0.2026, allocations: 145.5 kB / 0.7082 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.2026, allocations: 89.05 kB / 0.7083 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.203, allocations: 264.2 kB / 0.7086 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.128e-05/0.203, allocations: 37.69 kB / 0.7086 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.2031, allocations: 116.1 kB / 0.7087 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.864e-05/0.2032, allocations: 23.8 kB / 0.7087 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.229e-05/0.2032, allocations: 29.7 kB / 0.7088 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002015/0.2034, allocations: 330.8 kB / 0.7091 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.116e-05/0.2035, allocations: 27.98 kB / 0.7091 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.2036, allocations: 118.8 kB / 0.7092 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.2038, allocations: 77.62 kB / 0.7093 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2038, allocations: 0 / 0.7093 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002456/0.2041, allocations: 113.6 kB / 0.7094 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.2041, allocations: 4 kB / 0.7094 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.2041, allocations: 0 / 0.7094 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.2041, allocations: 8.062 kB / 0.7094 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.2042, allocations: 15.92 kB / 0.7094 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.2042, allocations: 0 / 0.7094 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.36e-05/0.2043, allocations: 15.95 kB / 0.7094 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.2043, allocations: 4 kB / 0.7094 GB, free: 9.57 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.0001618/0.2045, allocations: 145.8 kB / 0.7096 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.2045, allocations: 15.84 kB / 0.7096 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003045/0.2048, allocations: 131 kB / 0.7097 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.2048, allocations: 0 / 0.7097 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.2048, allocations: 4 kB / 0.7097 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.2048, allocations: 3.984 kB / 0.7097 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.205, allocations: 165.2 kB / 0.7099 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.205, allocations: 0 / 0.7099 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.822e-05/0.2051, allocations: 11.98 kB / 0.7099 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2051, allocations: 0 / 0.7099 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.2051, allocations: 3.984 kB / 0.7099 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.2051, allocations: 0 / 0.7099 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2051, allocations: 0 / 0.7099 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.2054, allocations: 157 kB / 0.71 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.2054, allocations: 27.89 kB / 0.7101 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.2054, allocations: 3.938 kB / 0.7101 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.329e-05/0.2055, allocations: 4 kB / 0.7101 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.2056, allocations: 11.98 kB / 0.7101 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.2056, allocations: 4 kB / 0.7101 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002133/0.2058, allocations: 204.6 kB / 0.7103 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.2058, allocations: 0 / 0.7103 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002636/0.2061, allocations: 35.94 kB / 0.7103 GB, free: 8.598 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.001729/0.2078, allocations: 453.3 kB / 0.7108 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002453/0.208, allocations: 75.89 kB / 0.7108 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.208, allocations: 3.938 kB / 0.7108 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.73e-05/0.2081, allocations: 39.92 kB / 0.7109 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.2084, allocations: 45.33 kB / 0.7109 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005994/0.209, allocations: 302.8 kB / 0.7112 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001553/0.2092, allocations: 122.5 kB / 0.7113 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.502e-05/0.2093, allocations: 21.42 kB / 0.7113 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.849e-05/0.2093, allocations: 19.42 kB / 0.7114 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.2093, allocations: 0 / 0.7114 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of Templates: time 0.006932/0.2162, allocations: 2.764 MB / 0.7141 GB, free: 4.973 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: 6.015662908554077] Failed to read output from testmodel.py, exit status != 0: 0.22393526136875153 0.23954810699999995 0.037050734 Calling exit ...