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.001945/0.001945, allocations: 115.5 kB / 16.37 MB, free: 6.004 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.001953/0.001953, allocations: 195.6 kB / 17.31 MB, free: 5.613 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.786/0.786, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 59.91 kB / 0.5067 GB, free: 7.648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3672, allocations: 80.91 MB / 0.5858 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003856/0.3711, allocations: 1.764 MB / 0.5875 GB, free: 24.13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.3727, allocations: 1.107 MB / 0.5886 GB, free: 23.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.573e-05/0.3728, allocations: 1.031 kB / 0.5886 GB, free: 23.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.3731, allocations: 58.83 kB / 0.5886 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.3734, allocations: 79.75 kB / 0.5887 GB, free: 23.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007257/0.3741, allocations: 231.4 kB / 0.5889 GB, free: 23.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.3744, allocations: 138 kB / 0.5891 GB, free: 22.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.3745, allocations: 29.38 kB / 0.5891 GB, free: 22.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.3746, allocations: 60.8 kB / 0.5891 GB, free: 22.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.3748, allocations: 71.16 kB / 0.5892 GB, free: 22.85 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.3748, allocations: 8.812 kB / 0.5892 GB, free: 22.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002089/0.375, allocations: 68.33 kB / 0.5893 GB, free: 22.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.3751, allocations: 38.78 kB / 0.5893 GB, free: 22.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.153e-05/0.3752, allocations: 64.16 kB / 0.5894 GB, free: 22.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.3756, allocations: 201.9 kB / 0.5896 GB, free: 22.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.3756, allocations: 0 / 0.5896 GB, free: 22.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3756, allocations: 0 / 0.5896 GB, free: 22.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.3756, allocations: 0 / 0.5896 GB, free: 22.62 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.0006739/0.3763, allocations: 492.3 kB / 0.59 GB, free: 22.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.3763, allocations: 10.08 kB / 0.5901 GB, free: 22.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.622e-05/0.3764, allocations: 16.75 kB / 0.5901 GB, free: 22.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.3768, allocations: 249.3 kB / 0.5903 GB, free: 21.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.3768, allocations: 14.06 kB / 0.5903 GB, free: 21.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.3768, allocations: 12.11 kB / 0.5903 GB, free: 21.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.3771, allocations: 96.8 kB / 0.5904 GB, free: 21.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.3771, allocations: 0 / 0.5904 GB, free: 21.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.3771, allocations: 4.5 kB / 0.5904 GB, free: 21.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.3772, allocations: 5.344 kB / 0.5904 GB, free: 21.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.3773, allocations: 31.97 kB / 0.5905 GB, free: 21.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004969/0.3778, allocations: 350.1 kB / 0.5908 GB, free: 21.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.3781, allocations: 92.09 kB / 0.5909 GB, free: 21.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.721e-05/0.3782, allocations: 28.84 kB / 0.5909 GB, free: 21.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.3782, allocations: 4.906 kB / 0.5909 GB, free: 21.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001839/0.3784, allocations: 80 kB / 0.591 GB, free: 20.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.944e-06/0.3784, allocations: 1.719 kB / 0.591 GB, free: 20.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004203/0.3788, allocations: 141.4 kB / 0.5911 GB, free: 20.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.3789, allocations: 106.8 kB / 0.5912 GB, free: 20.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.3792, allocations: 263.9 kB / 0.5915 GB, free: 20.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.3792, allocations: 33.7 kB / 0.5915 GB, free: 20.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.481e-05/0.3793, allocations: 116.7 kB / 0.5916 GB, free: 20.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.3793, allocations: 19.73 kB / 0.5916 GB, free: 20.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.327e-05/0.3794, allocations: 26.81 kB / 0.5917 GB, free: 20.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.557e-05/0.3794, allocations: 339.5 kB / 0.592 GB, free: 19.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.555e-05/0.3795, allocations: 23.98 kB / 0.592 GB, free: 19.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.3797, allocations: 73.66 kB / 0.5921 GB, free: 19.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.3798, allocations: 75.58 kB / 0.5922 GB, free: 19.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3799, allocations: 0 / 0.5922 GB, free: 19.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002546/0.3801, allocations: 111.3 kB / 0.5923 GB, free: 19.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3801, allocations: 8 kB / 0.5923 GB, free: 19.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3802, allocations: 0 / 0.5923 GB, free: 19.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3802, allocations: 0 / 0.5923 GB, free: 19.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.3803, allocations: 15.98 kB / 0.5923 GB, free: 19.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3803, allocations: 7.344 kB / 0.5923 GB, free: 19.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.551e-05/0.3804, allocations: 11.84 kB / 0.5923 GB, free: 19.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.3804, allocations: 4 kB / 0.5923 GB, free: 19.56 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.0001195/0.3806, allocations: 140.3 kB / 0.5924 GB, free: 19.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.3806, allocations: 15.81 kB / 0.5925 GB, free: 19.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.994e-05/0.3807, allocations: 33.27 kB / 0.5925 GB, free: 19.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.3807, allocations: 0.5 kB / 0.5925 GB, free: 19.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3807, allocations: 0.5312 kB / 0.5925 GB, free: 19.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3807, allocations: 3.938 kB / 0.5925 GB, free: 19.37 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.3809, allocations: 230 kB / 0.5927 GB, free: 19.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3809, allocations: 2.375 kB / 0.5927 GB, free: 19.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.79e-05/0.3809, allocations: 7.984 kB / 0.5927 GB, free: 19.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.381, allocations: 0 / 0.5927 GB, free: 19.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.381, allocations: 4 kB / 0.5927 GB, free: 19.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.381, allocations: 0 / 0.5927 GB, free: 19.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.381, allocations: 0 / 0.5927 GB, free: 19.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.3813, allocations: 147.9 kB / 0.5929 GB, free: 18.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.3813, allocations: 92.92 kB / 0.593 GB, free: 18.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.3814, allocations: 0 / 0.593 GB, free: 18.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.977e-05/0.3814, allocations: 7.984 kB / 0.593 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/0.3815, allocations: 11.98 kB / 0.593 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.3815, allocations: 12.97 kB / 0.593 GB, free: 18.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001718/0.3817, allocations: 188.6 kB / 0.5932 GB, free: 18.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3817, allocations: 0 / 0.5932 GB, free: 18.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003126/0.382, allocations: 41.7 kB / 0.5932 GB, free: 18.56 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.001222/0.3833, allocations: 432.8 kB / 0.5936 GB, free: 18.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002615/0.3835, allocations: 67.95 kB / 0.5937 GB, free: 18.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3835, allocations: 0 / 0.5937 GB, free: 18.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.3837, allocations: 39.92 kB / 0.5937 GB, free: 18.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.384, allocations: 36.72 kB / 0.5938 GB, free: 18.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005437/0.3846, allocations: 280.3 kB / 0.594 GB, free: 17.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.3848, allocations: 0.73 MB / 0.5947 GB, free: 17.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.207e-05/0.3849, allocations: 25.38 kB / 0.5948 GB, free: 17.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.906e-05/0.3849, allocations: 17.31 kB / 0.5948 GB, free: 17.1 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.385, allocations: 0 / 0.5948 GB, free: 17.1 MB / 446.1 MB Notification: Performance of Templates: time 0.00669/0.3916, allocations: 2.53 MB / 0.5973 GB, free: 14.64 MB / 446.1 MB 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)