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.001564/0.001564, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.142/1.142, allocations: 170.6 MB / 178.7 MB, free: 15.58 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.001529/0.001529, allocations: 103.5 kB / 218 MB, free: 8.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.515e-05/1.518e-05, allocations: 4 kB / 262.2 MB, free: 26.4 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06281/0.06284, allocations: 38.78 MB / 301 MB, free: 3.621 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2746/0.3375, allocations: 73.01 MB / 374 MB, free: 11.35 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.3378, allocations: 73.95 kB / 374.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09974/0.4376, allocations: 54.79 MB / 428.9 MB, free: 10.97 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4376, allocations: 0 / 428.9 MB, free: 10.97 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.183e-05/0.4377, allocations: 23.88 kB / 428.9 MB, free: 10.95 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.001924/0.4396, allocations: 0.9698 MB / 429.9 MB, free: 9.895 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.4397, allocations: 12.03 kB / 429.9 MB, free: 9.883 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000348/0.44, allocations: 75.16 kB / 429.9 MB, free: 9.809 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008274/0.4409, allocations: 461 kB / 430.4 MB, free: 9.316 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.079e-05/0.4409, allocations: 20 kB / 430.4 MB, free: 9.297 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.4411, allocations: 39.95 kB / 430.4 MB, free: 9.258 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001023/0.4421, allocations: 0.5765 MB / 431 MB, free: 8.68 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.4434, allocations: 0.7337 MB / 431.8 MB, free: 7.938 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.4434, allocations: 0 / 431.8 MB, free: 7.938 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.4435, allocations: 12 kB / 431.8 MB, free: 7.926 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.4435, allocations: 12 kB / 431.8 MB, free: 7.914 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002732/0.4463, allocations: 1.567 MB / 433.3 MB, free: 6.305 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007418/0.447, allocations: 0.5466 MB / 433.9 MB, free: 5.746 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003604/0.4474, allocations: 262.5 kB / 434.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/0.4475, allocations: 8.562 kB / 434.2 MB, free: 5.477 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007253/0.4483, allocations: 0.521 MB / 434.7 MB, free: 4.945 MB / 314.7 MB Notification: Performance of pre-optimization done (n=56): time 2.885e-06/0.4483, allocations: 0 / 434.7 MB, free: 4.945 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.001344/0.4496, allocations: 0.8186 MB / 435.5 MB, free: 4.117 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.4497, allocations: 204.4 kB / 435.7 MB, free: 3.875 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000409/0.4502, allocations: 349.9 kB / 436 MB, free: 3.535 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00011/0.4503, allocations: 37.7 kB / 436.1 MB, free: 3.492 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.4505, allocations: 236.9 kB / 436.3 MB, free: 3.254 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.4506, allocations: 114.6 kB / 436.4 MB, free: 3.141 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.301e-05/0.4507, allocations: 4 kB / 436.4 MB, free: 3.137 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.4509, allocations: 354.8 kB / 436.8 MB, free: 2.781 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004196/0.4513, allocations: 273.5 kB / 437 MB, free: 2.512 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004526/0.4518, allocations: 344.1 kB / 437.4 MB, free: 2.156 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004763/0.4523, allocations: 303.6 kB / 437.7 MB, free: 1.859 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4523, allocations: 0 / 437.7 MB, free: 1.859 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001352/0.4537, allocations: 0.9073 MB / 438.6 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.6e-05/0.4538, allocations: 140.5 kB / 438.7 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.4538, allocations: 4 kB / 438.7 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.4538, allocations: 4 kB / 438.7 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.4541, allocations: 107.9 kB / 438.8 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.4541, allocations: 4 kB / 438.8 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005054/0.4546, allocations: 83.58 kB / 438.9 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004932/0.4551, allocations: 0.5619 MB / 439.5 MB, free: 16 kB / 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 () * 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.0004023/0.4555, allocations: 309.3 kB / 439.8 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.4556, allocations: 47.44 kB / 439.8 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.735e-05/0.4557, allocations: 52.47 kB / 439.9 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.4558, allocations: 4 kB / 439.9 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.4558, allocations: 4 kB / 439.9 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.4558, allocations: 0 / 439.9 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008214/0.4566, allocations: 0.5803 MB / 440.5 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4566, allocations: 0 / 440.5 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.4568, allocations: 91.88 kB / 440.6 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.4568, allocations: 4 kB / 440.6 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00013/0.4569, allocations: 83.95 kB / 440.6 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.457, allocations: 4 kB / 440.6 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.457, allocations: 3.984 kB / 440.6 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.4583, allocations: 0.8636 MB / 441.5 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004142/0.4588, allocations: 252.5 kB / 441.8 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/0.4589, allocations: 16 kB / 441.8 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003531/0.4593, allocations: 59.8 kB / 441.8 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002806/0.4596, allocations: 152.4 kB / 442 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005456/0.4601, allocations: 0.5657 MB / 442.5 MB, free: 12.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002383/0.4604, allocations: 236.5 kB / 442.8 MB, free: 12.6 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4604, allocations: 0 / 442.8 MB, free: 12.6 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005866/0.461, allocations: 120 kB / 442.9 MB, free: 12.48 MB / 330.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) * 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.0002768/0.4613, allocations: 158.8 kB / 443 MB, free: 12.31 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.4625, allocations: 0.9572 MB / 444 MB, free: 11.29 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.4625, allocations: 0 / 444 MB, free: 11.29 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007159/0.4632, allocations: 0.6552 MB / 444.7 MB, free: 10.58 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/0.4653, allocations: 486.7 kB / 445.1 MB, free: 10.11 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.4669, allocations: 0.8386 MB / 446 MB, free: 9.242 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005259/0.4674, allocations: 0.9023 MB / 446.9 MB, free: 8.309 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002541/0.47, allocations: 1.5 MB / 448.4 MB, free: 6.801 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001333/0.4713, allocations: 478.2 kB / 448.8 MB, free: 6.332 MB / 330.7 MB Notification: Performance of SimCode: time 5.91e-07/0.4713, allocations: 0 / 448.8 MB, free: 6.332 MB / 330.7 MB Notification: Performance of Templates: time 0.02458/0.4959, allocations: 17.25 MB / 466.1 MB, free: 4.602 MB / 346.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)