Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator") translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7181/0.7181, allocations: 133.3 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 222.9 MB / 404.7 MB, free: 6.031 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 106.7 kB / 485.9 MB, free: 7.172 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 55.92 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.155, allocations: 80.43 MB / 0.6421 GB, free: 5.434 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003904/0.159, allocations: 1.821 MB / 0.6439 GB, free: 3.594 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.1608, allocations: 1.096 MB / 0.645 GB, free: 2.488 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.161, allocations: 4 kB / 0.645 GB, free: 2.484 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.1613, allocations: 55.81 kB / 0.645 GB, free: 2.43 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.1616, allocations: 63.8 kB / 0.6451 GB, free: 2.367 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006153/0.1622, allocations: 195.5 kB / 0.6453 GB, free: 2.18 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002203/0.1624, allocations: 135.6 kB / 0.6454 GB, free: 2.047 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.1626, allocations: 25.12 kB / 0.6454 GB, free: 2.02 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.1627, allocations: 63.64 kB / 0.6455 GB, free: 1.957 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.1629, allocations: 59.75 kB / 0.6456 GB, free: 1.898 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.1629, allocations: 4 kB / 0.6456 GB, free: 1.895 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.1631, allocations: 67.89 kB / 0.6456 GB, free: 1.828 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.45e-05/0.1632, allocations: 31.91 kB / 0.6457 GB, free: 1.797 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.224e-05/0.1633, allocations: 55.59 kB / 0.6457 GB, free: 1.742 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003366/0.1636, allocations: 191.7 kB / 0.6459 GB, free: 1.555 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.1637, allocations: 0 / 0.6459 GB, free: 1.555 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1637, allocations: 4 kB / 0.6459 GB, free: 1.551 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1637, allocations: 0 / 0.6459 GB, free: 1.551 MB / 442.7 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.0008504/0.1645, allocations: 488.3 kB / 0.6464 GB, free: 1.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.1646, allocations: 12.03 kB / 0.6464 GB, free: 1.008 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.835e-05/0.1647, allocations: 24.67 kB / 0.6464 GB, free: 0.9844 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.1651, allocations: 244.9 kB / 0.6466 GB, free: 0.707 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.1651, allocations: 8.375 kB / 0.6466 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.1651, allocations: 12.06 kB / 0.6467 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.1653, allocations: 96.17 kB / 0.6467 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.1653, allocations: 0 / 0.6467 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.1654, allocations: 3.984 kB / 0.6468 GB, free: 0.5742 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/0.1654, allocations: 3.984 kB / 0.6468 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.1655, allocations: 39.92 kB / 0.6468 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005266/0.166, allocations: 360.6 kB / 0.6471 GB, free: 132 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.1663, allocations: 82.67 kB / 0.6472 GB, free: 40 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.692e-05/0.1664, allocations: 32.83 kB / 0.6472 GB, free: 4 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.1664, allocations: 0 / 0.6472 GB, free: 4 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003405/0.1668, allocations: 87.45 kB / 0.6473 GB, free: 15.91 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 2.194e-06/0.1668, allocations: 7.938 kB / 0.6473 GB, free: 15.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004476/0.1672, allocations: 129.5 kB / 0.6475 GB, free: 15.77 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.74e-05/0.1673, allocations: 106.8 kB / 0.6476 GB, free: 15.64 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.1676, allocations: 270.7 kB / 0.6478 GB, free: 15.36 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.1677, allocations: 29.7 kB / 0.6479 GB, free: 15.33 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.113e-05/0.1677, allocations: 112.1 kB / 0.648 GB, free: 15.21 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.1678, allocations: 15.81 kB / 0.648 GB, free: 15.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.124e-05/0.1678, allocations: 29.69 kB / 0.648 GB, free: 15.16 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.168, allocations: 338.8 kB / 0.6483 GB, free: 14.82 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.029e-05/0.1681, allocations: 23.98 kB / 0.6483 GB, free: 14.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.548e-05/0.1682, allocations: 72.2 kB / 0.6484 GB, free: 14.71 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.1683, allocations: 65.7 kB / 0.6485 GB, free: 14.64 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1683, allocations: 4 kB / 0.6485 GB, free: 14.64 MB / 458.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002188/0.1685, allocations: 113.4 kB / 0.6486 GB, free: 14.52 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1686, allocations: 4 kB / 0.6486 GB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.1686, allocations: 7.984 kB / 0.6486 GB, free: 14.51 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.1686, allocations: 0 / 0.6486 GB, free: 14.51 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.556e-05/0.1687, allocations: 8 kB / 0.6486 GB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1687, allocations: 4.188 kB / 0.6486 GB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.798e-05/0.1688, allocations: 15.78 kB / 0.6486 GB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.1688, allocations: 7.922 kB / 0.6486 GB, free: 14.47 MB / 458.7 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.0001302/0.169, allocations: 156.5 kB / 0.6488 GB, free: 14.31 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.169, allocations: 15.81 kB / 0.6488 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.056e-05/0.169, allocations: 17.8 kB / 0.6488 GB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.1691, allocations: 7.984 kB / 0.6488 GB, free: 14.28 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1691, allocations: 0 / 0.6488 GB, free: 14.28 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1691, allocations: 7.875 kB / 0.6488 GB, free: 14.27 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.1693, allocations: 221.6 kB / 0.649 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1693, allocations: 4 kB / 0.649 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.784e-05/0.1693, allocations: 4 kB / 0.6491 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1693, allocations: 4 kB / 0.6491 GB, free: 13.99 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-06/0.1693, allocations: 0 / 0.6491 GB, free: 13.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1694, allocations: 3.984 kB / 0.6491 GB, free: 13.99 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1694, allocations: 4 kB / 0.6491 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005486/0.1699, allocations: 0.7407 MB / 0.6498 GB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.17, allocations: 92.92 kB / 0.6499 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.17, allocations: 11.92 kB / 0.6499 GB, free: 13.06 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.402e-05/0.1701, allocations: 8 kB / 0.6499 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.1701, allocations: 7.984 kB / 0.6499 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.1702, allocations: 3.984 kB / 0.6499 GB, free: 13.04 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001576/0.1703, allocations: 192.6 kB / 0.6501 GB, free: 12.86 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1703, allocations: 0 / 0.6501 GB, free: 12.86 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003456/0.1707, allocations: 39.98 kB / 0.6501 GB, free: 12.82 MB / 458.7 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.0009332/0.1716, allocations: 443.9 kB / 0.6506 GB, free: 12.54 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002042/0.1718, allocations: 67.95 kB / 0.6506 GB, free: 12.47 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1718, allocations: 0 / 0.6506 GB, free: 12.47 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.696e-05/0.1719, allocations: 35.92 kB / 0.6506 GB, free: 12.43 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.1722, allocations: 35.97 kB / 0.6507 GB, free: 12.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000594/0.1728, allocations: 447.5 kB / 0.6511 GB, free: 11.93 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.1731, allocations: 0.7282 MB / 0.6518 GB, free: 11.17 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.054e-05/0.1732, allocations: 25.38 kB / 0.6518 GB, free: 11.15 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.1732, allocations: 19.42 kB / 0.6519 GB, free: 11.13 MB / 458.7 MB Notification: Performance of SimCode: time 3.5e-07/0.1733, allocations: 0 / 0.6519 GB, free: 11.13 MB / 458.7 MB Notification: Performance of Templates: time 0.005051/0.1783, allocations: 2.481 MB / 0.6543 GB, free: 8.664 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)