Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.MUX2x1.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.MUX2x1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.MUX2x1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009936/0.0009935, allocations: 164.5 kB / 7.636 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.197/1.197, allocations: 170.6 MB / 178.7 MB, free: 15.66 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.001536/0.001536, allocations: 112.5 kB / 218 MB, free: 8.43 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.869e-05/1.881e-05, allocations: 7.984 kB / 262.2 MB, free: 26.42 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06593/0.06597, allocations: 38.77 MB / 301 MB, free: 3.664 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2836/0.3497, allocations: 71.58 MB / 372.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.35, allocations: 70.28 kB / 372.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05376/0.4037, allocations: 28.11 MB / 400.7 MB, free: 6.242 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4038, allocations: 0 / 400.7 MB, free: 6.242 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.647e-05/0.4038, allocations: 8 kB / 400.7 MB, free: 6.234 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009576/0.4048, allocations: 0.6687 MB / 401.4 MB, free: 5.516 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.4048, allocations: 15.97 kB / 401.4 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.405, allocations: 47.38 kB / 401.5 MB, free: 5.453 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004335/0.4054, allocations: 269.5 kB / 401.7 MB, free: 5.152 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/0.4055, allocations: 6.875 kB / 401.7 MB, free: 5.148 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.631e-05/0.4056, allocations: 8 kB / 401.7 MB, free: 5.141 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001986/0.4058, allocations: 76.16 kB / 401.8 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.406, allocations: 161.4 kB / 402 MB, free: 4.945 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.4061, allocations: 0 / 402 MB, free: 4.945 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.4061, allocations: 7.938 kB / 402 MB, free: 4.938 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.4061, allocations: 0 / 402 MB, free: 4.938 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008759/0.407, allocations: 477.6 kB / 402.5 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.4072, allocations: 119.3 kB / 402.6 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.4073, allocations: 101.6 kB / 402.7 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.4074, allocations: 0 / 402.7 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003378/0.4077, allocations: 244.8 kB / 402.9 MB, free: 4.102 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 2.124e-06/0.4077, allocations: 0 / 402.9 MB, free: 4.102 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006654/0.4084, allocations: 353.3 kB / 403.3 MB, free: 3.801 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/0.4086, allocations: 194.7 kB / 403.4 MB, free: 3.574 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007123/0.4093, allocations: 484.9 kB / 403.9 MB, free: 3.168 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.03e-05/0.4093, allocations: 32.89 kB / 403.9 MB, free: 3.133 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.4094, allocations: 112.7 kB / 404.1 MB, free: 3.039 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.4096, allocations: 29.47 kB / 404.1 MB, free: 3.016 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.4096, allocations: 7.984 kB / 404.1 MB, free: 3.008 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.4097, allocations: 330 kB / 404.4 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.4099, allocations: 74.12 kB / 404.5 MB, free: 2.633 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.41, allocations: 85.91 kB / 404.6 MB, free: 2.57 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.4101, allocations: 56.91 kB / 404.6 MB, free: 2.531 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4101, allocations: 0 / 404.6 MB, free: 2.531 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004996/0.4106, allocations: 333.1 kB / 405 MB, free: 2.254 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.4108, allocations: 150.8 kB / 405.1 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.4108, allocations: 3.984 kB / 405.1 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.4108, allocations: 4 kB / 405.1 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.877e-05/0.4109, allocations: 4 kB / 405.1 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.4109, allocations: 0 / 405.1 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.4111, allocations: 12 kB / 405.1 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.4112, allocations: 97.41 kB / 405.2 MB, free: 1.961 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,Mux2x1.sel,Mux2x1.nextstate,Mux2x1.yy,$PRE.Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.x,$PRE.Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.t_next,Input1.y,Input0.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 3 * 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.0002409/0.4114, allocations: 284.8 kB / 405.5 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.988e-05/0.4115, allocations: 47.44 kB / 405.5 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.4116, allocations: 74.5 kB / 405.6 MB, free: 1.539 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4116, allocations: 3.984 kB / 405.6 MB, free: 1.535 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4117, allocations: 0 / 405.6 MB, free: 1.535 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.4117, allocations: 0 / 405.6 MB, free: 1.535 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009049/0.4126, allocations: 0.7349 MB / 406.4 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.4126, allocations: 0 / 406.4 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.052e-06/0.4126, allocations: 0 / 406.4 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4126, allocations: 0 / 406.4 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.645e-05/0.4127, allocations: 23.17 kB / 406.4 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.4127, allocations: 0 / 406.4 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.4127, allocations: 8 kB / 406.4 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006181/0.4133, allocations: 483.2 kB / 406.9 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/0.4137, allocations: 264.2 kB / 407.1 MB, free: 184 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.399e-05/0.4138, allocations: 11 kB / 407.1 MB, free: 176 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.414, allocations: 12 kB / 407.1 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.4141, allocations: 55.23 kB / 407.2 MB, free: 120 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.4142, allocations: 103.8 kB / 407.3 MB, free: 20 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004801/0.4147, allocations: 404.5 kB / 407.7 MB, free: 15.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4147, allocations: 0 / 407.7 MB, free: 15.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003007/0.415, allocations: 48 kB / 407.7 MB, free: 15.65 MB / 298.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: 14 ($whenCondition1,$whenCondition2,Mux2x1.sel,Mux2x1.nextstate,Mux2x1.yy,Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.t_next,Input1.y,Input0.y) * Number of discrete states: 14 (Input1.y,Mux2x1.sel,Input0.y,Mux2x1.yy,Mux2x1.nextstate,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.t_next,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,Mux2x1.inertialDelaySensitive.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0001736/0.4152, allocations: 106.9 kB / 407.8 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005504/0.4158, allocations: 0.5164 MB / 408.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.4158, allocations: 0 / 408.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000398/0.4162, allocations: 453 kB / 408.8 MB, free: 14.49 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008046/0.417, allocations: 179.2 kB / 409 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.4182, allocations: 0.5972 MB / 409.6 MB, free: 13.7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000647/0.4188, allocations: 0.8222 MB / 410.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001364/0.419, allocations: 17.19 kB / 410.4 MB, free: 12.83 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.55e-05/0.419, allocations: 11.44 kB / 410.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.419, allocations: 4 kB / 410.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of Templates: time 0.01157/0.4306, allocations: 6.343 MB / 416.8 MB, free: 6.301 MB / 298.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.MUX2x1.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1)