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.001928/0.001928, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001967/0.001967, allocations: 191.7 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.971/1.971, allocations: 205.1 MB / 222 MB, free: 4.75 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.001289/0.001289, allocations: 47.92 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4169, allocations: 46.62 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.003052/0.42, allocations: 1.621 MB / 326.3 MB, free: 0.6484 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002099/0.4221, allocations: 0.9319 MB / 327.2 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.718e-05/0.4222, allocations: 3.938 kB / 327.2 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.4223, allocations: 3.984 kB / 327.2 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.647e-05/0.4224, allocations: 22.88 kB / 327.3 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.4227, allocations: 51.22 kB / 327.3 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.4228, allocations: 127.2 kB / 327.4 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.423, allocations: 28.12 kB / 327.5 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008008/0.4238, allocations: 0.6266 MB / 328.1 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.4239, allocations: 87.91 kB / 328.2 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.559e-05/0.424, allocations: 4.5 kB / 328.2 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.482e-05/0.4241, allocations: 9.5 kB / 328.2 MB, free: 15.51 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.4242, allocations: 79.97 kB / 328.3 MB, free: 15.47 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.4244, allocations: 128.4 kB / 328.4 MB, free: 15.37 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000455/0.4248, allocations: 450.7 kB / 328.8 MB, free: 15.03 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4248, allocations: 0 / 328.8 MB, free: 15.03 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4249, allocations: 1 kB / 328.8 MB, free: 15.03 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.4249, allocations: 0 / 328.8 MB, free: 15.03 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.001047/0.4259, allocations: 0.8113 MB / 329.6 MB, free: 14.26 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.426, allocations: 8.906 kB / 329.6 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.4261, allocations: 41.69 kB / 329.7 MB, free: 14.24 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.4265, allocations: 291.7 kB / 330 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.4265, allocations: 9.844 kB / 330 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.931e-05/0.4266, allocations: 16.83 kB / 330 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004478/0.427, allocations: 166.2 kB / 330.2 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.4271, allocations: 0 / 330.2 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.828e-05/0.4271, allocations: 11.73 kB / 330.2 MB, free: 13.85 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.4271, allocations: 1.5 kB / 330.2 MB, free: 13.85 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.4273, allocations: 82.98 kB / 330.3 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009026/0.4282, allocations: 0.5037 MB / 330.8 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.4285, allocations: 123.2 kB / 330.9 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.4287, allocations: 106.7 kB / 331 MB, free: 13.25 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.4288, allocations: 5.203 kB / 331 MB, free: 13.25 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005361/0.4293, allocations: 255.8 kB / 331.2 MB, free: 13.05 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.4293, allocations: 0 / 331.2 MB, free: 13.05 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.001179/0.4305, allocations: 0.6082 MB / 331.8 MB, free: 12.7 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/0.4306, allocations: 199.6 kB / 332 MB, free: 12.47 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007247/0.4314, allocations: 0.5637 MB / 332.6 MB, free: 11.92 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/0.4314, allocations: 33.7 kB / 332.6 MB, free: 11.88 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.4315, allocations: 121 kB / 332.8 MB, free: 11.76 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.4316, allocations: 23.72 kB / 332.8 MB, free: 11.74 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/0.4318, allocations: 101.4 kB / 332.9 MB, free: 11.63 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.4319, allocations: 330.8 kB / 333.2 MB, free: 11.3 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.4321, allocations: 84.02 kB / 333.3 MB, free: 11.22 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.4323, allocations: 97.67 kB / 333.4 MB, free: 11.12 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004596/0.4328, allocations: 442.7 kB / 333.8 MB, free: 10.62 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4328, allocations: 0 / 333.8 MB, free: 10.62 MB / 270.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007459/0.4335, allocations: 0.5058 MB / 334.3 MB, free: 10.07 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001246/0.4337, allocations: 148.5 kB / 334.5 MB, free: 9.898 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.4337, allocations: 4 kB / 334.5 MB, free: 9.895 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.4337, allocations: 0 / 334.5 MB, free: 9.895 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.191e-05/0.4338, allocations: 3.938 kB / 334.5 MB, free: 9.891 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.4338, allocations: 0 / 334.5 MB, free: 9.891 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.434, allocations: 23.89 kB / 334.5 MB, free: 9.867 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/0.4341, allocations: 101.3 kB / 334.6 MB, free: 9.766 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,Input0.y,Select.y,Input1.y,Mux2x1.inertialDelaySensitive.t_next,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.x,$PRE.Mux2x1.inertialDelaySensitive.x,Mux2x1.yy,Mux2x1.nextstate,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004168/0.4345, allocations: 400.1 kB / 335 MB, free: 9.332 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.541e-05/0.4346, allocations: 47.52 kB / 335 MB, free: 9.285 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.4347, allocations: 71.47 kB / 335.1 MB, free: 9.211 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.4347, allocations: 0 / 335.1 MB, free: 9.211 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.4347, allocations: 0 / 335.1 MB, free: 9.211 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.4348, allocations: 0 / 335.1 MB, free: 9.211 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.436, allocations: 0.9595 MB / 336.1 MB, free: 8.164 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.436, allocations: 0 / 336.1 MB, free: 8.164 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.25e-06/0.436, allocations: 0 / 336.1 MB, free: 8.164 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.436, allocations: 4 kB / 336.1 MB, free: 8.16 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.966e-05/0.4361, allocations: 19.98 kB / 336.1 MB, free: 8.141 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4361, allocations: 0 / 336.1 MB, free: 8.141 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.4361, allocations: 3.938 kB / 336.1 MB, free: 8.137 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008423/0.437, allocations: 0.6599 MB / 336.7 MB, free: 7.43 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003557/0.4373, allocations: 260.3 kB / 337 MB, free: 7.156 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-05/0.4374, allocations: 12 kB / 337 MB, free: 7.145 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.4377, allocations: 20.11 kB / 337 MB, free: 7.125 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/0.4378, allocations: 59.86 kB / 337.1 MB, free: 7.066 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/0.438, allocations: 109.2 kB / 337.2 MB, free: 6.961 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0005088/0.4385, allocations: 422.8 kB / 337.6 MB, free: 6.551 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4385, allocations: 0 / 337.6 MB, free: 6.551 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003222/0.4388, allocations: 48 kB / 337.7 MB, free: 6.504 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001862/0.439, allocations: 115.2 kB / 337.8 MB, free: 6.379 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0007554/0.4398, allocations: 0.5321 MB / 338.3 MB, free: 5.785 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4398, allocations: 8 kB / 338.3 MB, free: 5.777 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004521/0.4402, allocations: 468.9 kB / 338.8 MB, free: 5.258 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008497/0.4411, allocations: 165.9 kB / 338.9 MB, free: 5.098 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.4426, allocations: 0.875 MB / 339.8 MB, free: 4.199 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006026/0.4432, allocations: 0.8185 MB / 340.6 MB, free: 3.355 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.726e-05/0.4433, allocations: 16.86 kB / 340.6 MB, free: 3.34 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.614e-05/0.4433, allocations: 11.44 kB / 340.6 MB, free: 3.328 MB / 270.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4433, allocations: 0 / 340.6 MB, free: 3.328 MB / 270.1 MB Notification: Performance of Templates: time 0.01132/0.4546, allocations: 6.948 MB / 347.6 MB, free: 12.21 MB / 286.1 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)