Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Multiplexer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.Multiplexer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Multiplexer") translateModel(Modelica.Electrical.Digital.Examples.Multiplexer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Multiplexer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009522/0.0009522, allocations: 180.6 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.168/1.168, allocations: 194.5 MB / 211.6 MB, free: 3.051 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001673/0.001673, allocations: 111.3 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000273/0.000273, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07859/0.07888, allocations: 44.49 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2151/0.2941, allocations: 79.05 MB / 434.1 MB, free: 10.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001818/0.2943, allocations: 68.53 kB / 434.2 MB, free: 10.44 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09042/0.3847, allocations: 54.78 MB / 489 MB, free: 6.473 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3848, allocations: 0 / 489 MB, free: 6.473 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.814e-05/0.3848, allocations: 27.94 kB / 489 MB, free: 6.445 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001329/0.3862, allocations: 1.02 MB / 490 MB, free: 5.348 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.3862, allocations: 12.03 kB / 490 MB, free: 5.336 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000177/0.3864, allocations: 75.16 kB / 490.1 MB, free: 5.262 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008754/0.3873, allocations: 466.4 kB / 490.5 MB, free: 4.766 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.693e-05/0.3873, allocations: 41.31 kB / 490.6 MB, free: 4.727 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.3875, allocations: 61.78 kB / 490.6 MB, free: 4.668 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.3888, allocations: 0.8378 MB / 491.5 MB, free: 3.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.3888, allocations: 0 / 491.5 MB, free: 3.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.389, allocations: 24 kB / 491.5 MB, free: 3.797 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.389, allocations: 12 kB / 491.5 MB, free: 3.785 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.3901, allocations: 0.6531 MB / 492.2 MB, free: 3.133 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002762/0.3929, allocations: 1.674 MB / 493.8 MB, free: 1.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.3939, allocations: 0.6046 MB / 494.4 MB, free: 0.793 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.788e-05/0.394, allocations: 4.562 kB / 494.5 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008376/0.3948, allocations: 0.5689 MB / 495 MB, free: 212 kB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 3.356e-06/0.3948, allocations: 3.984 kB / 495 MB, free: 208 kB / 362.7 MB Notification: Performance of matching and sorting (n=56): time 0.002163/0.397, allocations: 1.292 MB / 496.3 MB, free: 14.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.3971, allocations: 200.5 kB / 496.5 MB, free: 14.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003514/0.3975, allocations: 368.3 kB / 496.9 MB, free: 14.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.3976, allocations: 53.69 kB / 496.9 MB, free: 14.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.3978, allocations: 232.9 kB / 497.2 MB, free: 13.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/0.3979, allocations: 131.2 kB / 497.3 MB, free: 13.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.137e-05/0.398, allocations: 12 kB / 497.3 MB, free: 13.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.3982, allocations: 354.8 kB / 497.6 MB, free: 13.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005839/0.3988, allocations: 313.1 kB / 497.9 MB, free: 13.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005835/0.3994, allocations: 382.4 kB / 498.3 MB, free: 12.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006442/0.4, allocations: 470 kB / 498.8 MB, free: 12.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.4, allocations: 4 kB / 498.8 MB, free: 12.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001683/0.4017, allocations: 1.142 MB / 499.9 MB, free: 11.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.488e-05/0.4018, allocations: 146.2 kB / 0.4883 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.4018, allocations: 4 kB / 0.4884 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.4018, allocations: 4 kB / 0.4884 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.402, allocations: 107.8 kB / 0.4885 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.4021, allocations: 4 kB / 0.4885 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004046/0.4025, allocations: 75.73 kB / 0.4885 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004861/0.403, allocations: 0.5735 MB / 0.4891 GB, free: 10.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 75 ($whenCondition1,MUX.d,$PRE.MUX.Or1.auxiliary_n,MUX.Or1.x[1],MUX.Or1.x[2],MUX.Or1.x[3],MUX.Or1.x[4],MUX.Or1.auxiliary[2],MUX.Or1.auxiliary[3],MUX.Or1.auxiliary_n,$PRE.MUX.And1.auxiliary_n,$PRE.MUX.And2.auxiliary_n,$PRE.MUX.And3.auxiliary_n,$PRE.MUX.And4.auxiliary_n,FF.RS2.Nor2.x[2],FF.RS2.Nor2.auxiliary[2],FF.RS2.Nor2.auxiliary_n,$PRE.FF.RS2.TD1.x,FF.RS2.TD1.x_delayed,FF.And2.y,$PRE.FF.And2.auxiliary_n,FF.RS1.Nor2.x[2],FF.RS1.Nor2.auxiliary[2],FF.RS1.Nor2.auxiliary_n,$PRE.FF.RS1.TD1.x,FF.RS1.TD1.x_delayed,FF.And4.y,$PRE.FF.And4.auxiliary_n,FF.RS2.Nor1.auxiliary[2],$PRE.FF.RS2.Nor1.auxiliary_n,FF.RS2.Nor1.auxiliary_n,$PRE.FF.RS2.Nor2.auxiliary_n,FF.RS2.TD1.x,FF.And1.y,$PRE.FF.And1.auxiliary_n,FF.And3.x[1],FF.And3.x[2],FF.And3.auxiliary_n,FF.And4.auxiliary_n,$PRE.FF.Not1.auxiliary,CLK.y,$PRE.CLK.t_i,CLK.t_i,D0.y,D1.y,MUX.And1.x[1],MUX.And1.x[3],MUX.And1.auxiliary[2],MUX.And1.auxiliary_n,MUX.And2.auxiliary[2],MUX.And2.auxiliary_n,MUX.And3.auxiliary[2],MUX.And3.auxiliary_n,MUX.And4.auxiliary[2],MUX.And4.auxiliary_n,$PRE.MUX.Not1.auxiliary,MUX.Not1.auxiliary,$PRE.MUX.Not2.auxiliary,MUX.Not2.auxiliary,D2.y,D3.y,FF.RS1.Nor1.auxiliary[2],$PRE.FF.RS1.Nor1.auxiliary_n,FF.RS1.Nor1.auxiliary_n,$PRE.FF.RS1.Nor2.auxiliary_n,FF.RS1.TD1.x,FF.And1.auxiliary[2],FF.And1.auxiliary_n,FF.And2.x[1],FF.And2.auxiliary[2],FF.And2.auxiliary_n,FF.And3.y,$PRE.FF.And3.auxiliary_n,FF.Not1.auxiliary,Enable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 5 * 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.0004562/0.4034, allocations: 438.1 kB / 0.4895 GB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.4035, allocations: 55.39 kB / 0.4896 GB, free: 9.652 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.452e-05/0.4036, allocations: 56.75 kB / 0.4896 GB, free: 9.598 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.4036, allocations: 8 kB / 0.4896 GB, free: 9.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4037, allocations: 0 / 0.4896 GB, free: 9.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.4037, allocations: 0 / 0.4896 GB, free: 9.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007904/0.4045, allocations: 0.6578 MB / 0.4903 GB, free: 8.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4045, allocations: 0 / 0.4903 GB, free: 8.883 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.4046, allocations: 91.89 kB / 0.4904 GB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.4046, allocations: 0 / 0.4904 GB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/0.4048, allocations: 95.89 kB / 0.4904 GB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.4048, allocations: 4.938 kB / 0.4905 GB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.4048, allocations: 4 kB / 0.4905 GB, free: 8.691 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.4063, allocations: 1.063 MB / 0.4915 GB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004761/0.4068, allocations: 252.5 kB / 0.4917 GB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/0.407, allocations: 28 kB / 0.4918 GB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/0.4073, allocations: 67.8 kB / 0.4918 GB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002741/0.4076, allocations: 152.4 kB / 0.492 GB, free: 7.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000451/0.408, allocations: 0.5619 MB / 0.4925 GB, free: 6.508 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002227/0.4083, allocations: 255.1 kB / 0.4928 GB, free: 6.258 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4083, allocations: 0 / 0.4928 GB, free: 6.258 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004791/0.4088, allocations: 145.2 kB / 0.4929 GB, free: 6.117 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 56 ($whenCondition1,CLK.y,CLK.t_i,D0.y,D1.y,MUX.d,MUX.Or1.x[1],MUX.Or1.x[2],MUX.Or1.x[3],MUX.Or1.x[4],MUX.Or1.auxiliary[2],MUX.Or1.auxiliary[3],MUX.Or1.auxiliary_n,MUX.And1.x[1],MUX.And1.x[3],MUX.And1.auxiliary[2],MUX.And1.auxiliary_n,MUX.And2.auxiliary[2],MUX.And2.auxiliary_n,MUX.And3.auxiliary[2],MUX.And3.auxiliary_n,MUX.And4.auxiliary[2],MUX.And4.auxiliary_n,MUX.Not1.auxiliary,MUX.Not2.auxiliary,D2.y,D3.y,FF.RS1.Nor1.auxiliary[2],FF.RS1.Nor1.auxiliary_n,FF.RS1.Nor2.x[2],FF.RS1.Nor2.auxiliary[2],FF.RS1.Nor2.auxiliary_n,FF.RS1.TD1.x,FF.RS1.TD1.x_delayed,FF.RS2.Nor1.auxiliary[2],FF.RS2.Nor1.auxiliary_n,FF.RS2.Nor2.x[2],FF.RS2.Nor2.auxiliary[2],FF.RS2.Nor2.auxiliary_n,FF.RS2.TD1.x,FF.RS2.TD1.x_delayed,FF.And1.y,FF.And1.auxiliary[2],FF.And1.auxiliary_n,FF.And2.x[1],FF.And2.y,FF.And2.auxiliary[2],FF.And2.auxiliary_n,FF.And3.x[1],FF.And3.x[2],FF.And3.y,FF.And3.auxiliary_n,FF.And4.y,FF.And4.auxiliary_n,FF.Not1.auxiliary,Enable.y) * Number of discrete states: 23 (Enable.y,FF.Not1.auxiliary,FF.And4.auxiliary_n,FF.And3.auxiliary_n,FF.And2.auxiliary_n,FF.And1.auxiliary_n,FF.RS2.TD1.x,FF.RS2.Nor2.auxiliary_n,FF.RS2.Nor1.auxiliary_n,FF.RS1.TD1.x,FF.RS1.Nor2.auxiliary_n,FF.RS1.Nor1.auxiliary_n,D3.y,D2.y,MUX.Not2.auxiliary,MUX.Not1.auxiliary,MUX.And4.auxiliary_n,MUX.And3.auxiliary_n,MUX.And2.auxiliary_n,MUX.And1.auxiliary_n,MUX.Or1.auxiliary_n,D1.y,D0.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 1 * 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.0002299/0.409, allocations: 166 kB / 0.4931 GB, free: 5.945 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.4104, allocations: 1.04 MB / 0.4941 GB, free: 4.844 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4104, allocations: 0 / 0.4941 GB, free: 4.844 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007971/0.4112, allocations: 0.6836 MB / 0.4947 GB, free: 4.102 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.4127, allocations: 471.3 kB / 0.4952 GB, free: 3.656 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.4145, allocations: 1.238 MB / 0.4964 GB, free: 2.387 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004682/0.4149, allocations: 0.9063 MB / 0.4973 GB, free: 1.453 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002359/0.4173, allocations: 1.498 MB / 0.4988 GB, free: 15.96 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001214/0.4185, allocations: 478.2 kB / 0.4992 GB, free: 15.49 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4185, allocations: 0 / 0.4992 GB, free: 15.49 MB / 394.7 MB Notification: Performance of Templates: time 0.1494/0.568, allocations: 17.59 MB / 0.5164 GB, free: 112.4 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Multiplexer.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Multiplexer.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Multiplexer.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Multiplexer.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Multiplexer.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Multiplexer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Multiplexer.pipe 2>&1)