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.001109/0.001109, allocations: 101.6 kB / 16.35 MB, free: 5.828 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.001091/0.001091, allocations: 191 kB / 17.29 MB, free: 5.484 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8123/0.8123, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001344, allocations: 63.91 kB / 0.5067 GB, free: 7.652 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.379, allocations: 80.92 MB / 0.5858 GB, free: 25.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002619/0.3816, allocations: 1.768 MB / 0.5875 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.383, allocations: 1.1 MB / 0.5886 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.174e-05/0.3831, allocations: 1.062 kB / 0.5886 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002474/0.3833, allocations: 59.7 kB / 0.5886 GB, free: 23.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.3836, allocations: 78.52 kB / 0.5887 GB, free: 23.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004885/0.3841, allocations: 225.4 kB / 0.5889 GB, free: 23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.3842, allocations: 148.8 kB / 0.589 GB, free: 22.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.286e-05/0.3843, allocations: 25.5 kB / 0.5891 GB, free: 22.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.966e-05/0.3844, allocations: 69.05 kB / 0.5891 GB, free: 22.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.322e-05/0.3845, allocations: 63.16 kB / 0.5892 GB, free: 22.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.3846, allocations: 6.406 kB / 0.5892 GB, free: 22.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.3847, allocations: 77.09 kB / 0.5893 GB, free: 22.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.605e-05/0.3848, allocations: 35.3 kB / 0.5893 GB, free: 22.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.6e-05/0.3848, allocations: 60.88 kB / 0.5894 GB, free: 22.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.3851, allocations: 197 kB / 0.5896 GB, free: 22.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3851, allocations: 2.625 kB / 0.5896 GB, free: 22.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3851, allocations: 0 / 0.5896 GB, free: 22.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.3851, allocations: 3.938 kB / 0.5896 GB, free: 22.59 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.0004698/0.3856, allocations: 493 kB / 0.59 GB, free: 22.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.823e-05/0.3856, allocations: 10.02 kB / 0.59 GB, free: 22.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/0.3857, allocations: 16.75 kB / 0.5901 GB, free: 22.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.3859, allocations: 249.6 kB / 0.5903 GB, free: 21.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.3859, allocations: 4.375 kB / 0.5903 GB, free: 21.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.3859, allocations: 9.406 kB / 0.5903 GB, free: 21.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.3861, allocations: 100.8 kB / 0.5904 GB, free: 21.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.3861, allocations: 0.5312 kB / 0.5904 GB, free: 21.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.3861, allocations: 4 kB / 0.5904 GB, free: 21.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.3861, allocations: 1.188 kB / 0.5904 GB, free: 21.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.36e-05/0.3862, allocations: 35.97 kB / 0.5904 GB, free: 21.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.3866, allocations: 353.2 kB / 0.5908 GB, free: 21.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.3868, allocations: 84.25 kB / 0.5909 GB, free: 21.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.998e-05/0.3869, allocations: 33.5 kB / 0.5909 GB, free: 21.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.3869, allocations: 4.625 kB / 0.5909 GB, free: 21.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.3871, allocations: 80.88 kB / 0.591 GB, free: 20.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.572e-06/0.3871, allocations: 0 / 0.591 GB, free: 20.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003079/0.3874, allocations: 146.2 kB / 0.5911 GB, free: 20.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.3874, allocations: 103.5 kB / 0.5912 GB, free: 20.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.3876, allocations: 267.9 kB / 0.5915 GB, free: 20.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.3877, allocations: 25.7 kB / 0.5915 GB, free: 20.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.818e-05/0.3877, allocations: 120 kB / 0.5916 GB, free: 20.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.3878, allocations: 20.86 kB / 0.5916 GB, free: 20.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.3878, allocations: 33.64 kB / 0.5917 GB, free: 20.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.601e-05/0.3879, allocations: 327.9 kB / 0.592 GB, free: 19.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.333e-05/0.3879, allocations: 31.92 kB / 0.592 GB, free: 19.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.908e-05/0.388, allocations: 65.47 kB / 0.5921 GB, free: 19.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.3882, allocations: 76.8 kB / 0.5921 GB, free: 19.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3882, allocations: 0 / 0.5921 GB, free: 19.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001784/0.3883, allocations: 117.7 kB / 0.5923 GB, free: 19.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.3884, allocations: 4 kB / 0.5923 GB, free: 19.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3884, allocations: 0 / 0.5923 GB, free: 19.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3884, allocations: 7.375 kB / 0.5923 GB, free: 19.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.634e-05/0.3885, allocations: 11.98 kB / 0.5923 GB, free: 19.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3885, allocations: 3.938 kB / 0.5923 GB, free: 19.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.361e-05/0.3886, allocations: 19.84 kB / 0.5923 GB, free: 19.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.3886, allocations: 4 kB / 0.5923 GB, free: 19.53 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 9.93e-05/0.3887, allocations: 144 kB / 0.5924 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.3887, allocations: 19.83 kB / 0.5925 GB, free: 19.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/0.3888, allocations: 22.59 kB / 0.5925 GB, free: 19.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.3888, allocations: 4 kB / 0.5925 GB, free: 19.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3888, allocations: 0 / 0.5925 GB, free: 19.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3888, allocations: 5.5 kB / 0.5925 GB, free: 19.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.389, allocations: 225.5 kB / 0.5927 GB, free: 19.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.389, allocations: 0 / 0.5927 GB, free: 19.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.637e-05/0.389, allocations: 4 kB / 0.5927 GB, free: 19.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.389, allocations: 5.688 kB / 0.5927 GB, free: 19.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.389, allocations: 4 kB / 0.5927 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.389, allocations: 0 / 0.5927 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.389, allocations: 0 / 0.5927 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.3892, allocations: 151.9 kB / 0.5929 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/0.3893, allocations: 88.92 kB / 0.5929 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.3893, allocations: 11.98 kB / 0.593 GB, free: 18.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.94e-05/0.3894, allocations: 0 / 0.593 GB, free: 18.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.3894, allocations: 7.984 kB / 0.593 GB, free: 18.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.3895, allocations: 7.938 kB / 0.593 GB, free: 18.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.3896, allocations: 194.1 kB / 0.5932 GB, free: 18.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3896, allocations: 0 / 0.5932 GB, free: 18.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.3898, allocations: 35.98 kB / 0.5932 GB, free: 18.54 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.0009508/0.3908, allocations: 432 kB / 0.5936 GB, free: 18.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001877/0.391, allocations: 69.19 kB / 0.5937 GB, free: 18.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.391, allocations: 4 kB / 0.5937 GB, free: 18.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.48e-05/0.3911, allocations: 36.94 kB / 0.5937 GB, free: 18.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.3914, allocations: 38.16 kB / 0.5937 GB, free: 18.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003778/0.3917, allocations: 286.9 kB / 0.594 GB, free: 17.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.3919, allocations: 0.7255 MB / 0.5947 GB, free: 17.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.055e-05/0.3919, allocations: 27.66 kB / 0.5948 GB, free: 17.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.675e-05/0.392, allocations: 19.44 kB / 0.5948 GB, free: 17.07 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.392, allocations: 3.938 kB / 0.5948 GB, free: 17.07 MB / 446.1 MB Notification: Performance of Templates: time 0.004449/0.3964, allocations: 2.536 MB / 0.5973 GB, free: 14.61 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)