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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, 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/package.mo): time 0.7045/0.7045, allocations: 132.2 MB / 148.9 MB, free: 12.15 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.432/1.432, allocations: 222.9 MB / 403.4 MB, free: 7.043 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.001029/0.001029, allocations: 107.5 kB / 484.3 MB, free: 8.688 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009617/0.0009617, allocations: 55.92 kB / 0.5618 GB, free: 71.04 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1401, allocations: 80.2 MB / 0.6402 GB, free: 6.766 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003446/0.1436, allocations: 1.832 MB / 0.642 GB, free: 4.914 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.1454, allocations: 1.088 MB / 0.643 GB, free: 3.816 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.977e-05/0.1455, allocations: 3.938 kB / 0.643 GB, free: 3.812 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003514/0.1458, allocations: 51.88 kB / 0.6431 GB, free: 3.762 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002611/0.1461, allocations: 71.72 kB / 0.6431 GB, free: 3.691 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007355/0.1469, allocations: 199.5 kB / 0.6433 GB, free: 3.5 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.1471, allocations: 135.6 kB / 0.6435 GB, free: 3.367 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.1473, allocations: 21.09 kB / 0.6435 GB, free: 3.344 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.1474, allocations: 55.72 kB / 0.6435 GB, free: 3.289 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.1476, allocations: 59.75 kB / 0.6436 GB, free: 3.23 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.1476, allocations: 11.94 kB / 0.6436 GB, free: 3.219 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.1478, allocations: 59.95 kB / 0.6437 GB, free: 3.16 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.866e-05/0.1479, allocations: 35.91 kB / 0.6437 GB, free: 3.125 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.079e-05/0.148, allocations: 51.61 kB / 0.6437 GB, free: 3.074 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003217/0.1483, allocations: 199.6 kB / 0.6439 GB, free: 2.879 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1483, allocations: 0 / 0.6439 GB, free: 2.879 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1483, allocations: 0 / 0.6439 GB, free: 2.879 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1483, allocations: 0 / 0.6439 GB, free: 2.879 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.0007136/0.149, allocations: 492.3 kB / 0.6444 GB, free: 2.344 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1491, allocations: 8.031 kB / 0.6444 GB, free: 2.336 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.602e-05/0.1492, allocations: 20.75 kB / 0.6444 GB, free: 2.316 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.1495, allocations: 250.2 kB / 0.6447 GB, free: 2.035 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1495, allocations: 384 / 0.6447 GB, free: 2.035 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.1496, allocations: 12.12 kB / 0.6447 GB, free: 2.023 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.1498, allocations: 96.16 kB / 0.6448 GB, free: 1.914 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/0.1498, allocations: 0 / 0.6448 GB, free: 1.914 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.1499, allocations: 3.984 kB / 0.6448 GB, free: 1.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.1499, allocations: 11.94 kB / 0.6448 GB, free: 1.898 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.15, allocations: 35.92 kB / 0.6448 GB, free: 1.863 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005672/0.1506, allocations: 348.7 kB / 0.6452 GB, free: 1.473 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.1508, allocations: 94.64 kB / 0.6452 GB, free: 1.371 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.707e-05/0.1509, allocations: 36.88 kB / 0.6453 GB, free: 1.332 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.1509, allocations: 4 kB / 0.6453 GB, free: 1.328 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000268/0.1512, allocations: 79.38 kB / 0.6454 GB, free: 1.238 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.1512, allocations: 0 / 0.6454 GB, free: 1.238 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003695/0.1516, allocations: 133.7 kB / 0.6455 GB, free: 1.102 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/0.1517, allocations: 110.8 kB / 0.6456 GB, free: 0.9688 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.1519, allocations: 274.8 kB / 0.6459 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.152, allocations: 25.7 kB / 0.6459 GB, free: 0.6602 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.078e-05/0.152, allocations: 116.1 kB / 0.646 GB, free: 0.543 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.1521, allocations: 15.81 kB / 0.646 GB, free: 0.5273 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.323e-05/0.1521, allocations: 29.7 kB / 0.646 GB, free: 0.4922 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1523, allocations: 330.8 kB / 0.6464 GB, free: 164 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.975e-05/0.1523, allocations: 23.98 kB / 0.6464 GB, free: 140 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.1524, allocations: 76.27 kB / 0.6464 GB, free: 48 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.1526, allocations: 73.98 kB / 0.6465 GB, free: 15.96 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1526, allocations: 0 / 0.6465 GB, free: 15.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000224/0.1529, allocations: 113.5 kB / 0.6466 GB, free: 15.85 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.1529, allocations: 8 kB / 0.6466 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.1529, allocations: 4 kB / 0.6466 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1529, allocations: 0 / 0.6466 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.37e-05/0.153, allocations: 19.97 kB / 0.6467 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.153, allocations: 0 / 0.6467 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.893e-05/0.1531, allocations: 19.77 kB / 0.6467 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.1531, allocations: 0 / 0.6467 GB, free: 15.8 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.0001335/0.1533, allocations: 149.8 kB / 0.6468 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.1533, allocations: 15.81 kB / 0.6468 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.285e-05/0.1534, allocations: 21.39 kB / 0.6469 GB, free: 15.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.1534, allocations: 0 / 0.6469 GB, free: 15.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1534, allocations: 7.938 kB / 0.6469 GB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1534, allocations: 3.938 kB / 0.6469 GB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.1536, allocations: 225.6 kB / 0.6471 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1536, allocations: 0 / 0.6471 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.797e-05/0.1536, allocations: 4 kB / 0.6471 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.1537, allocations: 0 / 0.6471 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.1537, allocations: 3.984 kB / 0.6471 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1537, allocations: 4 kB / 0.6471 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1537, allocations: 0 / 0.6471 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005782/0.1543, allocations: 0.7447 MB / 0.6478 GB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.769e-05/0.1543, allocations: 100.8 kB / 0.6479 GB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.1544, allocations: 3.938 kB / 0.6479 GB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.527e-05/0.1544, allocations: 4 kB / 0.6479 GB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.1545, allocations: 15.83 kB / 0.6479 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.1545, allocations: 4 kB / 0.6479 GB, free: 14.36 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001675/0.1547, allocations: 196.4 kB / 0.6481 GB, free: 14.17 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1547, allocations: 4 kB / 0.6481 GB, free: 14.16 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003409/0.1551, allocations: 36 kB / 0.6482 GB, free: 14.13 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.000963/0.156, allocations: 429.2 kB / 0.6486 GB, free: 13.86 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.1562, allocations: 67.91 kB / 0.6486 GB, free: 13.79 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1563, allocations: 0 / 0.6486 GB, free: 13.79 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.099e-05/0.1564, allocations: 35.97 kB / 0.6487 GB, free: 13.76 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.1567, allocations: 46.5 kB / 0.6487 GB, free: 13.71 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006051/0.1573, allocations: 455.5 kB / 0.6492 GB, free: 13.23 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.1575, allocations: 0.7204 MB / 0.6499 GB, free: 12.49 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.264e-05/0.1576, allocations: 29.36 kB / 0.6499 GB, free: 12.46 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.449e-05/0.1577, allocations: 19.42 kB / 0.6499 GB, free: 12.44 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1577, allocations: 4 kB / 0.6499 GB, free: 12.44 MB / 458.7 MB Notification: Performance of Templates: time 0.005639/0.1633, allocations: 2.482 MB / 0.6523 GB, free: 9.977 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.makefile (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)