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.001146/0.001146, allocations: 187.9 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.308/1.308, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001783/0.001783, allocations: 120 kB / 248.1 MB, free: 6.344 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.419e-05/2.421e-05, allocations: 4 kB / 298.1 MB, free: 8.246 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09718/0.09722, allocations: 44.5 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.282/0.3792, allocations: 78.3 MB / 420.9 MB, free: 17.49 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001446/0.3794, allocations: 70.41 kB / 420.9 MB, free: 17.45 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.09125/0.4707, allocations: 54.78 MB / 475.7 MB, free: 2.602 MB / 347.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.4708, allocations: 4 kB / 475.7 MB, free: 2.598 MB / 347.1 MB Notification: Performance of Transformations before backend: time 2.795e-05/0.4708, allocations: 19.94 kB / 475.7 MB, free: 2.578 MB / 347.1 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.001334/0.4721, allocations: 0.962 MB / 476.7 MB, free: 1.535 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.4722, allocations: 12.03 kB / 476.7 MB, free: 1.523 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.4724, allocations: 79.09 kB / 476.8 MB, free: 1.445 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007171/0.4731, allocations: 465 kB / 477.2 MB, free: 0.9531 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.637e-05/0.4731, allocations: 24 kB / 477.3 MB, free: 0.9297 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.4733, allocations: 36 kB / 477.3 MB, free: 0.8945 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009282/0.4742, allocations: 0.5726 MB / 477.9 MB, free: 328 kB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.4754, allocations: 0.7299 MB / 478.6 MB, free: 15.59 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.4754, allocations: 7.875 kB / 478.6 MB, free: 15.58 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.4755, allocations: 4 kB / 478.6 MB, free: 15.57 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.4755, allocations: 16 kB / 478.6 MB, free: 15.56 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002395/0.4779, allocations: 1.575 MB / 480.2 MB, free: 13.95 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007055/0.4787, allocations: 0.535 MB / 480.7 MB, free: 13.4 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003657/0.479, allocations: 270.4 kB / 481 MB, free: 13.13 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.4792, allocations: 4.562 kB / 481 MB, free: 13.12 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006381/0.4798, allocations: 0.5289 MB / 481.5 MB, free: 12.58 MB / 363.1 MB Notification: Performance of pre-optimization done (n=56): time 2.244e-06/0.4798, allocations: 4 kB / 481.5 MB, free: 12.58 MB / 363.1 MB Notification: Performance of matching and sorting (n=56): time 0.001217/0.4811, allocations: 0.8157 MB / 482.4 MB, free: 11.76 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.962e-05/0.4812, allocations: 196.5 kB / 482.6 MB, free: 11.52 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003354/0.4815, allocations: 345.9 kB / 482.9 MB, free: 11.18 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.4816, allocations: 45.64 kB / 482.9 MB, free: 11.13 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.4818, allocations: 229 kB / 483.2 MB, free: 10.9 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000172/0.482, allocations: 130.5 kB / 483.3 MB, free: 10.77 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.749e-05/0.482, allocations: 4 kB / 483.3 MB, free: 10.77 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4822, allocations: 354.8 kB / 483.6 MB, free: 10.41 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003848/0.4826, allocations: 269.5 kB / 483.9 MB, free: 10.15 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000462/0.483, allocations: 340.1 kB / 484.2 MB, free: 9.797 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004213/0.4835, allocations: 305.7 kB / 484.5 MB, free: 9.5 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.4835, allocations: 0 / 484.5 MB, free: 9.5 MB / 363.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0013/0.4848, allocations: 0.8987 MB / 485.4 MB, free: 8.594 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.843e-05/0.4849, allocations: 148.5 kB / 485.6 MB, free: 8.418 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/0.485, allocations: 0 / 485.6 MB, free: 8.418 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.046e-05/0.485, allocations: 11.92 kB / 485.6 MB, free: 8.406 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.4853, allocations: 103.8 kB / 485.7 MB, free: 8.305 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.4853, allocations: 8 kB / 485.7 MB, free: 8.297 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004509/0.4858, allocations: 75.8 kB / 485.8 MB, free: 8.223 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004984/0.4863, allocations: 0.5618 MB / 486.3 MB, free: 7.66 MB / 363.1 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 () * 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.000368/0.4867, allocations: 313.1 kB / 486.6 MB, free: 7.316 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.4868, allocations: 51.44 kB / 486.7 MB, free: 7.266 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.621e-05/0.4869, allocations: 48.5 kB / 486.7 MB, free: 7.219 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.4869, allocations: 4 kB / 486.7 MB, free: 7.215 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4869, allocations: 0 / 486.7 MB, free: 7.215 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.487, allocations: 3.984 kB / 486.7 MB, free: 7.211 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007829/0.4877, allocations: 0.5686 MB / 487.3 MB, free: 6.602 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.4878, allocations: 4 kB / 487.3 MB, free: 6.598 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.4879, allocations: 91.88 kB / 487.4 MB, free: 6.508 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.4879, allocations: 8 kB / 487.4 MB, free: 6.5 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000133/0.4881, allocations: 83.95 kB / 487.5 MB, free: 6.418 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4881, allocations: 0.75 kB / 487.5 MB, free: 6.418 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.4881, allocations: 7.953 kB / 487.5 MB, free: 6.41 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.4894, allocations: 0.8598 MB / 488.4 MB, free: 5.531 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000382/0.4898, allocations: 256.5 kB / 488.6 MB, free: 5.262 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/0.4899, allocations: 12 kB / 488.6 MB, free: 5.25 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003361/0.4903, allocations: 63.8 kB / 488.7 MB, free: 5.188 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000288/0.4906, allocations: 156.4 kB / 488.8 MB, free: 5.035 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005508/0.4911, allocations: 0.558 MB / 489.4 MB, free: 4.477 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0002378/0.4914, allocations: 229.8 kB / 489.6 MB, free: 4.254 MB / 363.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4914, allocations: 0 / 489.6 MB, free: 4.254 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.0005902/0.492, allocations: 124 kB / 489.7 MB, free: 4.133 MB / 363.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: 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) * 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.0003036/0.4923, allocations: 159.4 kB / 489.9 MB, free: 3.965 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.001184/0.4935, allocations: 0.9613 MB / 490.9 MB, free: 2.945 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.4935, allocations: 0 / 490.9 MB, free: 2.945 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007017/0.4942, allocations: 0.6592 MB / 491.5 MB, free: 2.223 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00202/0.4963, allocations: 478.2 kB / 492 MB, free: 1.77 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.4978, allocations: 0.8496 MB / 492.8 MB, free: 0.8984 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005565/0.4984, allocations: 0.8991 MB / 493.7 MB, free: 15.97 MB / 379.1 MB Notification: Performance of simCode: alias equations: time 0.002535/0.5009, allocations: 1.5 MB / 495.2 MB, free: 14.46 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001363/0.5023, allocations: 490.2 kB / 495.7 MB, free: 13.98 MB / 379.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5023, allocations: 0 / 495.7 MB, free: 13.98 MB / 379.1 MB Notification: Performance of Templates: time 0.02378/0.5261, allocations: 17.24 MB / 0.5009 GB, free: 12.3 MB / 395.1 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)