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.001435/0.001435, allocations: 169.4 kB / 12.72 MB, free: 2.594 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.308/1.308, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001582/0.001582, allocations: 103.5 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.43e-05/2.432e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06574/0.06578, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2478/0.3136, allocations: 73.68 MB / 381.3 MB, free: 2.531 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.3139, allocations: 75.81 kB / 381.4 MB, free: 2.488 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1026/0.4166, allocations: 55.19 MB / 436.6 MB, free: 1.516 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4166, allocations: 0 / 436.6 MB, free: 1.516 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.709e-05/0.4166, allocations: 12 kB / 436.6 MB, free: 1.504 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.001231/0.4179, allocations: 0.962 MB / 437.5 MB, free: 476 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.4179, allocations: 12.03 kB / 437.6 MB, free: 464 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.4181, allocations: 75.16 kB / 437.6 MB, free: 388 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007538/0.4189, allocations: 469 kB / 438.1 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.291e-05/0.4189, allocations: 41.31 kB / 438.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.4191, allocations: 59.95 kB / 438.2 MB, free: 15.78 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.4205, allocations: 0.8182 MB / 439 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.4205, allocations: 0 / 439 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.4206, allocations: 32 kB / 439 MB, free: 14.92 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.4207, allocations: 12 kB / 439 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.4217, allocations: 0.6064 MB / 439.7 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002818/0.4245, allocations: 1.674 MB / 441.3 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009441/0.4255, allocations: 0.5699 MB / 441.9 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004605/0.426, allocations: 286.5 kB / 442.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.4261, allocations: 4.562 kB / 442.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007522/0.4268, allocations: 0.5377 MB / 442.7 MB, free: 11.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=56): time 2.304e-06/0.4269, allocations: 0 / 442.7 MB, free: 11.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=56): time 0.001646/0.4285, allocations: 0.9909 MB / 443.7 MB, free: 10.12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.4286, allocations: 200.5 kB / 443.9 MB, free: 9.887 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004065/0.429, allocations: 359.1 kB / 444.3 MB, free: 9.527 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.4292, allocations: 53.7 kB / 444.3 MB, free: 9.469 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.4293, allocations: 236.9 kB / 444.5 MB, free: 9.234 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.4295, allocations: 126.5 kB / 444.7 MB, free: 9.109 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.654e-05/0.4296, allocations: 16 kB / 444.7 MB, free: 9.094 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.4297, allocations: 354.8 kB / 445 MB, free: 8.738 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005078/0.4302, allocations: 285.5 kB / 445.3 MB, free: 8.461 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005423/0.4308, allocations: 365.7 kB / 445.7 MB, free: 8.082 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006088/0.4314, allocations: 446.7 kB / 446.1 MB, free: 7.617 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.4314, allocations: 4 kB / 446.1 MB, free: 7.613 MB / 330.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001652/0.4331, allocations: 1.094 MB / 447.2 MB, free: 6.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.938e-05/0.4332, allocations: 144.5 kB / 447.3 MB, free: 6.309 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.4332, allocations: 4 kB / 447.3 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.4332, allocations: 8.062 kB / 447.3 MB, free: 6.297 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.4335, allocations: 107.8 kB / 447.5 MB, free: 6.191 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.4335, allocations: 4 kB / 447.5 MB, free: 6.188 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005302/0.434, allocations: 95.56 kB / 447.6 MB, free: 6.094 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005433/0.4346, allocations: 0.558 MB / 448.1 MB, free: 5.535 MB / 330.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.0003897/0.435, allocations: 325.8 kB / 448.4 MB, free: 5.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.4351, allocations: 55.42 kB / 448.5 MB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.4353, allocations: 52.55 kB / 448.5 MB, free: 5.074 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.4353, allocations: 4 kB / 448.5 MB, free: 5.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.4353, allocations: 3.953 kB / 448.5 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.4353, allocations: 8 kB / 448.5 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000958/0.4363, allocations: 0.6501 MB / 449.2 MB, free: 4.359 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4363, allocations: 4 kB / 449.2 MB, free: 4.355 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.4365, allocations: 91.83 kB / 449.3 MB, free: 4.266 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-06/0.4365, allocations: 4 kB / 449.3 MB, free: 4.262 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/0.4366, allocations: 87.94 kB / 449.4 MB, free: 4.176 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.4366, allocations: 0 / 449.4 MB, free: 4.176 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.4366, allocations: 11.92 kB / 449.4 MB, free: 4.164 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.4382, allocations: 1.032 MB / 450.4 MB, free: 3.082 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005244/0.4387, allocations: 252.5 kB / 450.7 MB, free: 2.816 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.4389, allocations: 28 kB / 450.7 MB, free: 2.789 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.4393, allocations: 67.78 kB / 450.8 MB, free: 2.723 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003676/0.4396, allocations: 152.4 kB / 450.9 MB, free: 2.574 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005871/0.4402, allocations: 0.5618 MB / 451.5 MB, free: 2.012 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002899/0.4405, allocations: 246.1 kB / 451.7 MB, free: 1.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4406, allocations: 0 / 451.7 MB, free: 1.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006125/0.4412, allocations: 148 kB / 451.9 MB, free: 1.625 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.000255/0.4414, allocations: 164.9 kB / 452 MB, free: 1.453 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001485/0.4429, allocations: 0.9893 MB / 453 MB, free: 408 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.443, allocations: 4 kB / 453 MB, free: 404 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008125/0.4438, allocations: 0.6719 MB / 453.7 MB, free: 15.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/0.4456, allocations: 486.6 kB / 454.2 MB, free: 15.19 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.4473, allocations: 0.8752 MB / 455 MB, free: 14.29 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004864/0.4478, allocations: 0.9025 MB / 455.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002559/0.4504, allocations: 1.5 MB / 457.4 MB, free: 11.86 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/0.4518, allocations: 478.3 kB / 457.9 MB, free: 11.39 MB / 346.7 MB Notification: Performance of SimCode: time 1.342e-06/0.4518, allocations: 0 / 457.9 MB, free: 11.39 MB / 346.7 MB Notification: Performance of Templates: time 0.1695/0.6213, allocations: 17.6 MB / 475.5 MB, free: 100.5 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)