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.006671/0.006671, allocations: 100.4 kB / 15.87 MB, free: 5.871 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.001407/0.001407, allocations: 191.5 kB / 16.79 MB, free: 5.816 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.378/1.378, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9276/0.9276, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 63.62 kB / 0.5053 GB, free: 5.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1432, allocations: 80.94 MB / 0.5843 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002902/0.1461, allocations: 1.812 MB / 0.5861 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.1478, allocations: 1.092 MB / 0.5872 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.329e-05/0.1479, allocations: 3.938 kB / 0.5872 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002803/0.1482, allocations: 55.81 kB / 0.5872 GB, free: 2.012 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.1483, allocations: 63.78 kB / 0.5873 GB, free: 1.949 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005215/0.1489, allocations: 203.3 kB / 0.5875 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.149, allocations: 131.6 kB / 0.5876 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1492, allocations: 29.09 kB / 0.5876 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.099e-05/0.1493, allocations: 59.7 kB / 0.5877 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.043e-05/0.1494, allocations: 59.75 kB / 0.5878 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.1494, allocations: 4 kB / 0.5878 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.1495, allocations: 59.95 kB / 0.5878 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.77e-05/0.1496, allocations: 43.78 kB / 0.5879 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.927e-05/0.1497, allocations: 51.67 kB / 0.5879 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.1499, allocations: 151.9 kB / 0.5881 GB, free: 1.176 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1499, allocations: 3.938 kB / 0.5881 GB, free: 1.172 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1499, allocations: 0 / 0.5881 GB, free: 1.172 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.1499, allocations: 0 / 0.5881 GB, free: 1.172 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.000623/0.1505, allocations: 488.3 kB / 0.5885 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1506, allocations: 8.031 kB / 0.5885 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.393e-05/0.1506, allocations: 20.73 kB / 0.5886 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.1509, allocations: 256.9 kB / 0.5888 GB, free: 332 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.1509, allocations: 4.375 kB / 0.5888 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.151, allocations: 8.125 kB / 0.5888 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.1512, allocations: 88.23 kB / 0.5889 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.1512, allocations: 3.938 kB / 0.5889 GB, free: 212 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.1512, allocations: 4 kB / 0.5889 GB, free: 208 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.1512, allocations: 4 kB / 0.5889 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.1514, allocations: 35.91 kB / 0.5889 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005129/0.1519, allocations: 360.6 kB / 0.5893 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.1521, allocations: 86.7 kB / 0.5894 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.204e-05/0.1522, allocations: 36.83 kB / 0.5894 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.1523, allocations: 7.984 kB / 0.5894 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000212/0.1525, allocations: 79.38 kB / 0.5895 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.723e-06/0.1525, allocations: 0 / 0.5895 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0003791/0.1529, allocations: 141.4 kB / 0.5896 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.1529, allocations: 106.8 kB / 0.5897 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.1532, allocations: 255 kB / 0.59 GB, free: 15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.1532, allocations: 37.69 kB / 0.59 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.187e-05/0.1533, allocations: 120 kB / 0.5901 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.1534, allocations: 19.8 kB / 0.5901 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/0.1534, allocations: 25.7 kB / 0.5902 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1536, allocations: 330.8 kB / 0.5905 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.719e-05/0.1536, allocations: 27.98 kB / 0.5905 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.1538, allocations: 72.2 kB / 0.5906 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.1539, allocations: 73.64 kB / 0.5906 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1539, allocations: 0 / 0.5906 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002225/0.1542, allocations: 113.4 kB / 0.5908 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1542, allocations: 4 kB / 0.5908 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1542, allocations: 0 / 0.5908 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.1542, allocations: 0 / 0.5908 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.1543, allocations: 15.98 kB / 0.5908 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1543, allocations: 4.031 kB / 0.5908 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.661e-05/0.1544, allocations: 11.88 kB / 0.5908 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.1544, allocations: 4 kB / 0.5908 GB, free: 14.1 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.0001381/0.1546, allocations: 150.5 kB / 0.5909 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.1546, allocations: 15.81 kB / 0.5909 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.702e-05/0.1547, allocations: 21.34 kB / 0.591 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.1547, allocations: 0 / 0.591 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1547, allocations: 0 / 0.591 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.1547, allocations: 11.92 kB / 0.591 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.1549, allocations: 225.5 kB / 0.5912 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1549, allocations: 0 / 0.5912 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.294e-05/0.155, allocations: 7.938 kB / 0.5912 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.155, allocations: 0 / 0.5912 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.155, allocations: 4 kB / 0.5912 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.155, allocations: 0 / 0.5912 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.155, allocations: 0 / 0.5912 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.1552, allocations: 148.8 kB / 0.5913 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-05/0.1553, allocations: 96.91 kB / 0.5914 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.1554, allocations: 48 / 0.5914 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.86e-05/0.1554, allocations: 7.984 kB / 0.5914 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.1555, allocations: 11.98 kB / 0.5915 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.1555, allocations: 7.938 kB / 0.5915 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001746/0.1557, allocations: 196.6 kB / 0.5917 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1557, allocations: 0 / 0.5917 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002545/0.1559, allocations: 32 kB / 0.5917 GB, free: 13.09 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.0009708/0.1569, allocations: 431.2 kB / 0.5921 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002239/0.1572, allocations: 71.95 kB / 0.5922 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1572, allocations: 0 / 0.5922 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.1573, allocations: 40.06 kB / 0.5922 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.1576, allocations: 42.61 kB / 0.5922 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005389/0.1581, allocations: 350.5 kB / 0.5926 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.1584, allocations: 0.7243 MB / 0.5933 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.942e-05/0.1585, allocations: 19.42 kB / 0.5933 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.1585, allocations: 0 / 0.5933 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of Templates: time 0.004279/0.1628, allocations: 2.593 MB / 0.5958 GB, free: 8.965 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)