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.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_IDEAS.Utilities.Math.Examples.IntegerReplicator") translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008346/0.0008346, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009475/0.0009475, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.222/1.222, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8857/0.8857, allocations: 135.2 MB / 426.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002944/0.0002944, allocations: 13.34 kB / 0.5068 GB, free: 5.285 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.146, allocations: 82.31 MB / 0.5872 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.001885/0.1479, allocations: 1.444 MB / 0.5886 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.1494, allocations: 0.9798 MB / 0.5896 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.909e-05/0.1496, allocations: 4 kB / 0.5896 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.1498, allocations: 51.8 kB / 0.5896 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.15, allocations: 63.8 kB / 0.5897 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000565/0.1506, allocations: 182.8 kB / 0.5898 GB, free: 424 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.1508, allocations: 87.81 kB / 0.5899 GB, free: 336 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.434e-05/0.1509, allocations: 25.11 kB / 0.59 GB, free: 312 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.681e-05/0.151, allocations: 55.75 kB / 0.59 GB, free: 256 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.786e-05/0.1511, allocations: 43.83 kB / 0.5901 GB, free: 212 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.1511, allocations: 4 kB / 0.5901 GB, free: 208 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.1512, allocations: 51.84 kB / 0.5901 GB, free: 156 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.5e-05/0.1513, allocations: 39.89 kB / 0.5901 GB, free: 116 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.096e-05/0.1513, allocations: 45.64 kB / 0.5902 GB, free: 64 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.1515, allocations: 144 kB / 0.5903 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.1515, allocations: 0 / 0.5903 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1515, allocations: 4 kB / 0.5903 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.1515, allocations: 0 / 0.5903 GB, free: 15.92 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.0005315/0.1521, allocations: 480.1 kB / 0.5908 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.1521, allocations: 8.031 kB / 0.5908 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.1522, allocations: 15.81 kB / 0.5908 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.1524, allocations: 239.8 kB / 0.591 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.1525, allocations: 4 kB / 0.591 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.1525, allocations: 3.984 kB / 0.591 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.1527, allocations: 104.1 kB / 0.5911 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.1527, allocations: 0 / 0.5911 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.1527, allocations: 0 / 0.5911 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.1527, allocations: 4 kB / 0.5911 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.924e-05/0.1528, allocations: 27.98 kB / 0.5912 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004652/0.1533, allocations: 368.5 kB / 0.5915 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.1535, allocations: 90.66 kB / 0.5916 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.1535, allocations: 3.984 kB / 0.5916 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/0.1537, allocations: 79.47 kB / 0.5917 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.1537, allocations: 0 / 0.5917 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0003477/0.1541, allocations: 230.6 kB / 0.5919 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.1541, allocations: 102.8 kB / 0.592 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.1544, allocations: 266.9 kB / 0.5923 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.1544, allocations: 25.7 kB / 0.5923 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.328e-05/0.1545, allocations: 124 kB / 0.5924 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.1545, allocations: 15.81 kB / 0.5924 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-06/0.1545, allocations: 0 / 0.5924 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1546, allocations: 330.8 kB / 0.5927 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.158e-05/0.1547, allocations: 27.98 kB / 0.5928 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.257e-05/0.1548, allocations: 72.2 kB / 0.5928 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.79e-05/0.1549, allocations: 31.98 kB / 0.5929 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1549, allocations: 0 / 0.5929 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001952/0.1551, allocations: 117.4 kB / 0.593 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.1551, allocations: 8.031 kB / 0.593 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1551, allocations: 0 / 0.593 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.1551, allocations: 4 kB / 0.593 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.082e-05/0.1552, allocations: 11.98 kB / 0.593 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.1552, allocations: 4 kB / 0.593 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.803e-05/0.1553, allocations: 7.891 kB / 0.593 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1553, allocations: 4 kB / 0.593 GB, free: 12.88 MB / 0.4981 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 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.y,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.1554, allocations: 142.7 kB / 0.5931 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.1554, allocations: 19.81 kB / 0.5932 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.724e-05/0.1555, allocations: 25.27 kB / 0.5932 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.1555, allocations: 4 kB / 0.5932 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1555, allocations: 0 / 0.5932 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1555, allocations: 0 / 0.5932 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.1557, allocations: 225.5 kB / 0.5934 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1557, allocations: 0 / 0.5934 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.919e-05/0.1557, allocations: 11.98 kB / 0.5934 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1557, allocations: 0 / 0.5934 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.1558, allocations: 0 / 0.5934 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1558, allocations: 0 / 0.5934 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1558, allocations: 4 kB / 0.5934 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.156, allocations: 148.8 kB / 0.5936 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.156, allocations: 92.92 kB / 0.5937 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.1561, allocations: 7.984 kB / 0.5937 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.188e-05/0.1561, allocations: 4 kB / 0.5937 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.1562, allocations: 7.984 kB / 0.5937 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.1562, allocations: 3.938 kB / 0.5937 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000156/0.1564, allocations: 200.6 kB / 0.5939 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1564, allocations: 3.938 kB / 0.5939 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002169/0.1566, allocations: 28 kB / 0.5939 GB, free: 11.87 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007959/0.1574, allocations: 426.7 kB / 0.5943 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001784/0.1576, allocations: 63.97 kB / 0.5944 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1576, allocations: 0 / 0.5944 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.526e-05/0.1577, allocations: 43.98 kB / 0.5944 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.1579, allocations: 46.69 kB / 0.5945 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000439/0.1583, allocations: 310 kB / 0.5948 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.1586, allocations: 0.7282 MB / 0.5955 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.286e-05/0.1587, allocations: 25.36 kB / 0.5955 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.1587, allocations: 23.44 kB / 0.5955 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1587, allocations: 4 kB / 0.5955 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of Templates: time 0.004551/0.1633, allocations: 2.338 MB / 0.5978 GB, free: 8.043 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: