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.0008299/0.00083, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.0008796/0.0008796, allocations: 168.7 kB / 15.95 MB, free: 204 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.157/1.157, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6641/0.6641, allocations: 132.4 MB / 423.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002683/0.0002683, allocations: 8 kB / 0.5034 GB, free: 4.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3359, allocations: 81.58 MB / 0.5831 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.001506/0.3374, allocations: 1.454 MB / 0.5845 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.3386, allocations: 1.018 MB / 0.5855 GB, free: 2.227 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.665e-05/0.3386, allocations: 0 / 0.5855 GB, free: 2.227 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002252/0.3389, allocations: 50.94 kB / 0.5855 GB, free: 2.211 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.339, allocations: 63.3 kB / 0.5856 GB, free: 2.184 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004167/0.3395, allocations: 186.6 kB / 0.5858 GB, free: 2.094 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.3396, allocations: 121.8 kB / 0.5859 GB, free: 2.039 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.788e-05/0.3397, allocations: 17.69 kB / 0.5859 GB, free: 2.031 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.126e-05/0.3398, allocations: 53.22 kB / 0.586 GB, free: 2.012 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.584e-05/0.3399, allocations: 57.66 kB / 0.586 GB, free: 1.988 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.3399, allocations: 2.812 kB / 0.586 GB, free: 1.988 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.34, allocations: 55.38 kB / 0.5861 GB, free: 1.973 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.603e-05/0.3401, allocations: 38.86 kB / 0.5861 GB, free: 1.957 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.25e-05/0.3401, allocations: 48.17 kB / 0.5862 GB, free: 1.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.3403, allocations: 151.3 kB / 0.5863 GB, free: 1.867 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3403, allocations: 0 / 0.5863 GB, free: 1.867 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3403, allocations: 0 / 0.5863 GB, free: 1.867 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.035e-06/0.3403, allocations: 1.031 kB / 0.5863 GB, free: 1.867 MB / 430.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.0004268/0.3408, allocations: 469.8 kB / 0.5868 GB, free: 1.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.846e-05/0.3408, allocations: 9.219 kB / 0.5868 GB, free: 1.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.3408, allocations: 15.41 kB / 0.5868 GB, free: 1.402 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.3411, allocations: 249 kB / 0.587 GB, free: 1.164 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.3411, allocations: 3.281 kB / 0.587 GB, free: 1.164 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.3411, allocations: 2.812 kB / 0.587 GB, free: 1.164 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.3413, allocations: 97.55 kB / 0.5871 GB, free: 1.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.3413, allocations: 7.984 kB / 0.5871 GB, free: 1.082 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.3413, allocations: 1.062 kB / 0.5871 GB, free: 1.082 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.3413, allocations: 2.688 kB / 0.5871 GB, free: 1.082 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.141e-05/0.3414, allocations: 31.28 kB / 0.5872 GB, free: 1.074 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003825/0.3418, allocations: 355.8 kB / 0.5875 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.342, allocations: 90.92 kB / 0.5876 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.109e-05/0.3421, allocations: 31.27 kB / 0.5876 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.3421, allocations: 2.078 kB / 0.5876 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.3423, allocations: 78.98 kB / 0.5877 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.3423, allocations: 1.156 kB / 0.5877 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003019/0.3426, allocations: 144.1 kB / 0.5878 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.3426, allocations: 113.3 kB / 0.5879 GB, free: 440 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.3429, allocations: 262.1 kB / 0.5882 GB, free: 288 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.3429, allocations: 26.67 kB / 0.5882 GB, free: 256 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.69e-05/0.3429, allocations: 120.3 kB / 0.5883 GB, free: 144 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.343, allocations: 16.34 kB / 0.5883 GB, free: 132 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.343, allocations: 4.656 kB / 0.5883 GB, free: 128 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.854e-05/0.3431, allocations: 326.1 kB / 0.5887 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.744e-05/0.3431, allocations: 24.56 kB / 0.5887 GB, free: 15.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.333e-05/0.3432, allocations: 83.92 kB / 0.5888 GB, free: 15.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.438e-05/0.3433, allocations: 30.61 kB / 0.5888 GB, free: 15.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3433, allocations: 1.344 kB / 0.5888 GB, free: 15.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001979/0.3435, allocations: 111.3 kB / 0.5889 GB, free: 15.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.3436, allocations: 6.062 kB / 0.5889 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3436, allocations: 8.75 kB / 0.5889 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.3436, allocations: 4.703 kB / 0.5889 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.911e-05/0.3437, allocations: 13.44 kB / 0.5889 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.3437, allocations: 0.9062 kB / 0.5889 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.109e-05/0.3437, allocations: 5.562 kB / 0.5889 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.3438, allocations: 3.641 kB / 0.5889 GB, free: 15.65 MB / 446.1 MB 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.0001191/0.3439, allocations: 142.2 kB / 0.5891 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.3439, allocations: 15.67 kB / 0.5891 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.4e-05/0.344, allocations: 22.73 kB / 0.5891 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.344, allocations: 1.906 kB / 0.5891 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.344, allocations: 5.328 kB / 0.5891 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.344, allocations: 0.8438 kB / 0.5891 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.3442, allocations: 230.6 kB / 0.5893 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3442, allocations: 1.406 kB / 0.5893 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.756e-05/0.3443, allocations: 8.875 kB / 0.5893 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3443, allocations: 1.156 kB / 0.5893 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.3443, allocations: 1.641 kB / 0.5893 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.3443, allocations: 1.781 kB / 0.5894 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3443, allocations: 0 / 0.5894 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.3445, allocations: 154.5 kB / 0.5895 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.98e-05/0.3446, allocations: 93.67 kB / 0.5896 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.3446, allocations: 1.547 kB / 0.5896 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.188e-05/0.3447, allocations: 8.531 kB / 0.5896 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.3447, allocations: 7.359 kB / 0.5896 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.3447, allocations: 4.812 kB / 0.5896 GB, free: 15.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001737/0.3449, allocations: 198 kB / 0.5898 GB, free: 14.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3449, allocations: 4.812 kB / 0.5898 GB, free: 14.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002247/0.3452, allocations: 34.41 kB / 0.5898 GB, free: 14.93 MB / 446.1 MB 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.0008326/0.346, allocations: 434.3 kB / 0.5902 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001923/0.3462, allocations: 63.91 kB / 0.5903 GB, free: 14.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3462, allocations: 0 / 0.5903 GB, free: 14.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.607e-05/0.3463, allocations: 41 kB / 0.5903 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.3466, allocations: 40.98 kB / 0.5904 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004449/0.347, allocations: 311.1 kB / 0.5907 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.3473, allocations: 0.7213 MB / 0.5914 GB, free: 13.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.806e-05/0.3474, allocations: 20.36 kB / 0.5914 GB, free: 13.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.97e-05/0.3474, allocations: 18.5 kB / 0.5914 GB, free: 13.8 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3474, allocations: 4.812 kB / 0.5914 GB, free: 13.79 MB / 446.1 MB Notification: Performance of Templates: time 0.00513/0.3525, allocations: 2.353 MB / 0.5937 GB, free: 13.56 MB / 446.1 MB 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)