Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Multiplexer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.Multiplexer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Multiplexer") translateModel(Modelica.Electrical.Digital.Examples.Multiplexer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Multiplexer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00938/0.00938, allocations: 166.4 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.189/1.189, allocations: 170.8 MB / 186.6 MB, free: 1.129 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001533/0.001533, allocations: 103.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002906/0.0002906, allocations: 12 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1919, allocations: 38.76 MB / 312.9 MB, free: 38.75 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08886/0.2808, allocations: 73.78 MB / 386.7 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.2811, allocations: 75.95 kB / 386.7 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2431/0.5242, allocations: 54.8 MB / 441.5 MB, free: 80.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5242, allocations: 0 / 441.5 MB, free: 80.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.178e-05/0.5243, allocations: 11.81 kB / 441.5 MB, free: 80.83 MB / 314.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.001454/0.5257, allocations: 1.03 MB / 442.6 MB, free: 79.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.5258, allocations: 7.906 kB / 442.6 MB, free: 79.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.526, allocations: 75.05 kB / 442.7 MB, free: 79.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006965/0.5267, allocations: 469.4 kB / 443.1 MB, free: 79.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.744e-05/0.5267, allocations: 49.02 kB / 443.2 MB, free: 79.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.5269, allocations: 62.27 kB / 443.2 MB, free: 79.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.5282, allocations: 0.8305 MB / 444.1 MB, free: 79.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.5282, allocations: 7.844 kB / 444.1 MB, free: 79.13 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.5283, allocations: 22.81 kB / 444.1 MB, free: 79.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.5283, allocations: 14.69 kB / 444.1 MB, free: 79.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.5295, allocations: 0.6482 MB / 444.7 MB, free: 78.75 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002579/0.532, allocations: 1.67 MB / 446.4 MB, free: 77.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000981/0.533, allocations: 0.5998 MB / 447 MB, free: 76.46 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.691e-05/0.5332, allocations: 8.562 kB / 447 MB, free: 76.45 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007714/0.5339, allocations: 0.5686 MB / 447.6 MB, free: 75.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=56): time 2.846e-06/0.534, allocations: 0 / 447.6 MB, free: 75.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.001961/0.5359, allocations: 1.296 MB / 448.9 MB, free: 74.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.532e-05/0.536, allocations: 196.5 kB / 449.1 MB, free: 74.31 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003953/0.5364, allocations: 368.3 kB / 449.4 MB, free: 73.94 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.5365, allocations: 49.64 kB / 449.5 MB, free: 73.89 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.5367, allocations: 255.8 kB / 449.7 MB, free: 73.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.5368, allocations: 125.2 kB / 449.9 MB, free: 73.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.461e-05/0.5369, allocations: 16 kB / 449.9 MB, free: 73.53 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.537, allocations: 358.8 kB / 450.2 MB, free: 73.17 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005124/0.5376, allocations: 301.1 kB / 450.5 MB, free: 72.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005237/0.5381, allocations: 380.4 kB / 450.9 MB, free: 72.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005832/0.5387, allocations: 471.1 kB / 451.4 MB, free: 72 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.5387, allocations: 4 kB / 451.4 MB, free: 72 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001501/0.5402, allocations: 1.136 MB / 452.5 MB, free: 70.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.565e-05/0.5403, allocations: 150.7 kB / 452.6 MB, free: 70.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.5403, allocations: 3.953 kB / 452.6 MB, free: 70.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.5403, allocations: 8.062 kB / 452.7 MB, free: 70.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.5405, allocations: 103.6 kB / 452.8 MB, free: 70.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.5406, allocations: 4 kB / 452.8 MB, free: 70.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004868/0.5411, allocations: 87.44 kB / 452.8 MB, free: 70.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004733/0.5415, allocations: 0.5688 MB / 453.4 MB, free: 69.91 MB / 314.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.0004935/0.542, allocations: 437.9 kB / 453.8 MB, free: 69.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.5422, allocations: 51.44 kB / 453.9 MB, free: 69.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.007e-05/0.5423, allocations: 52.77 kB / 453.9 MB, free: 69.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.5423, allocations: 7.953 kB / 453.9 MB, free: 69.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.5423, allocations: 0 / 453.9 MB, free: 69.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.5423, allocations: 7.984 kB / 454 MB, free: 69.33 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007369/0.543, allocations: 0.6519 MB / 454.6 MB, free: 68.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.543, allocations: 7.938 kB / 454.6 MB, free: 68.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.5432, allocations: 91.78 kB / 454.7 MB, free: 68.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.5432, allocations: 7.984 kB / 454.7 MB, free: 68.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001183/0.5433, allocations: 87.95 kB / 454.8 MB, free: 68.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.5433, allocations: 0 / 454.8 MB, free: 68.45 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.5433, allocations: 3.953 kB / 454.8 MB, free: 68.45 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.5447, allocations: 1.071 MB / 455.9 MB, free: 67.33 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004467/0.5451, allocations: 256.5 kB / 456.1 MB, free: 67.06 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/0.5453, allocations: 20 kB / 456.1 MB, free: 67.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003164/0.5456, allocations: 67.7 kB / 456.2 MB, free: 66.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002802/0.5459, allocations: 156.4 kB / 456.4 MB, free: 66.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004424/0.5464, allocations: 0.558 MB / 456.9 MB, free: 66.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002148/0.5466, allocations: 255.2 kB / 457.2 MB, free: 66.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5466, allocations: 0 / 457.2 MB, free: 66.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005894/0.5472, allocations: 144 kB / 457.3 MB, free: 65.88 MB / 314.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.0002472/0.5474, allocations: 168.8 kB / 457.5 MB, free: 65.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001232/0.5487, allocations: 1.034 MB / 458.5 MB, free: 64.63 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5487, allocations: 0 / 458.5 MB, free: 64.63 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006583/0.5494, allocations: 0.6872 MB / 459.2 MB, free: 63.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.5509, allocations: 489.5 kB / 459.7 MB, free: 63.42 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.5525, allocations: 1.232 MB / 460.9 MB, free: 62.15 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.5528, allocations: 0.8946 MB / 461.8 MB, free: 61.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.002276/0.5551, allocations: 1.5 MB / 463.3 MB, free: 59.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001275/0.5564, allocations: 490.2 kB / 463.8 MB, free: 59.25 MB / 314.7 MB Notification: Performance of SimCode: time 4.41e-07/0.5564, allocations: 0 / 463.8 MB, free: 59.25 MB / 314.7 MB Notification: Performance of Templates: time 0.0193/0.5757, allocations: 17.59 MB / 481.4 MB, free: 41.31 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Multiplexer.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Multiplexer.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Multiplexer.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Multiplexer.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Multiplexer.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Multiplexer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Multiplexer.pipe 2>&1)