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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.001136/0.001136, allocations: 111.2 kB / 16.41 MB, free: 6.008 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.001207/0.001207, allocations: 185 kB / 17.34 MB, free: 5.629 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.304/1.304, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7692/0.7692, allocations: 132.2 MB / 423.4 MB, free: 6.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 63.52 kB / 0.582 GB, free: 23.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1366, allocations: 80.2 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.00319/0.1398, allocations: 1.771 MB / 0.6621 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001786/0.1416, allocations: 1.111 MB / 0.6631 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.1418, allocations: 3.938 kB / 0.6631 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004187/0.1423, allocations: 55.73 kB / 0.6632 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003384/0.1426, allocations: 75.67 kB / 0.6633 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008273/0.1435, allocations: 226.3 kB / 0.6635 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003167/0.1438, allocations: 147.6 kB / 0.6636 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.144, allocations: 25.12 kB / 0.6637 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.1441, allocations: 63.75 kB / 0.6637 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.1443, allocations: 63.75 kB / 0.6638 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.1443, allocations: 8 kB / 0.6638 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002315/0.1446, allocations: 79.81 kB / 0.6639 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.1447, allocations: 39.84 kB / 0.6639 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.794e-05/0.1448, allocations: 51.69 kB / 0.6639 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004008/0.1452, allocations: 207.3 kB / 0.6641 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1452, allocations: 0 / 0.6641 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1452, allocations: 0 / 0.6641 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.1452, allocations: 0 / 0.6641 GB, free: 6.359 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.0007074/0.1459, allocations: 496.2 kB / 0.6646 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.146, allocations: 8.031 kB / 0.6646 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.292e-05/0.146, allocations: 16.75 kB / 0.6646 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.1464, allocations: 252.9 kB / 0.6649 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1464, allocations: 8.312 kB / 0.6649 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.1465, allocations: 8.125 kB / 0.6649 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.1467, allocations: 88.23 kB / 0.665 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1467, allocations: 0 / 0.665 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.1467, allocations: 4 kB / 0.665 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.1467, allocations: 3.984 kB / 0.665 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.1468, allocations: 35.92 kB / 0.665 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004916/0.1473, allocations: 368.6 kB / 0.6654 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.1476, allocations: 90.7 kB / 0.6655 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.208e-05/0.1477, allocations: 32.84 kB / 0.6655 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.1477, allocations: 3.984 kB / 0.6655 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.1479, allocations: 79.39 kB / 0.6656 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.1479, allocations: 0 / 0.6656 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.00036/0.1482, allocations: 145.4 kB / 0.6657 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.1483, allocations: 102.8 kB / 0.6658 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002729/0.1486, allocations: 266.8 kB / 0.6661 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.1486, allocations: 29.7 kB / 0.6661 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.6e-05/0.1487, allocations: 116.1 kB / 0.6662 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.1487, allocations: 27.66 kB / 0.6662 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.347e-05/0.1488, allocations: 25.7 kB / 0.6663 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1489, allocations: 330.8 kB / 0.6666 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.697e-05/0.149, allocations: 27.98 kB / 0.6666 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.1491, allocations: 72.2 kB / 0.6667 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.1493, allocations: 73.64 kB / 0.6667 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1493, allocations: 0 / 0.6667 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002215/0.1495, allocations: 113.5 kB / 0.6668 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1495, allocations: 4 kB / 0.6668 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1496, allocations: 0 / 0.6668 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1496, allocations: 0 / 0.6668 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.1497, allocations: 19.92 kB / 0.6669 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1497, allocations: 0 / 0.6669 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.165e-05/0.1498, allocations: 15.91 kB / 0.6669 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.1498, allocations: 7.984 kB / 0.6669 GB, free: 3.266 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 ($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.0001357/0.1499, allocations: 145.8 kB / 0.667 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.15, allocations: 15.81 kB / 0.667 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.113e-05/0.15, allocations: 17.41 kB / 0.6671 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.15, allocations: 4 kB / 0.6671 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.15, allocations: 3.984 kB / 0.6671 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.15, allocations: 3.938 kB / 0.6671 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.1502, allocations: 217.6 kB / 0.6673 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1503, allocations: 4 kB / 0.6673 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.041e-05/0.1503, allocations: 4 kB / 0.6673 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1503, allocations: 0 / 0.6673 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.1503, allocations: 4 kB / 0.6673 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1503, allocations: 3.938 kB / 0.6673 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1503, allocations: 3.984 kB / 0.6673 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.1506, allocations: 145.2 kB / 0.6674 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.377e-05/0.1506, allocations: 96.91 kB / 0.6675 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.1507, allocations: 8 kB / 0.6675 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.316e-05/0.1507, allocations: 0 / 0.6675 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.1508, allocations: 11.98 kB / 0.6675 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.1508, allocations: 7.938 kB / 0.6676 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001904/0.151, allocations: 195.2 kB / 0.6677 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.734e-06/0.151, allocations: 0 / 0.6677 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002587/0.1513, allocations: 39.88 kB / 0.6678 GB, free: 2.254 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 (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.0009597/0.1523, allocations: 421.2 kB / 0.6682 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002189/0.1525, allocations: 71.91 kB / 0.6683 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1525, allocations: 0 / 0.6683 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.569e-05/0.1526, allocations: 35.92 kB / 0.6683 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.1529, allocations: 42.78 kB / 0.6683 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005359/0.1534, allocations: 320.4 kB / 0.6686 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.1538, allocations: 0.7241 MB / 0.6693 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.057e-05/0.1538, allocations: 19.42 kB / 0.6694 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1538, allocations: 0 / 0.6694 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of Templates: time 0.004711/0.1585, allocations: 2.623 MB / 0.6719 GB, free: 14.16 MB / 0.5137 GB 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)