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.001077/0.001077, allocations: 170.3 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.403/1.403, 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.001627/0.001627, allocations: 114.8 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.921e-05/2.924e-05, allocations: 8 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07727/0.07731, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3607/0.4381, allocations: 72.24 MB / 379.9 MB, free: 4 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/0.4384, allocations: 74.64 kB / 379.9 MB, free: 3.961 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06008/0.4985, allocations: 28.3 MB / 408.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4985, allocations: 0 / 408.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.4986, allocations: 4 kB / 408.2 MB, free: 12.57 MB / 298.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.0006483/0.4992, allocations: 0.6708 MB / 408.9 MB, free: 11.85 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.4993, allocations: 12.03 kB / 408.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.125e-05/0.4994, allocations: 47.44 kB / 409 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003393/0.4997, allocations: 279.2 kB / 409.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.4997, allocations: 7.984 kB / 409.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/0.4998, allocations: 8 kB / 409.3 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003098/0.5001, allocations: 165.2 kB / 409.4 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.5001, allocations: 0 / 409.4 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.5002, allocations: 4 kB / 409.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.5002, allocations: 0 / 409.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.5003, allocations: 85.09 kB / 409.5 MB, free: 11.26 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006943/0.501, allocations: 0.4969 MB / 410 MB, free: 10.78 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.5012, allocations: 121.9 kB / 410.1 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.5014, allocations: 106.5 kB / 410.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.327e-06/0.5014, allocations: 4 kB / 410.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002834/0.5017, allocations: 242.5 kB / 410.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.5017, allocations: 0 / 410.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006935/0.5024, allocations: 0.4978 MB / 411 MB, free: 9.902 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.344e-05/0.5025, allocations: 199.7 kB / 411.2 MB, free: 9.668 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005774/0.5031, allocations: 0.4941 MB / 411.7 MB, free: 9.246 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.5031, allocations: 33.64 kB / 411.7 MB, free: 9.207 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.026e-05/0.5032, allocations: 117.8 kB / 411.8 MB, free: 9.109 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.317e-05/0.5033, allocations: 30.97 kB / 411.8 MB, free: 9.086 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.891e-05/0.5033, allocations: 4 kB / 411.8 MB, free: 9.082 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.5034, allocations: 325.4 kB / 412.2 MB, free: 8.762 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.5035, allocations: 91.59 kB / 412.3 MB, free: 8.695 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.5037, allocations: 81.42 kB / 412.3 MB, free: 8.637 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.5039, allocations: 209 kB / 412.5 MB, free: 8.422 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.5039, allocations: 0 / 412.5 MB, free: 8.422 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005884/0.5045, allocations: 491.4 kB / 413 MB, free: 7.969 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.5046, allocations: 151.7 kB / 413.2 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.5046, allocations: 4 kB / 413.2 MB, free: 7.789 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.5046, allocations: 0 / 413.2 MB, free: 7.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.787e-05/0.5046, allocations: 0 / 413.2 MB, free: 7.789 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.5047, allocations: 0 / 413.2 MB, free: 7.789 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.5048, allocations: 22.05 kB / 413.2 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.5049, allocations: 101.2 kB / 413.3 MB, free: 7.668 MB / 298.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.0001994/0.5052, allocations: 276.2 kB / 413.6 MB, free: 7.367 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.569e-05/0.5052, allocations: 51.38 kB / 413.6 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.5053, allocations: 73.89 kB / 413.7 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.5053, allocations: 0 / 413.7 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.5054, allocations: 0 / 413.7 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.5054, allocations: 0 / 413.7 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.5064, allocations: 0.9252 MB / 414.6 MB, free: 6.363 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5064, allocations: 0 / 414.6 MB, free: 6.363 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.633e-06/0.5065, allocations: 4 kB / 414.6 MB, free: 6.359 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.5065, allocations: 128 / 414.6 MB, free: 6.359 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.9e-05/0.5065, allocations: 27.61 kB / 414.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.5065, allocations: 4 kB / 414.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5065, allocations: 0 / 414.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007482/0.5073, allocations: 0.6251 MB / 415.3 MB, free: 5.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003367/0.5076, allocations: 258.3 kB / 415.5 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.233e-05/0.5077, allocations: 11.44 kB / 415.5 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.5079, allocations: 12 kB / 415.5 MB, free: 5.484 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.508, allocations: 57.8 kB / 415.6 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.5082, allocations: 105.2 kB / 415.7 MB, free: 5.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004636/0.5086, allocations: 416.1 kB / 416.1 MB, free: 5 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5086, allocations: 0 / 416.1 MB, free: 5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002795/0.5089, allocations: 59.77 kB / 416.2 MB, free: 4.945 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.0001565/0.5091, allocations: 111.1 kB / 416.3 MB, free: 4.832 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005454/0.5096, allocations: 0.5413 MB / 416.8 MB, free: 4.328 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5096, allocations: 0 / 416.8 MB, free: 4.328 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000358/0.51, allocations: 463.6 kB / 417.3 MB, free: 3.902 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000703/0.5107, allocations: 157.2 kB / 417.4 MB, free: 3.766 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000954/0.5117, allocations: 0.6039 MB / 418 MB, free: 3.207 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004472/0.5121, allocations: 0.8216 MB / 418.8 MB, free: 2.367 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.724e-05/0.5122, allocations: 20.53 kB / 418.9 MB, free: 2.348 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.05e-05/0.5122, allocations: 11.44 kB / 418.9 MB, free: 2.336 MB / 298.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5122, allocations: 0 / 418.9 MB, free: 2.336 MB / 298.7 MB Notification: Performance of Templates: time 0.009855/0.5221, allocations: 6.595 MB / 425.5 MB, free: 11.58 MB / 314.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)