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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001411/0.001412, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.061/2.061, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005099/0.0005104, allocations: 18.66 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.387, allocations: 47.59 MB / 326.4 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.001717/0.3887, allocations: 1.228 MB / 327.7 MB, free: 432 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.391, allocations: 0.8714 MB / 328.5 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.549e-05/0.3911, allocations: 0 / 328.5 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.653e-05/0.3912, allocations: 9.453 kB / 328.6 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.3914, allocations: 25.81 kB / 328.6 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.3917, allocations: 36.7 kB / 328.6 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.3919, allocations: 84 kB / 328.7 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.392, allocations: 19.11 kB / 328.7 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000929/0.393, allocations: 477.2 kB / 329.2 MB, free: 15.47 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.3932, allocations: 109.9 kB / 329.3 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.732e-05/0.3933, allocations: 4.812 kB / 329.3 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.656e-05/0.3933, allocations: 3.5 kB / 329.3 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.3935, allocations: 73.97 kB / 329.4 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.3936, allocations: 75.39 kB / 329.4 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004806/0.3941, allocations: 363.9 kB / 329.8 MB, free: 15.06 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3941, allocations: 0 / 329.8 MB, free: 15.06 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.228e-06/0.3941, allocations: 0 / 329.8 MB, free: 15.06 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.3941, allocations: 1.281 kB / 329.8 MB, free: 15.06 MB / 270.1 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.00113/0.3952, allocations: 0.7329 MB / 330.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.594e-05/0.3953, allocations: 12.84 kB / 330.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.3955, allocations: 45.59 kB / 330.6 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005215/0.396, allocations: 286.5 kB / 330.9 MB, free: 14.03 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.36e-05/0.3961, allocations: 5.219 kB / 330.9 MB, free: 14.03 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.451e-05/0.3961, allocations: 12.73 kB / 330.9 MB, free: 14.02 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004747/0.3966, allocations: 168.3 kB / 331.1 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.3966, allocations: 5.062 kB / 331.1 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.94e-05/0.3967, allocations: 4 kB / 331.1 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.3967, allocations: 1.406 kB / 331.1 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002381/0.3969, allocations: 86.92 kB / 331.1 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.3982, allocations: 0.5018 MB / 331.7 MB, free: 13.45 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003325/0.3986, allocations: 126.5 kB / 331.8 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.3986, allocations: 0 / 331.8 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005666/0.3992, allocations: 244.1 kB / 332 MB, free: 13.19 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.3992, allocations: 0 / 332 MB, free: 13.19 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.001597/0.4008, allocations: 0.7674 MB / 332.8 MB, free: 12.64 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002224/0.4011, allocations: 199 kB / 333 MB, free: 12.41 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009686/0.402, allocations: 0.567 MB / 333.5 MB, free: 12.04 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.419e-05/0.4021, allocations: 33.92 kB / 333.6 MB, free: 12.01 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.865e-05/0.4022, allocations: 112.3 kB / 333.7 MB, free: 11.9 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.769e-05/0.4023, allocations: 30.75 kB / 333.7 MB, free: 11.88 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/0.4023, allocations: 4.125 kB / 333.7 MB, free: 11.88 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.4025, allocations: 331 kB / 334 MB, free: 11.55 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.4027, allocations: 79.06 kB / 334.1 MB, free: 11.48 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.4029, allocations: 101.7 kB / 334.2 MB, free: 11.38 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.4031, allocations: 212.4 kB / 334.4 MB, free: 11.14 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4031, allocations: 0 / 334.4 MB, free: 11.14 MB / 270.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006965/0.4038, allocations: 0.5058 MB / 334.9 MB, free: 10.59 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00012/0.4039, allocations: 148.5 kB / 335.1 MB, free: 10.42 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.404, allocations: 4.062 kB / 335.1 MB, free: 10.41 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.404, allocations: 4 kB / 335.1 MB, free: 10.41 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.515e-05/0.404, allocations: 7.922 kB / 335.1 MB, free: 10.4 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.404, allocations: 0 / 335.1 MB, free: 10.4 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.4043, allocations: 16 kB / 335.1 MB, free: 10.39 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/0.4045, allocations: 105.3 kB / 335.2 MB, free: 10.28 MB / 270.1 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.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,Select.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.0005317/0.405, allocations: 404.1 kB / 335.6 MB, free: 9.844 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.724e-05/0.4051, allocations: 39.53 kB / 335.6 MB, free: 9.805 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.4052, allocations: 71.47 kB / 335.7 MB, free: 9.73 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.4052, allocations: 0 / 335.7 MB, free: 9.73 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.4052, allocations: 0 / 335.7 MB, free: 9.73 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4052, allocations: 4 kB / 335.7 MB, free: 9.727 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.4067, allocations: 0.9633 MB / 336.7 MB, free: 8.676 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.4067, allocations: 0 / 336.7 MB, free: 8.676 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.134e-06/0.4067, allocations: 0 / 336.7 MB, free: 8.676 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.4067, allocations: 0 / 336.7 MB, free: 8.676 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.85e-05/0.4068, allocations: 23.98 kB / 336.7 MB, free: 8.652 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.4068, allocations: 0 / 336.7 MB, free: 8.652 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4068, allocations: 3.938 kB / 336.7 MB, free: 8.648 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009424/0.4077, allocations: 0.6595 MB / 337.4 MB, free: 7.941 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004226/0.4082, allocations: 256.3 kB / 337.6 MB, free: 7.672 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.77e-05/0.4083, allocations: 12 kB / 337.6 MB, free: 7.66 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.4085, allocations: 27.91 kB / 337.7 MB, free: 7.633 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002164/0.4087, allocations: 59.92 kB / 337.7 MB, free: 7.574 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/0.4088, allocations: 101.2 kB / 337.8 MB, free: 7.477 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0005902/0.4094, allocations: 414.8 kB / 338.2 MB, free: 7.074 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4094, allocations: 3.938 kB / 338.2 MB, free: 7.07 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003563/0.4098, allocations: 55.86 kB / 338.3 MB, free: 7.016 MB / 270.1 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.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,Select.y,Input0.y) * Number of discrete states: 14 (Input1.y,Select.y,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.0002272/0.41, allocations: 123.3 kB / 338.4 MB, free: 6.883 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0007433/0.4108, allocations: 0.536 MB / 338.9 MB, free: 6.285 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4108, allocations: 4.062 kB / 338.9 MB, free: 6.281 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004614/0.4113, allocations: 464.9 kB / 339.4 MB, free: 5.766 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008118/0.4121, allocations: 157.8 kB / 339.5 MB, free: 5.613 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.4136, allocations: 0.8338 MB / 340.4 MB, free: 4.754 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005069/0.4141, allocations: 0.8263 MB / 341.2 MB, free: 3.902 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.4142, allocations: 8.875 kB / 341.2 MB, free: 3.891 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/0.4142, allocations: 15.42 kB / 341.2 MB, free: 3.875 MB / 270.1 MB Notification: Performance of SimCode: time 6.32e-07/0.4142, allocations: 0 / 341.2 MB, free: 3.875 MB / 270.1 MB Notification: Performance of Templates: time 0.01317/0.4274, allocations: 6.572 MB / 347.8 MB, free: 13.13 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.MUX2x1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: