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.001146/0.001146, allocations: 106.7 kB / 16.27 MB, free: 6.41 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.001186/0.001186, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.333/1.333, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7943/0.7943, allocations: 135.1 MB / 426.2 MB, free: 4.191 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 63.89 kB / 0.506 GB, free: 8.398 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3205, allocations: 80.91 MB / 0.585 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002777/0.3234, allocations: 1.77 MB / 0.5867 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.3248, allocations: 1.096 MB / 0.5878 GB, free: 23.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.768e-05/0.3249, allocations: 6.438 kB / 0.5878 GB, free: 23.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.3252, allocations: 53.67 kB / 0.5879 GB, free: 23.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.3254, allocations: 79.2 kB / 0.5879 GB, free: 23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005169/0.3259, allocations: 227 kB / 0.5882 GB, free: 22.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.3261, allocations: 142.6 kB / 0.5883 GB, free: 22.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.3262, allocations: 20.39 kB / 0.5883 GB, free: 22.76 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.253e-05/0.3263, allocations: 70.33 kB / 0.5884 GB, free: 22.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.387e-05/0.3264, allocations: 67.25 kB / 0.5884 GB, free: 22.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.3264, allocations: 7.875 kB / 0.5885 GB, free: 22.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.3266, allocations: 63.53 kB / 0.5885 GB, free: 22.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.876e-05/0.3266, allocations: 38.23 kB / 0.5885 GB, free: 22.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.22e-05/0.3267, allocations: 61.27 kB / 0.5886 GB, free: 22.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.3269, allocations: 195.1 kB / 0.5888 GB, free: 22.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.327, allocations: 6.406 kB / 0.5888 GB, free: 22.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.327, allocations: 3.938 kB / 0.5888 GB, free: 22.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.327, allocations: 0 / 0.5888 GB, free: 22.45 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.0005342/0.3275, allocations: 484.1 kB / 0.5893 GB, free: 21.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.3276, allocations: 10.55 kB / 0.5893 GB, free: 21.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.347e-05/0.3276, allocations: 18.06 kB / 0.5893 GB, free: 21.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.3278, allocations: 246.8 kB / 0.5895 GB, free: 21.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.3279, allocations: 8.188 kB / 0.5895 GB, free: 21.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.3279, allocations: 10.75 kB / 0.5895 GB, free: 21.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.3281, allocations: 98.38 kB / 0.5896 GB, free: 21.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.3281, allocations: 0 / 0.5896 GB, free: 21.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.3281, allocations: 1.375 kB / 0.5896 GB, free: 21.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.3281, allocations: 2.125 kB / 0.5896 GB, free: 21.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.3283, allocations: 43.19 kB / 0.5897 GB, free: 21.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/0.3287, allocations: 358.5 kB / 0.59 GB, free: 21.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.3289, allocations: 90.06 kB / 0.5901 GB, free: 21.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.439e-05/0.329, allocations: 33.03 kB / 0.5901 GB, free: 21.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.329, allocations: 5.281 kB / 0.5901 GB, free: 21.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.3292, allocations: 83.89 kB / 0.5902 GB, free: 21.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.3292, allocations: 0 / 0.5902 GB, free: 21.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003087/0.3295, allocations: 140.4 kB / 0.5904 GB, free: 20.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.3296, allocations: 110.7 kB / 0.5905 GB, free: 20.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.3298, allocations: 266.8 kB / 0.5907 GB, free: 20.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.3298, allocations: 29.7 kB / 0.5907 GB, free: 20.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.997e-05/0.3298, allocations: 116 kB / 0.5909 GB, free: 20.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.3299, allocations: 23.73 kB / 0.5909 GB, free: 20.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.3299, allocations: 22.34 kB / 0.5909 GB, free: 20.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.731e-05/0.33, allocations: 335.4 kB / 0.5912 GB, free: 19.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.4e-05/0.33, allocations: 30.17 kB / 0.5913 GB, free: 19.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.658e-05/0.3301, allocations: 64.28 kB / 0.5913 GB, free: 19.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.3302, allocations: 74.59 kB / 0.5914 GB, free: 19.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3303, allocations: 1.938 kB / 0.5914 GB, free: 19.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001846/0.3304, allocations: 113.5 kB / 0.5915 GB, free: 19.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.3305, allocations: 4 kB / 0.5915 GB, free: 19.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3305, allocations: 0 / 0.5915 GB, free: 19.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.3305, allocations: 5.875 kB / 0.5915 GB, free: 19.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.613e-05/0.3306, allocations: 11.94 kB / 0.5915 GB, free: 19.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3306, allocations: 3.984 kB / 0.5915 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.295e-05/0.3307, allocations: 15.84 kB / 0.5915 GB, free: 19.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.3307, allocations: 4 kB / 0.5915 GB, free: 19.62 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.105e-05/0.3308, allocations: 145.2 kB / 0.5917 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.3308, allocations: 12.78 kB / 0.5917 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.788e-05/0.3309, allocations: 21.39 kB / 0.5917 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.3309, allocations: 4.5 kB / 0.5917 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3309, allocations: 192 / 0.5917 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3309, allocations: 4.594 kB / 0.5917 GB, free: 19.44 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.331, allocations: 226 kB / 0.5919 GB, free: 19.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.331, allocations: 0 / 0.5919 GB, free: 19.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.907e-05/0.3311, allocations: 9.422 kB / 0.5919 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3311, allocations: 7.938 kB / 0.592 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.3311, allocations: 0 / 0.592 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3311, allocations: 0 / 0.592 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3311, allocations: 5.625 kB / 0.592 GB, free: 19.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.3313, allocations: 154.2 kB / 0.5921 GB, free: 18.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.249e-05/0.3314, allocations: 88.92 kB / 0.5922 GB, free: 18.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.3314, allocations: 4 kB / 0.5922 GB, free: 18.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.474e-05/0.3314, allocations: 3.984 kB / 0.5922 GB, free: 18.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.3315, allocations: 10.06 kB / 0.5922 GB, free: 18.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.3315, allocations: 11.92 kB / 0.5922 GB, free: 18.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.3317, allocations: 192.6 kB / 0.5924 GB, free: 18.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3317, allocations: 0 / 0.5924 GB, free: 18.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002418/0.3319, allocations: 32 kB / 0.5924 GB, free: 18.63 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.0009452/0.3329, allocations: 427.8 kB / 0.5928 GB, free: 18.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.3331, allocations: 76.83 kB / 0.5929 GB, free: 18.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3331, allocations: 0 / 0.5929 GB, free: 18.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.055e-05/0.3332, allocations: 40.98 kB / 0.593 GB, free: 18.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.3335, allocations: 40.45 kB / 0.593 GB, free: 18.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004121/0.3339, allocations: 332.6 kB / 0.5933 GB, free: 17.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.334, allocations: 0.7257 MB / 0.594 GB, free: 17.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.3341, allocations: 24.09 kB / 0.594 GB, free: 17.14 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3341, allocations: 0 / 0.594 GB, free: 17.14 MB / 446.1 MB Notification: Performance of Templates: time 0.003673/0.3378, allocations: 2.602 MB / 0.5966 GB, free: 14.59 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)