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.001147/0.001147, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001159/0.001159, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.376/1.376, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9294/0.9294, allocations: 135.2 MB / 425.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 60.78 kB / 0.5049 GB, free: 5.605 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1469, allocations: 80.93 MB / 0.5839 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.00297/0.1499, allocations: 1.825 MB / 0.5857 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.1515, allocations: 1.084 MB / 0.5868 GB, free: 1.895 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.11e-05/0.1516, allocations: 3.938 kB / 0.5868 GB, free: 1.891 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002931/0.1519, allocations: 55.86 kB / 0.5868 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.1521, allocations: 67.73 kB / 0.5869 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005074/0.1526, allocations: 210.4 kB / 0.5871 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.1528, allocations: 139.6 kB / 0.5872 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.805e-05/0.1529, allocations: 29.09 kB / 0.5873 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.848e-05/0.153, allocations: 63.72 kB / 0.5873 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.69e-05/0.1531, allocations: 67.69 kB / 0.5874 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.1531, allocations: 8 kB / 0.5874 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.1533, allocations: 71.94 kB / 0.5875 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.972e-05/0.1533, allocations: 35.91 kB / 0.5875 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.357e-05/0.1534, allocations: 59.55 kB / 0.5876 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.1537, allocations: 195.7 kB / 0.5877 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1537, allocations: 0 / 0.5877 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1537, allocations: 0 / 0.5877 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1537, allocations: 4 kB / 0.5878 GB, free: 0.9102 MB / 494.1 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.0005815/0.1543, allocations: 496.3 kB / 0.5882 GB, free: 380 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.1543, allocations: 8.031 kB / 0.5882 GB, free: 372 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.1544, allocations: 16.75 kB / 0.5882 GB, free: 356 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.1546, allocations: 248.9 kB / 0.5885 GB, free: 68 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.1546, allocations: 4.375 kB / 0.5885 GB, free: 64 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.1546, allocations: 12.11 kB / 0.5885 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.1549, allocations: 92.23 kB / 0.5886 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.1549, allocations: 3.938 kB / 0.5886 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.1549, allocations: 4 kB / 0.5886 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.1549, allocations: 7.922 kB / 0.5886 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.155, allocations: 39.91 kB / 0.5886 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004657/0.1555, allocations: 352.6 kB / 0.589 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.1557, allocations: 94.69 kB / 0.5891 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.089e-05/0.1558, allocations: 32.84 kB / 0.5891 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.1558, allocations: 0 / 0.5891 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/0.156, allocations: 79.38 kB / 0.5892 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.156, allocations: 4 kB / 0.5892 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0003408/0.1564, allocations: 145.4 kB / 0.5893 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.1565, allocations: 102.8 kB / 0.5894 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.1567, allocations: 259 kB / 0.5897 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.1567, allocations: 29.7 kB / 0.5897 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.869e-05/0.1568, allocations: 120 kB / 0.5898 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.1568, allocations: 19.8 kB / 0.5898 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/0.1569, allocations: 25.7 kB / 0.5899 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.157, allocations: 334.8 kB / 0.5902 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.902e-05/0.1571, allocations: 27.98 kB / 0.5902 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.544e-05/0.1572, allocations: 68.27 kB / 0.5903 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.1573, allocations: 73.62 kB / 0.5903 GB, free: 14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1573, allocations: 0 / 0.5903 GB, free: 14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002059/0.1575, allocations: 113.5 kB / 0.5904 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1576, allocations: 4 kB / 0.5904 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1576, allocations: 0 / 0.5904 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1576, allocations: 3.938 kB / 0.5904 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.687e-05/0.1577, allocations: 15.98 kB / 0.5905 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1577, allocations: 0 / 0.5905 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.44e-05/0.1578, allocations: 11.88 kB / 0.5905 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.1578, allocations: 4 kB / 0.5905 GB, free: 13.84 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.0001216/0.1579, allocations: 142.6 kB / 0.5906 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.1579, allocations: 19.8 kB / 0.5906 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.177e-05/0.158, allocations: 17.41 kB / 0.5906 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.158, allocations: 4 kB / 0.5907 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.158, allocations: 7.938 kB / 0.5907 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.158, allocations: 4.125 kB / 0.5907 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.1582, allocations: 229.5 kB / 0.5909 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1582, allocations: 3.938 kB / 0.5909 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.008e-05/0.1583, allocations: 4 kB / 0.5909 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1583, allocations: 7.938 kB / 0.5909 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.1583, allocations: 4 kB / 0.5909 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1583, allocations: 0 / 0.5909 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1583, allocations: 0 / 0.5909 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.1585, allocations: 140.8 kB / 0.591 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.147e-05/0.1586, allocations: 92.92 kB / 0.5911 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.1586, allocations: 7.984 kB / 0.5911 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.236e-05/0.1587, allocations: 0 / 0.5911 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.1587, allocations: 11.98 kB / 0.5911 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.1588, allocations: 11.94 kB / 0.5912 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001598/0.1589, allocations: 191.2 kB / 0.5913 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1589, allocations: 0 / 0.5913 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002378/0.1592, allocations: 35.98 kB / 0.5914 GB, free: 12.82 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.0009295/0.1601, allocations: 436.5 kB / 0.5918 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002178/0.1603, allocations: 79.94 kB / 0.5919 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1603, allocations: 4.062 kB / 0.5919 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.814e-05/0.1604, allocations: 35.92 kB / 0.5919 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.1607, allocations: 35.75 kB / 0.5919 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004714/0.1612, allocations: 326.9 kB / 0.5922 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.1615, allocations: 0.724 MB / 0.593 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.383e-05/0.1616, allocations: 25.39 kB / 0.593 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.1616, allocations: 15.44 kB / 0.593 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1616, allocations: 0 / 0.593 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of Templates: time 0.005388/0.167, allocations: 2.512 MB / 0.5954 GB, free: 8.809 MB / 0.4981 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)