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.005623/0.005623, allocations: 166.2 kB / 15.11 MB, free: 5.973 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.348/1.348, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.0017/0.0017, allocations: 97.28 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003573, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2569, allocations: 38.76 MB / 312.9 MB, free: 38.71 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09938/0.3564, allocations: 72.34 MB / 385.2 MB, free: 2.203 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/0.3567, allocations: 71.91 kB / 385.3 MB, free: 2.133 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0554/0.4122, allocations: 28.1 MB / 413.4 MB, free: 6.113 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4122, allocations: 0 / 413.4 MB, free: 6.113 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.4122, allocations: 4 kB / 413.4 MB, free: 6.109 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008502/0.4131, allocations: 0.7398 MB / 414.1 MB, free: 5.289 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.4131, allocations: 8.031 kB / 414.1 MB, free: 5.281 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.449e-05/0.4133, allocations: 51.52 kB / 414.2 MB, free: 5.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.4136, allocations: 273.3 kB / 414.5 MB, free: 4.926 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.4137, allocations: 4 kB / 414.5 MB, free: 4.922 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.4137, allocations: 12 kB / 414.5 MB, free: 4.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003461/0.4141, allocations: 177.4 kB / 414.6 MB, free: 4.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.4141, allocations: 0 / 414.6 MB, free: 4.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.4141, allocations: 8 kB / 414.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.4141, allocations: 0 / 414.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.4143, allocations: 83.95 kB / 414.7 MB, free: 4.641 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009028/0.4152, allocations: 0.5082 MB / 415.2 MB, free: 4.082 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.4155, allocations: 118.5 kB / 415.4 MB, free: 3.957 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.4155, allocations: 0 / 415.4 MB, free: 3.957 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003723/0.4159, allocations: 242.3 kB / 415.6 MB, free: 3.699 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 3.376e-06/0.4159, allocations: 0 / 415.6 MB, free: 3.699 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.001032/0.4169, allocations: 0.7458 MB / 416.3 MB, free: 2.879 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.417, allocations: 199.9 kB / 416.5 MB, free: 2.641 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006243/0.4177, allocations: 0.4969 MB / 417 MB, free: 2.141 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.756e-05/0.4177, allocations: 37.64 kB / 417.1 MB, free: 2.098 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.554e-05/0.4178, allocations: 113.1 kB / 417.2 MB, free: 1.984 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.649e-05/0.4179, allocations: 27.64 kB / 417.2 MB, free: 1.957 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.813e-05/0.4179, allocations: 4 kB / 417.2 MB, free: 1.953 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.418, allocations: 334.8 kB / 417.5 MB, free: 1.617 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.4182, allocations: 79.95 kB / 417.6 MB, free: 1.539 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.4184, allocations: 101.7 kB / 417.7 MB, free: 1.434 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/0.4186, allocations: 212.6 kB / 417.9 MB, free: 1.195 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.4186, allocations: 0 / 417.9 MB, free: 1.195 MB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006876/0.4193, allocations: 485.9 kB / 418.4 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.4194, allocations: 156.5 kB / 418.6 MB, free: 0.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.4194, allocations: 4.062 kB / 418.6 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.4195, allocations: 4 kB / 418.6 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.36e-05/0.4195, allocations: 0 / 418.6 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.4195, allocations: 0 / 418.6 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.4197, allocations: 23.92 kB / 418.6 MB, free: 480 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.4198, allocations: 93.25 kB / 418.7 MB, free: 384 kB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.Mux2x1.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,Mux2x1.sel,Mux2x1.nextstate,Mux2x1.yy,$PRE.Mux2x1.inertialDelaySensitive.x,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: 0 () * Number of clocked 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.2099/0.6297, allocations: 401.7 kB / 419.1 MB, free: 86.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.6299, allocations: 43 kB / 419.1 MB, free: 86.65 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.6301, allocations: 69.95 kB / 419.2 MB, free: 86.63 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.82e-06/0.6301, allocations: 1.453 kB / 419.2 MB, free: 86.63 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.6302, allocations: 0 / 419.2 MB, free: 86.63 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.6302, allocations: 2.266 kB / 419.2 MB, free: 86.63 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.6317, allocations: 0.9432 MB / 420.1 MB, free: 86.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.6317, allocations: 1.047 kB / 420.1 MB, free: 86.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.294e-05/0.6318, allocations: 0.5938 kB / 420.1 MB, free: 86.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/0.6318, allocations: 1.109 kB / 420.1 MB, free: 86.14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.939e-05/0.6319, allocations: 21.64 kB / 420.1 MB, free: 86.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.6319, allocations: 2.375 kB / 420.2 MB, free: 86.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.6319, allocations: 4.281 kB / 420.2 MB, free: 86.14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.633, allocations: 0.6348 MB / 420.8 MB, free: 85.85 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004233/0.6334, allocations: 257.4 kB / 421 MB, free: 85.71 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.75e-05/0.6335, allocations: 12.12 kB / 421.1 MB, free: 85.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.6337, allocations: 15.42 kB / 421.1 MB, free: 85.71 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/0.6339, allocations: 57.28 kB / 421.1 MB, free: 85.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001426/0.634, allocations: 102.4 kB / 421.2 MB, free: 85.71 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006167/0.6347, allocations: 425.6 kB / 421.6 MB, free: 85.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6347, allocations: 0 / 421.6 MB, free: 85.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003813/0.6351, allocations: 52.59 kB / 421.7 MB, free: 85.57 MB / 314.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) * Number of clocked states: 0 () * 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.0001629/0.6352, allocations: 114 kB / 421.8 MB, free: 85.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005882/0.6358, allocations: 0.5336 MB / 422.3 MB, free: 85.17 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6358, allocations: 0 / 422.3 MB, free: 85.17 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003476/0.6362, allocations: 464.4 kB / 422.8 MB, free: 84.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007214/0.6369, allocations: 158.2 kB / 422.9 MB, free: 84.85 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.6384, allocations: 0.8411 MB / 423.8 MB, free: 84.44 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/0.6388, allocations: 0.8265 MB / 424.6 MB, free: 83.72 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.6389, allocations: 15.58 kB / 424.6 MB, free: 83.71 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.58e-05/0.639, allocations: 11 kB / 424.6 MB, free: 83.71 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.639, allocations: 0 / 424.6 MB, free: 83.71 MB / 314.7 MB Notification: Performance of Templates: time 0.01052/0.6495, allocations: 6.585 MB / 431.2 MB, free: 82.98 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)