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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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=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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 109.9 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001614/0.001615, allocations: 183 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.84/0.84, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 67.52 kB / 0.5863 GB, free: 21.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1432, allocations: 80.92 MB / 0.6653 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003002/0.1463, allocations: 1.766 MB / 0.667 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.1479, allocations: 1.107 MB / 0.6681 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.537e-05/0.148, allocations: 0 / 0.6681 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000292/0.1483, allocations: 59.73 kB / 0.6682 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.1486, allocations: 79.61 kB / 0.6682 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006491/0.1492, allocations: 226.7 kB / 0.6685 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000224/0.1495, allocations: 143.7 kB / 0.6686 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1496, allocations: 25.11 kB / 0.6686 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.1497, allocations: 71.7 kB / 0.6687 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.1499, allocations: 63.75 kB / 0.6687 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.1499, allocations: 8 kB / 0.6688 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.1501, allocations: 67.94 kB / 0.6688 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.913e-05/0.1501, allocations: 39.84 kB / 0.6689 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.012e-05/0.1502, allocations: 59.61 kB / 0.6689 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.1505, allocations: 199.4 kB / 0.6691 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1505, allocations: 0 / 0.6691 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1505, allocations: 0 / 0.6691 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.1506, allocations: 0 / 0.6691 GB, free: 1.887 MB / 0.4981 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.0007047/0.1513, allocations: 0.4885 MB / 0.6696 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.1513, allocations: 9.109 kB / 0.6696 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.049e-05/0.1514, allocations: 16.75 kB / 0.6696 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.1517, allocations: 248.9 kB / 0.6698 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.1518, allocations: 8.375 kB / 0.6699 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.1518, allocations: 4.125 kB / 0.6699 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.152, allocations: 100.2 kB / 0.67 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.152, allocations: 0 / 0.67 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.152, allocations: 11.98 kB / 0.67 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.1521, allocations: 3.938 kB / 0.67 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.1522, allocations: 35.97 kB / 0.67 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005212/0.1527, allocations: 348.8 kB / 0.6703 GB, free: 480 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.153, allocations: 90.59 kB / 0.6704 GB, free: 380 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.568e-05/0.153, allocations: 32.84 kB / 0.6705 GB, free: 344 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.1531, allocations: 0 / 0.6705 GB, free: 344 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.1532, allocations: 83.28 kB / 0.6705 GB, free: 248 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.1533, allocations: 0 / 0.6705 GB, free: 248 kB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.00037/0.1536, allocations: 145.4 kB / 0.6707 GB, free: 96 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/0.1537, allocations: 110.8 kB / 0.6708 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.154, allocations: 258.8 kB / 0.671 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.154, allocations: 33.7 kB / 0.6711 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.789e-05/0.1541, allocations: 116.1 kB / 0.6712 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.1541, allocations: 15.81 kB / 0.6712 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.1542, allocations: 25.7 kB / 0.6712 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1543, allocations: 330.8 kB / 0.6715 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.762e-05/0.1544, allocations: 35.92 kB / 0.6716 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.1545, allocations: 72.2 kB / 0.6716 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.1547, allocations: 73.98 kB / 0.6717 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1547, allocations: 0 / 0.6717 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000226/0.1549, allocations: 117.3 kB / 0.6718 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1549, allocations: 8.031 kB / 0.6718 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.155, allocations: 0 / 0.6718 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.155, allocations: 0 / 0.6718 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.1551, allocations: 19.98 kB / 0.6718 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1551, allocations: 0 / 0.6718 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.03e-05/0.1552, allocations: 11.88 kB / 0.6718 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.1552, allocations: 4 kB / 0.6718 GB, free: 14.8 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.0001314/0.1553, allocations: 142.7 kB / 0.672 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.1554, allocations: 19.8 kB / 0.672 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.319e-05/0.1554, allocations: 21.41 kB / 0.672 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.1554, allocations: 4 kB / 0.672 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1554, allocations: 0 / 0.672 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.1555, allocations: 7.922 kB / 0.672 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.1557, allocations: 221.6 kB / 0.6722 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1557, allocations: 192 / 0.6722 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.074e-05/0.1557, allocations: 4 kB / 0.6722 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.1558, allocations: 7.938 kB / 0.6723 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.016e-06/0.1558, allocations: 0 / 0.6723 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1558, allocations: 0 / 0.6723 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1558, allocations: 0 / 0.6723 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.156, allocations: 148.8 kB / 0.6724 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.066e-05/0.1561, allocations: 88.92 kB / 0.6725 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.1561, allocations: 7.984 kB / 0.6725 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.51e-05/0.1562, allocations: 0 / 0.6725 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/0.1563, allocations: 15.92 kB / 0.6725 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.1563, allocations: 7.938 kB / 0.6725 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001842/0.1565, allocations: 196.6 kB / 0.6727 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.11e-07/0.1565, allocations: 0 / 0.6727 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002628/0.1568, allocations: 39.92 kB / 0.6727 GB, free: 13.79 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.001003/0.1578, allocations: 432.5 kB / 0.6732 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002245/0.158, allocations: 63.97 kB / 0.6732 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.158, allocations: 7.938 kB / 0.6732 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.388e-05/0.1581, allocations: 35.97 kB / 0.6733 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.1584, allocations: 41.34 kB / 0.6733 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005533/0.159, allocations: 316.5 kB / 0.6736 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.1593, allocations: 0.724 MB / 0.6743 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.469e-05/0.1594, allocations: 23.42 kB / 0.6743 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.1594, allocations: 4 kB / 0.6743 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of Templates: time 0.004847/0.1642, allocations: 2.612 MB / 0.6769 GB, free: 9.652 MB / 0.5137 GB 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)