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.0009256/0.0009256, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 187.7 kB / 16.92 MB, free: 6.773 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.33/1.33, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8989/0.8989, allocations: 135.3 MB / 427.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002996/0.0002996, allocations: 8 kB / 0.5082 GB, free: 4.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1449, allocations: 82.31 MB / 0.5886 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.001946/0.1468, allocations: 1.478 MB / 0.5901 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.1484, allocations: 1.057 MB / 0.5911 GB, free: 44 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.339e-05/0.1484, allocations: 4 kB / 0.5911 GB, free: 40 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.1487, allocations: 56.2 kB / 0.5911 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.1489, allocations: 59.81 kB / 0.5912 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005014/0.1494, allocations: 206.4 kB / 0.5914 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.1496, allocations: 135.6 kB / 0.5915 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.621e-05/0.1497, allocations: 29.08 kB / 0.5916 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.866e-05/0.1498, allocations: 55.66 kB / 0.5916 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.455e-05/0.1499, allocations: 63.75 kB / 0.5917 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.1499, allocations: 0 / 0.5917 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.1501, allocations: 63.89 kB / 0.5917 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.237e-05/0.1501, allocations: 31.91 kB / 0.5918 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.4e-05/0.1502, allocations: 81.3 kB / 0.5918 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.1504, allocations: 143.6 kB / 0.592 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1504, allocations: 0 / 0.592 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1504, allocations: 4 kB / 0.592 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.1504, allocations: 0 / 0.592 GB, free: 15.13 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.0005549/0.151, allocations: 472.5 kB / 0.5924 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.151, allocations: 8.031 kB / 0.5924 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.1511, allocations: 20.66 kB / 0.5925 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.1514, allocations: 248.9 kB / 0.5927 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.1514, allocations: 384 / 0.5927 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.1514, allocations: 8.125 kB / 0.5927 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.1516, allocations: 96.16 kB / 0.5928 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.1516, allocations: 4 kB / 0.5928 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.1516, allocations: 4 kB / 0.5928 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.1517, allocations: 4 kB / 0.5928 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.1518, allocations: 27.98 kB / 0.5928 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.1522, allocations: 360.8 kB / 0.5932 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.1525, allocations: 94.58 kB / 0.5933 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.447e-05/0.1526, allocations: 36.83 kB / 0.5933 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.1526, allocations: 0 / 0.5933 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000203/0.1528, allocations: 83.28 kB / 0.5934 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.1528, allocations: 0 / 0.5934 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0003445/0.1532, allocations: 141.4 kB / 0.5935 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.1532, allocations: 110.8 kB / 0.5936 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.1535, allocations: 266.8 kB / 0.5939 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.1535, allocations: 29.7 kB / 0.5939 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/0.1536, allocations: 112.1 kB / 0.594 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.1536, allocations: 19.8 kB / 0.594 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.1536, allocations: 21.7 kB / 0.5941 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1538, allocations: 330.8 kB / 0.5944 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.922e-05/0.1538, allocations: 23.98 kB / 0.5944 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.467e-05/0.1539, allocations: 76.2 kB / 0.5945 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.1541, allocations: 65.7 kB / 0.5945 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1541, allocations: 4 kB / 0.5945 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002014/0.1543, allocations: 105.4 kB / 0.5946 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1543, allocations: 8 kB / 0.5946 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.1543, allocations: 8.016 kB / 0.5946 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.1544, allocations: 0 / 0.5946 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.767e-05/0.1544, allocations: 16 kB / 0.5947 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.1545, allocations: 0 / 0.5947 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.762e-05/0.1545, allocations: 15.78 kB / 0.5947 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.1545, allocations: 7.984 kB / 0.5947 GB, free: 12.08 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.000118/0.1547, allocations: 138.5 kB / 0.5948 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.1547, allocations: 19.75 kB / 0.5948 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.084e-05/0.1547, allocations: 17.41 kB / 0.5949 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.1548, allocations: 7.984 kB / 0.5949 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1548, allocations: 0 / 0.5949 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.1548, allocations: 3.984 kB / 0.5949 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.155, allocations: 229.6 kB / 0.5951 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.155, allocations: 0 / 0.5951 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.938e-05/0.155, allocations: 4 kB / 0.5951 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.155, allocations: 0 / 0.5951 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.155, allocations: 4 kB / 0.5951 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1551, allocations: 3.984 kB / 0.5951 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1551, allocations: 0 / 0.5951 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.1553, allocations: 140.8 kB / 0.5952 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.797e-05/0.1554, allocations: 104.8 kB / 0.5953 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.1554, allocations: 0 / 0.5953 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.518e-05/0.1555, allocations: 4.188 kB / 0.5953 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.1555, allocations: 19.92 kB / 0.5954 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.1555, allocations: 15.86 kB / 0.5954 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001643/0.1557, allocations: 192.6 kB / 0.5956 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1557, allocations: 4 kB / 0.5956 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002375/0.1559, allocations: 32 kB / 0.5956 GB, free: 11.06 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.000915/0.1569, allocations: 410.4 kB / 0.596 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002026/0.1571, allocations: 75.94 kB / 0.596 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1571, allocations: 0 / 0.596 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.569e-05/0.1572, allocations: 40.06 kB / 0.5961 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.1575, allocations: 43.77 kB / 0.5961 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005041/0.158, allocations: 363.6 kB / 0.5965 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.1583, allocations: 0.7204 MB / 0.5972 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.1583, allocations: 19.42 kB / 0.5972 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1583, allocations: 0 / 0.5972 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of Templates: time 0.004265/0.1626, allocations: 2.577 MB / 0.5997 GB, free: 6.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)