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.00164/0.00164, allocations: 108.2 kB / 16.41 MB, free: 6.504 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.001799/0.001799, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.461/1.461, 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.8672/0.8672, allocations: 135.2 MB / 426.4 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 64.69 kB / 0.5863 GB, free: 21.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1398, allocations: 80.93 MB / 0.6654 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003227/0.143, allocations: 1.77 MB / 0.6671 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001866/0.1449, allocations: 1.107 MB / 0.6682 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.367e-05/0.1449, allocations: 7.938 kB / 0.6682 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003015/0.1452, allocations: 51.73 kB / 0.6682 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.1455, allocations: 83.66 kB / 0.6683 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005947/0.1461, allocations: 231 kB / 0.6685 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.1463, allocations: 143.7 kB / 0.6687 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.104e-05/0.1464, allocations: 17.11 kB / 0.6687 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.1465, allocations: 63.75 kB / 0.6687 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.1466, allocations: 71.69 kB / 0.6688 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.1466, allocations: 8 kB / 0.6688 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.1468, allocations: 67.95 kB / 0.6689 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.816e-05/0.1469, allocations: 39.84 kB / 0.6689 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.517e-05/0.1469, allocations: 63.55 kB / 0.669 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003182/0.1473, allocations: 203.2 kB / 0.6692 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1473, allocations: 0 / 0.6692 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1473, allocations: 0 / 0.6692 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.1473, allocations: 0 / 0.6692 GB, free: 1.926 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.0007085/0.148, allocations: 492.1 kB / 0.6696 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.148, allocations: 9.109 kB / 0.6697 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.393e-05/0.1481, allocations: 20.8 kB / 0.6697 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.1484, allocations: 253 kB / 0.6699 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.1485, allocations: 8.375 kB / 0.6699 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.1485, allocations: 8.125 kB / 0.6699 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.1487, allocations: 100.1 kB / 0.67 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1487, allocations: 0 / 0.67 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.1487, allocations: 4 kB / 0.67 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.1487, allocations: 4 kB / 0.67 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.1489, allocations: 27.98 kB / 0.6701 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005259/0.1494, allocations: 360.7 kB / 0.6704 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.1496, allocations: 86.69 kB / 0.6705 GB, free: 424 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.847e-05/0.1497, allocations: 32.84 kB / 0.6705 GB, free: 388 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.1497, allocations: 0 / 0.6705 GB, free: 388 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.1499, allocations: 83.38 kB / 0.6706 GB, free: 292 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.1499, allocations: 0 / 0.6706 GB, free: 292 kB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0003735/0.1503, allocations: 141.5 kB / 0.6707 GB, free: 144 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.708e-05/0.1503, allocations: 106.8 kB / 0.6708 GB, free: 12 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003107/0.1506, allocations: 262.8 kB / 0.6711 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.1507, allocations: 33.64 kB / 0.6711 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.033e-05/0.1508, allocations: 124 kB / 0.6712 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.1508, allocations: 15.89 kB / 0.6713 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.148e-05/0.1508, allocations: 29.72 kB / 0.6713 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.151, allocations: 334.8 kB / 0.6716 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.405e-05/0.1511, allocations: 23.98 kB / 0.6716 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.1512, allocations: 68.22 kB / 0.6717 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.1514, allocations: 77.69 kB / 0.6718 GB, free: 15 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1514, allocations: 0 / 0.6718 GB, free: 15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002258/0.1516, allocations: 113.4 kB / 0.6719 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1516, allocations: 8 kB / 0.6719 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1516, allocations: 0 / 0.6719 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1516, allocations: 0 / 0.6719 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.659e-05/0.1517, allocations: 19.98 kB / 0.6719 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.1517, allocations: 400 / 0.6719 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.514e-05/0.1518, allocations: 7.938 kB / 0.6719 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.1518, allocations: 4 kB / 0.6719 GB, free: 14.85 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.0001525/0.1519, allocations: 150.7 kB / 0.6721 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.152, allocations: 20.12 kB / 0.6721 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.031e-05/0.152, allocations: 25.33 kB / 0.6721 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.152, allocations: 3.938 kB / 0.6721 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.152, allocations: 0 / 0.6721 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.152, allocations: 7.938 kB / 0.6721 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.1523, allocations: 217.6 kB / 0.6723 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1523, allocations: 0 / 0.6723 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-05/0.1523, allocations: 7.984 kB / 0.6723 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1523, allocations: 4 kB / 0.6723 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.1523, allocations: 7.984 kB / 0.6723 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.1523, allocations: 3.984 kB / 0.6723 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1523, allocations: 0 / 0.6723 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.1526, allocations: 140.9 kB / 0.6725 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.691e-05/0.1527, allocations: 93.02 kB / 0.6726 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.1527, allocations: 7.938 kB / 0.6726 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.928e-05/0.1528, allocations: 11.98 kB / 0.6726 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.1528, allocations: 4 kB / 0.6726 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.1528, allocations: 19.86 kB / 0.6726 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001964/0.153, allocations: 188.6 kB / 0.6728 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.1e-08/0.153, allocations: 4 kB / 0.6728 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002423/0.1533, allocations: 31.94 kB / 0.6728 GB, free: 13.82 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.001535/0.1548, allocations: 424.4 kB / 0.6732 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002312/0.155, allocations: 71.95 kB / 0.6733 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.155, allocations: 0 / 0.6733 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.091e-05/0.1551, allocations: 31.92 kB / 0.6733 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.1554, allocations: 49.73 kB / 0.6734 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005551/0.156, allocations: 320.3 kB / 0.6737 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.1563, allocations: 0.7241 MB / 0.6744 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.104e-05/0.1564, allocations: 23.44 kB / 0.6744 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of SimCode: time 4.01e-07/0.1564, allocations: 3.938 kB / 0.6744 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of Templates: time 0.004911/0.1613, allocations: 2.621 MB / 0.677 GB, free: 9.684 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)