Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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.00147/0.00147, allocations: 107.1 kB / 16.4 MB, free: 6.504 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.001412/0.001413, allocations: 198.7 kB / 19.36 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.1 MB / 227.2 MB, free: 12.15 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2929/0.2929, allocations: 54.95 MB / 331.6 MB, free: 2.75 MB / 270.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator") translateModel(Annex60.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 66.88 kB / 464.9 MB, free: 376 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1587, allocations: 59.6 MB / 0.5122 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.IntegerReplicator): time 0.003694/0.1624, allocations: 1.739 MB / 0.5139 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.1644, allocations: 1.022 MB / 0.5149 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.138e-05/0.1645, allocations: 0 / 0.5149 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004376/0.1649, allocations: 67.67 kB / 0.515 GB, free: 1.969 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.1652, allocations: 75.67 kB / 0.515 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005985/0.1658, allocations: 198.7 kB / 0.5152 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002309/0.1661, allocations: 139.7 kB / 0.5154 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.1662, allocations: 37.03 kB / 0.5154 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.1664, allocations: 59.77 kB / 0.5155 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.1665, allocations: 67.69 kB / 0.5155 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.957e-05/0.1665, allocations: 8 kB / 0.5155 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.1667, allocations: 75.88 kB / 0.5156 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.1668, allocations: 39.91 kB / 0.5156 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.143e-05/0.1669, allocations: 59.55 kB / 0.5157 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003717/0.1673, allocations: 191.3 kB / 0.5159 GB, free: 1.039 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1673, allocations: 0 / 0.5159 GB, free: 1.039 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.119e-06/0.1673, allocations: 0 / 0.5159 GB, free: 1.039 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.1673, allocations: 7.938 kB / 0.5159 GB, free: 1.031 MB / 398.1 MB 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.0008968/0.1682, allocations: 0.4922 MB / 0.5164 GB, free: 496 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.1683, allocations: 8.031 kB / 0.5164 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.713e-05/0.1684, allocations: 16.84 kB / 0.5164 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004293/0.1688, allocations: 261.3 kB / 0.5166 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.1688, allocations: 3.984 kB / 0.5166 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.1689, allocations: 4 kB / 0.5166 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/0.1692, allocations: 100.2 kB / 0.5167 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1692, allocations: 0 / 0.5167 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.1692, allocations: 0 / 0.5167 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.921e-05/0.1692, allocations: 4 kB / 0.5167 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.1694, allocations: 31.97 kB / 0.5168 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007293/0.1701, allocations: 356.6 kB / 0.5171 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.1704, allocations: 94.7 kB / 0.5172 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.596e-05/0.1704, allocations: 28.84 kB / 0.5172 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.1705, allocations: 8 kB / 0.5172 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001969/0.1707, allocations: 79.31 kB / 0.5173 GB, free: 15.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.693e-06/0.1707, allocations: 0 / 0.5173 GB, free: 15.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004136/0.1711, allocations: 149.5 kB / 0.5175 GB, free: 15.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.071e-05/0.1712, allocations: 110.8 kB / 0.5176 GB, free: 15.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.1715, allocations: 256.9 kB / 0.5178 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.1716, allocations: 25.7 kB / 0.5178 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.1717, allocations: 124.1 kB / 0.518 GB, free: 14.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.1717, allocations: 11.91 kB / 0.518 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-05/0.1718, allocations: 33.7 kB / 0.518 GB, free: 14.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1719, allocations: 322.8 kB / 0.5183 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.483e-05/0.172, allocations: 27.98 kB / 0.5183 GB, free: 14.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.1722, allocations: 76.2 kB / 0.5184 GB, free: 14.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.1723, allocations: 65.69 kB / 0.5185 GB, free: 14.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1723, allocations: 4 kB / 0.5185 GB, free: 14.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002302/0.1726, allocations: 113.7 kB / 0.5186 GB, free: 13.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1726, allocations: 8 kB / 0.5186 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1726, allocations: 3.938 kB / 0.5186 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.1726, allocations: 0 / 0.5186 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.1727, allocations: 19.92 kB / 0.5186 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1728, allocations: 0 / 0.5186 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.653e-05/0.1728, allocations: 15.89 kB / 0.5186 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.1728, allocations: 400 / 0.5186 GB, free: 13.95 MB / 414.1 MB 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.0001654/0.173, allocations: 141.8 kB / 0.5188 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.1731, allocations: 19.94 kB / 0.5188 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.4e-05/0.1731, allocations: 21.41 kB / 0.5188 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.1731, allocations: 7.875 kB / 0.5188 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1731, allocations: 48 / 0.5188 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.1732, allocations: 7.969 kB / 0.5188 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/0.1734, allocations: 221.6 kB / 0.519 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1734, allocations: 0 / 0.519 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.855e-05/0.1735, allocations: 4 kB / 0.519 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.1735, allocations: 0 / 0.519 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.1735, allocations: 7.938 kB / 0.519 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.1735, allocations: 11.94 kB / 0.5191 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1735, allocations: 0 / 0.5191 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004171/0.1739, allocations: 137 kB / 0.5192 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.142e-05/0.174, allocations: 97 kB / 0.5193 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.174, allocations: 8 kB / 0.5193 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.486e-05/0.1741, allocations: 7.938 kB / 0.5193 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.16e-05/0.1742, allocations: 7.984 kB / 0.5193 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.1742, allocations: 0 / 0.5193 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001992/0.1744, allocations: 203.3 kB / 0.5195 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1744, allocations: 0 / 0.5195 GB, free: 12.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.1747, allocations: 43.88 kB / 0.5195 GB, free: 12.92 MB / 414.1 MB 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.001561/0.1762, allocations: 424.4 kB / 0.5199 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002566/0.1765, allocations: 67.95 kB / 0.52 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1765, allocations: 0 / 0.52 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.577e-05/0.1766, allocations: 39.98 kB / 0.52 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.1769, allocations: 43.77 kB / 0.5201 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005696/0.1775, allocations: 298.6 kB / 0.5204 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.1779, allocations: 0.724 MB / 0.5211 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.133e-05/0.178, allocations: 25.38 kB / 0.5211 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.052e-05/0.1781, allocations: 19.44 kB / 0.5211 GB, free: 11.43 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1781, allocations: 0 / 0.5211 GB, free: 11.43 MB / 414.1 MB Notification: Performance of Templates: time 0.007817/0.1859, allocations: 2.529 MB / 0.5236 GB, free: 8.91 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.521592752076685]