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.0009273/0.0009272, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0008621/0.0008621, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.216/1.216, allocations: 223.2 MB / 239.9 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8584/0.8584, allocations: 135.2 MB / 426.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002666/0.0002666, allocations: 8 kB / 0.5068 GB, free: 5.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1453, allocations: 82.31 MB / 0.5872 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.001827/0.1471, allocations: 1.45 MB / 0.5886 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.1485, allocations: 0.9893 MB / 0.5896 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.43e-05/0.1486, allocations: 0 / 0.5896 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002564/0.1489, allocations: 51.8 kB / 0.5896 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002056/0.1491, allocations: 67.78 kB / 0.5897 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000545/0.1497, allocations: 183.3 kB / 0.5899 GB, free: 384 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.1499, allocations: 87.81 kB / 0.5899 GB, free: 296 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.933e-05/0.15, allocations: 17.09 kB / 0.59 GB, free: 280 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.1501, allocations: 55.77 kB / 0.59 GB, free: 224 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.82e-05/0.1502, allocations: 55.77 kB / 0.5901 GB, free: 168 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.1502, allocations: 0 / 0.5901 GB, free: 168 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.1504, allocations: 47.91 kB / 0.5901 GB, free: 120 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.661e-05/0.1504, allocations: 39.89 kB / 0.5901 GB, free: 80 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.668e-05/0.1505, allocations: 49.64 kB / 0.5902 GB, free: 24 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.1507, allocations: 151.9 kB / 0.5903 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.1507, allocations: 0 / 0.5903 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1507, allocations: 0 / 0.5903 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.1507, allocations: 0 / 0.5903 GB, free: 15.88 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.0005684/0.1513, allocations: 472.2 kB / 0.5908 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.1514, allocations: 12.03 kB / 0.5908 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.1514, allocations: 15.81 kB / 0.5908 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.1517, allocations: 239.8 kB / 0.591 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.1517, allocations: 8 kB / 0.5911 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.1517, allocations: 4 kB / 0.5911 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.1519, allocations: 96.11 kB / 0.5911 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.1519, allocations: 4 kB / 0.5912 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.152, allocations: 0 / 0.5912 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.152, allocations: 0 / 0.5912 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.658e-05/0.1521, allocations: 43.91 kB / 0.5912 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004637/0.1525, allocations: 356.6 kB / 0.5915 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.1528, allocations: 90.69 kB / 0.5916 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.1528, allocations: 4 kB / 0.5916 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002009/0.153, allocations: 79.44 kB / 0.5917 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.803e-06/0.153, allocations: 0 / 0.5917 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0003885/0.1534, allocations: 214.6 kB / 0.5919 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/0.1535, allocations: 106.8 kB / 0.592 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.1537, allocations: 274.9 kB / 0.5923 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.1538, allocations: 29.7 kB / 0.5923 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.867e-05/0.1539, allocations: 116 kB / 0.5924 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.1539, allocations: 15.81 kB / 0.5924 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.1539, allocations: 3.938 kB / 0.5924 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.154, allocations: 330.8 kB / 0.5927 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.75e-05/0.1541, allocations: 27.98 kB / 0.5928 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.132e-05/0.1542, allocations: 68.28 kB / 0.5928 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.309e-05/0.1543, allocations: 27.98 kB / 0.5929 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1543, allocations: 0 / 0.5929 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001918/0.1545, allocations: 113.4 kB / 0.593 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1545, allocations: 8 kB / 0.593 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1545, allocations: 0 / 0.593 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1545, allocations: 4.031 kB / 0.593 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.191e-05/0.1546, allocations: 16.02 kB / 0.593 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1546, allocations: 4 kB / 0.593 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.58e-05/0.1547, allocations: 15.89 kB / 0.593 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.1547, allocations: 4 kB / 0.593 GB, free: 12.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 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.y,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001234/0.1548, allocations: 142.5 kB / 0.5932 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.1549, allocations: 19.8 kB / 0.5932 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.819e-05/0.1549, allocations: 17.59 kB / 0.5932 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.1549, allocations: 0 / 0.5932 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1549, allocations: 7.938 kB / 0.5932 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.155, allocations: 7.984 kB / 0.5932 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.1551, allocations: 221.5 kB / 0.5934 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1551, allocations: 0 / 0.5934 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.483e-05/0.1552, allocations: 8 kB / 0.5934 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.1552, allocations: 0 / 0.5934 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.1552, allocations: 8 kB / 0.5934 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1552, allocations: 0 / 0.5934 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1552, allocations: 0 / 0.5934 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.1555, allocations: 148.8 kB / 0.5936 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.882e-05/0.1555, allocations: 100.9 kB / 0.5937 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.1556, allocations: 0 / 0.5937 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.128e-05/0.1556, allocations: 4 kB / 0.5937 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.1557, allocations: 11.98 kB / 0.5937 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.1557, allocations: 4 kB / 0.5937 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001598/0.1559, allocations: 192.6 kB / 0.5939 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1559, allocations: 0 / 0.5939 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002368/0.1561, allocations: 32 kB / 0.5939 GB, free: 11.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008586/0.157, allocations: 430.7 kB / 0.5943 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000195/0.1572, allocations: 67.91 kB / 0.5944 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1572, allocations: 0 / 0.5944 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.991e-05/0.1573, allocations: 39.97 kB / 0.5944 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.1575, allocations: 39.95 kB / 0.5945 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004794/0.158, allocations: 310.1 kB / 0.5947 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.1583, allocations: 0.7359 MB / 0.5955 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.641e-05/0.1584, allocations: 21.08 kB / 0.5955 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.1585, allocations: 15.44 kB / 0.5955 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1585, allocations: 3.938 kB / 0.5955 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.005005/0.1635, allocations: 2.349 MB / 0.5978 GB, free: 7.996 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: