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.00109/0.00109, allocations: 111 kB / 16.41 MB, free: 6.469 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.001133/0.001133, allocations: 187 kB / 17.34 MB, free: 5.75 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8031/0.8031, allocations: 132.2 MB / 423.4 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 73.08 kB / 0.582 GB, free: 23.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1319, allocations: 80.2 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003012/0.1349, allocations: 1.766 MB / 0.6621 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.1366, allocations: 1.107 MB / 0.6631 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.746e-05/0.1368, allocations: 3.938 kB / 0.6631 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000295/0.1371, allocations: 67.67 kB / 0.6632 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.1373, allocations: 71.67 kB / 0.6633 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006608/0.138, allocations: 228.4 kB / 0.6635 GB, free: 7 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.1382, allocations: 147.6 kB / 0.6636 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.1384, allocations: 29.12 kB / 0.6637 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.1385, allocations: 63.75 kB / 0.6637 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.1386, allocations: 71.62 kB / 0.6638 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.1387, allocations: 4 kB / 0.6638 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00018/0.1389, allocations: 71.95 kB / 0.6639 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.325e-05/0.1389, allocations: 39.83 kB / 0.6639 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.76e-05/0.139, allocations: 51.69 kB / 0.664 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002943/0.1393, allocations: 203.3 kB / 0.6641 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.1393, allocations: 4 kB / 0.6641 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1393, allocations: 4 kB / 0.6642 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.1393, allocations: 4 kB / 0.6642 GB, free: 6.32 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.0006389/0.14, allocations: 488.2 kB / 0.6646 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.14, allocations: 8.031 kB / 0.6646 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.684e-05/0.1401, allocations: 16.75 kB / 0.6646 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.1404, allocations: 252.9 kB / 0.6649 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.1405, allocations: 8.375 kB / 0.6649 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.1405, allocations: 8.125 kB / 0.6649 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.1407, allocations: 92.23 kB / 0.665 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1407, allocations: 0 / 0.665 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.1407, allocations: 0 / 0.665 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.1408, allocations: 0 / 0.665 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.1409, allocations: 43.91 kB / 0.665 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005101/0.1414, allocations: 364.6 kB / 0.6654 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.1416, allocations: 86.7 kB / 0.6655 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.101e-05/0.1417, allocations: 32.84 kB / 0.6655 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.1418, allocations: 0 / 0.6655 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.1419, allocations: 79.38 kB / 0.6656 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.813e-06/0.142, allocations: 0 / 0.6656 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0003653/0.1423, allocations: 149.4 kB / 0.6657 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.1424, allocations: 102.8 kB / 0.6658 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/0.1427, allocations: 266.8 kB / 0.6661 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.1427, allocations: 33.69 kB / 0.6661 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.276e-05/0.1428, allocations: 112.1 kB / 0.6662 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.1428, allocations: 19.72 kB / 0.6662 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/0.1429, allocations: 25.7 kB / 0.6662 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.143, allocations: 342.7 kB / 0.6666 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.318e-05/0.1431, allocations: 23.98 kB / 0.6666 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.902e-05/0.1432, allocations: 72.2 kB / 0.6667 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.1433, allocations: 69.64 kB / 0.6667 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1433, allocations: 0 / 0.6667 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002322/0.1436, allocations: 117.5 kB / 0.6668 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1436, allocations: 4 kB / 0.6668 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1436, allocations: 3.938 kB / 0.6669 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1436, allocations: 8 kB / 0.6669 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.31e-05/0.1437, allocations: 11.98 kB / 0.6669 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1437, allocations: 4.391 kB / 0.6669 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.777e-05/0.1438, allocations: 7.875 kB / 0.6669 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.1438, allocations: 4 kB / 0.6669 GB, free: 3.242 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.0001315/0.144, allocations: 157.8 kB / 0.667 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.144, allocations: 15.81 kB / 0.6671 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.144, allocations: 13.41 kB / 0.6671 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.1441, allocations: 4 kB / 0.6671 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1441, allocations: 0 / 0.6671 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1441, allocations: 7.922 kB / 0.6671 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.1443, allocations: 217.6 kB / 0.6673 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1443, allocations: 0 / 0.6673 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.53e-05/0.1443, allocations: 11.94 kB / 0.6673 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1443, allocations: 0 / 0.6673 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.1444, allocations: 0 / 0.6673 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1444, allocations: 7.984 kB / 0.6673 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1444, allocations: 0 / 0.6673 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.1446, allocations: 148.8 kB / 0.6674 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.285e-05/0.1447, allocations: 92.91 kB / 0.6675 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.1447, allocations: 4 kB / 0.6675 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.618e-05/0.1448, allocations: 0 / 0.6675 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.1448, allocations: 11.98 kB / 0.6675 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.1449, allocations: 11.94 kB / 0.6676 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001703/0.145, allocations: 191.2 kB / 0.6677 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.145, allocations: 0 / 0.6677 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002656/0.1453, allocations: 39.92 kB / 0.6678 GB, free: 2.227 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.0009769/0.1463, allocations: 424.1 kB / 0.6682 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.1465, allocations: 67.97 kB / 0.6682 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1466, allocations: 4.062 kB / 0.6683 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.082e-05/0.1467, allocations: 39.92 kB / 0.6683 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.147, allocations: 37.67 kB / 0.6683 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005511/0.1475, allocations: 322.3 kB / 0.6686 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.1478, allocations: 0.7201 MB / 0.6693 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.03e-05/0.1479, allocations: 23.42 kB / 0.6694 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1479, allocations: 4 kB / 0.6694 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of Templates: time 0.004765/0.1526, allocations: 2.633 MB / 0.6719 GB, free: 14.11 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)