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.001584/0.001584, allocations: 104 kB / 16.27 MB, free: 5.98 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.001713/0.001712, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.561/1.561, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7855/0.7855, allocations: 132.2 MB / 423.2 MB, free: 6.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 63.89 kB / 0.5024 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3753, allocations: 80.19 MB / 0.5807 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002956/0.3783, allocations: 1.764 MB / 0.5825 GB, free: 25.92 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.3797, allocations: 1.103 MB / 0.5835 GB, free: 25.06 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.012e-05/0.3798, allocations: 5.312 kB / 0.5835 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.3801, allocations: 54.3 kB / 0.5836 GB, free: 25.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.3803, allocations: 75.77 kB / 0.5837 GB, free: 24.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005378/0.3809, allocations: 227.6 kB / 0.5839 GB, free: 24.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.3811, allocations: 147 kB / 0.584 GB, free: 24.74 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.3812, allocations: 22.81 kB / 0.584 GB, free: 24.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.638e-05/0.3813, allocations: 64.45 kB / 0.5841 GB, free: 24.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.542e-05/0.3814, allocations: 67.69 kB / 0.5842 GB, free: 24.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.3814, allocations: 7.406 kB / 0.5842 GB, free: 24.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.3816, allocations: 71.2 kB / 0.5842 GB, free: 24.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.546e-05/0.3816, allocations: 34.44 kB / 0.5843 GB, free: 24.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.039e-05/0.3817, allocations: 60.45 kB / 0.5843 GB, free: 24.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.3819, allocations: 204.9 kB / 0.5845 GB, free: 24.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.382, allocations: 5.531 kB / 0.5845 GB, free: 24.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.382, allocations: 0 / 0.5845 GB, free: 24.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.382, allocations: 0 / 0.5845 GB, free: 24.41 MB / 446.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.0005194/0.3825, allocations: 488.1 kB / 0.585 GB, free: 23.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.3825, allocations: 9.594 kB / 0.585 GB, free: 23.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.588e-05/0.3826, allocations: 16.34 kB / 0.585 GB, free: 23.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.3828, allocations: 254 kB / 0.5853 GB, free: 23.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.3828, allocations: 1.719 kB / 0.5853 GB, free: 23.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.3829, allocations: 15.55 kB / 0.5853 GB, free: 23.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.3831, allocations: 94.45 kB / 0.5854 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.3831, allocations: 0.625 kB / 0.5854 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.3831, allocations: 0 / 0.5854 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.3831, allocations: 3.688 kB / 0.5854 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.943e-05/0.3832, allocations: 36.34 kB / 0.5854 GB, free: 23.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003927/0.3836, allocations: 354.4 kB / 0.5858 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.3838, allocations: 86.75 kB / 0.5858 GB, free: 23.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.886e-05/0.3839, allocations: 36.38 kB / 0.5859 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.3839, allocations: 6.344 kB / 0.5859 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.3841, allocations: 82.28 kB / 0.586 GB, free: 23.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.492e-06/0.3841, allocations: 0 / 0.586 GB, free: 23.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003403/0.3845, allocations: 139 kB / 0.5861 GB, free: 22.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.3845, allocations: 105.1 kB / 0.5862 GB, free: 22.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.3848, allocations: 268.8 kB / 0.5864 GB, free: 22.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.3848, allocations: 30.89 kB / 0.5865 GB, free: 22.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.3848, allocations: 116.4 kB / 0.5866 GB, free: 22.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.3849, allocations: 24.73 kB / 0.5866 GB, free: 22.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.3849, allocations: 23.56 kB / 0.5866 GB, free: 22.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.688e-05/0.385, allocations: 335.1 kB / 0.587 GB, free: 22.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.981e-05/0.3851, allocations: 27.52 kB / 0.587 GB, free: 22.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.075e-05/0.3852, allocations: 66.59 kB / 0.587 GB, free: 22.08 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.3853, allocations: 73.81 kB / 0.5871 GB, free: 22.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3853, allocations: 1.312 kB / 0.5871 GB, free: 22.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002096/0.3855, allocations: 113.3 kB / 0.5872 GB, free: 21.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.3856, allocations: 4.219 kB / 0.5872 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3856, allocations: 6.734 kB / 0.5872 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3856, allocations: 1.062 kB / 0.5872 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.758e-05/0.3857, allocations: 19.55 kB / 0.5873 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.3857, allocations: 1.094 kB / 0.5873 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.524e-05/0.3858, allocations: 10.28 kB / 0.5873 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.3858, allocations: 3.219 kB / 0.5873 GB, free: 21.95 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 ($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.0001056/0.3859, allocations: 149.8 kB / 0.5874 GB, free: 21.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.3859, allocations: 14.66 kB / 0.5874 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.406e-05/0.386, allocations: 24.56 kB / 0.5874 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.386, allocations: 2.906 kB / 0.5874 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.386, allocations: 0 / 0.5874 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.386, allocations: 7.938 kB / 0.5875 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.3862, allocations: 222.8 kB / 0.5877 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3862, allocations: 4.672 kB / 0.5877 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.207e-05/0.3863, allocations: 13.08 kB / 0.5877 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3863, allocations: 1.875 kB / 0.5877 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.3863, allocations: 1.188 kB / 0.5877 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3863, allocations: 1.031 kB / 0.5877 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3863, allocations: 1.375 kB / 0.5877 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.3865, allocations: 153.6 kB / 0.5878 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.3866, allocations: 95.7 kB / 0.5879 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.3866, allocations: 1.25 kB / 0.5879 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.565e-05/0.3867, allocations: 6.734 kB / 0.5879 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.3867, allocations: 6.656 kB / 0.5879 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.3868, allocations: 11.86 kB / 0.588 GB, free: 21.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000158/0.3869, allocations: 190.3 kB / 0.5881 GB, free: 21.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3869, allocations: 2.438 kB / 0.5881 GB, free: 21.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.3872, allocations: 36.11 kB / 0.5882 GB, free: 21.16 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 (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.0009952/0.3882, allocations: 418.6 kB / 0.5886 GB, free: 21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.3884, allocations: 77.7 kB / 0.5886 GB, free: 20.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3885, allocations: 5.125 kB / 0.5887 GB, free: 20.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.585e-05/0.3885, allocations: 37.2 kB / 0.5887 GB, free: 20.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.3888, allocations: 33 kB / 0.5887 GB, free: 20.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004854/0.3893, allocations: 323.6 kB / 0.589 GB, free: 20.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.3895, allocations: 0.7249 MB / 0.5897 GB, free: 19.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.403e-05/0.3895, allocations: 22.03 kB / 0.5898 GB, free: 19.96 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3895, allocations: 0 / 0.5898 GB, free: 19.96 MB / 446.1 MB Notification: Performance of Templates: time 0.003761/0.3933, allocations: 2.612 MB / 0.5923 GB, free: 18.23 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)