Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001182/0.001182, allocations: 81.56 kB / 16.31 MB, free: 5.676 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.001874/0.001874, allocations: 178.7 kB / 17.2 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.019/2.019, allocations: 205.4 MB / 223.4 MB, free: 5.273 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.0005195/0.0005197, allocations: 12 kB / 280.1 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3458, allocations: 47.59 MB / 327.7 MB, free: 1.461 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.001589/0.3474, allocations: 1.244 MB / 329 MB, free: 480 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.349, allocations: 0.8602 MB / 329.8 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.296e-05/0.3491, allocations: 5.25 kB / 329.8 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.3493, allocations: 5.078 kB / 329.8 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.407e-05/0.3493, allocations: 18.34 kB / 329.9 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.3496, allocations: 44.34 kB / 329.9 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.3498, allocations: 118 kB / 330 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.3499, allocations: 19.2 kB / 330 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007811/0.3507, allocations: 0.5627 MB / 330.6 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.3509, allocations: 104.7 kB / 330.7 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.091e-05/0.351, allocations: 4.625 kB / 330.7 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.104e-05/0.351, allocations: 4.719 kB / 330.7 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.947e-05/0.3511, allocations: 77.52 kB / 330.8 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.3512, allocations: 83.02 kB / 330.9 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003535/0.3516, allocations: 364.2 kB / 331.2 MB, free: 15.06 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.3516, allocations: 4.969 kB / 331.2 MB, free: 15.05 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3516, allocations: 0 / 331.2 MB, free: 15.05 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.3516, allocations: 0 / 331.2 MB, free: 15.05 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.0008156/0.3524, allocations: 0.7416 MB / 332 MB, free: 14.32 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.3525, allocations: 13.31 kB / 332 MB, free: 14.31 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.571e-05/0.3526, allocations: 40.59 kB / 332 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000358/0.3529, allocations: 279.2 kB / 332.3 MB, free: 14.02 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.353, allocations: 5.906 kB / 332.3 MB, free: 14.02 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.353, allocations: 12.75 kB / 332.3 MB, free: 14.02 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/0.3534, allocations: 168.9 kB / 332.5 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.3534, allocations: 0 / 332.5 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/0.3535, allocations: 3.406 kB / 332.5 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3535, allocations: 2.219 kB / 332.5 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001777/0.3537, allocations: 83.11 kB / 332.6 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007755/0.3544, allocations: 0.5051 MB / 333.1 MB, free: 13.45 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.3547, allocations: 118.5 kB / 333.2 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.3549, allocations: 110.5 kB / 333.3 MB, free: 13.33 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.3549, allocations: 5.469 kB / 333.3 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004213/0.3553, allocations: 243.2 kB / 333.5 MB, free: 13.14 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.754e-06/0.3553, allocations: 1.094 kB / 333.5 MB, free: 13.14 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.001089/0.3564, allocations: 0.6061 MB / 334.1 MB, free: 12.79 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.3566, allocations: 191.6 kB / 334.3 MB, free: 12.57 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007412/0.3573, allocations: 0.5701 MB / 334.9 MB, free: 12 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.3573, allocations: 29.7 kB / 334.9 MB, free: 11.96 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.108e-05/0.3575, allocations: 121.1 kB / 335 MB, free: 11.84 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.65e-05/0.3575, allocations: 31.56 kB / 335.1 MB, free: 11.81 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/0.3575, allocations: 4 kB / 335.1 MB, free: 11.8 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3577, allocations: 330.8 kB / 335.4 MB, free: 11.47 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.3578, allocations: 79.95 kB / 335.5 MB, free: 11.39 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.358, allocations: 97.67 kB / 335.6 MB, free: 11.29 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.3582, allocations: 212.5 kB / 335.8 MB, free: 11.05 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.3583, allocations: 4.109 kB / 335.8 MB, free: 11.05 MB / 270.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006885/0.359, allocations: 0.5018 MB / 336.3 MB, free: 10.51 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001364/0.3591, allocations: 156.5 kB / 336.4 MB, free: 10.33 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3591, allocations: 0 / 336.4 MB, free: 10.33 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.3591, allocations: 0 / 336.4 MB, free: 10.33 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.655e-05/0.3592, allocations: 0 / 336.4 MB, free: 10.33 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3592, allocations: 4 kB / 336.5 MB, free: 10.32 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.3594, allocations: 24 kB / 336.5 MB, free: 10.3 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.3595, allocations: 101.2 kB / 336.6 MB, free: 10.2 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.0004269/0.36, allocations: 404.1 kB / 337 MB, free: 9.762 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.113e-05/0.36, allocations: 43.53 kB / 337 MB, free: 9.719 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.3602, allocations: 71.47 kB / 337.1 MB, free: 9.645 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.3602, allocations: 3.938 kB / 337.1 MB, free: 9.641 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3602, allocations: 7.922 kB / 337.1 MB, free: 9.633 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3602, allocations: 0 / 337.1 MB, free: 9.633 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.3614, allocations: 0.9556 MB / 338 MB, free: 8.59 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3614, allocations: 0 / 338 MB, free: 8.59 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.186e-06/0.3614, allocations: 8 kB / 338.1 MB, free: 8.582 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3615, allocations: 0 / 338.1 MB, free: 8.582 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.896e-05/0.3615, allocations: 23.98 kB / 338.1 MB, free: 8.559 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.3615, allocations: 0 / 338.1 MB, free: 8.559 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3615, allocations: 0 / 338.1 MB, free: 8.559 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008309/0.3623, allocations: 0.6595 MB / 338.7 MB, free: 7.852 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003444/0.3627, allocations: 256.4 kB / 339 MB, free: 7.582 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.904e-05/0.3628, allocations: 12 kB / 339 MB, free: 7.57 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.363, allocations: 23.92 kB / 339 MB, free: 7.547 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001767/0.3631, allocations: 59.91 kB / 339.1 MB, free: 7.488 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.3633, allocations: 105.2 kB / 339.2 MB, free: 7.387 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0005331/0.3638, allocations: 422.8 kB / 339.6 MB, free: 6.977 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3638, allocations: 4 kB / 339.6 MB, free: 6.973 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000346/0.3642, allocations: 51.91 kB / 339.7 MB, free: 6.922 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.0001457/0.3643, allocations: 111.3 kB / 339.8 MB, free: 6.801 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000678/0.365, allocations: 0.5442 MB / 340.3 MB, free: 6.195 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.365, allocations: 0 / 340.3 MB, free: 6.195 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004392/0.3655, allocations: 465 kB / 340.8 MB, free: 5.68 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007816/0.3663, allocations: 161.9 kB / 340.9 MB, free: 5.523 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.3677, allocations: 0.8377 MB / 341.8 MB, free: 4.66 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.3681, allocations: 0.8146 MB / 342.6 MB, free: 3.82 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.09e-05/0.3682, allocations: 12.88 kB / 342.6 MB, free: 3.805 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.343e-05/0.3682, allocations: 11.44 kB / 342.6 MB, free: 3.793 MB / 270.1 MB Notification: Performance of SimCode: time 2.435e-06/0.3682, allocations: 0 / 342.6 MB, free: 3.793 MB / 270.1 MB Notification: Performance of Templates: time 0.01066/0.3789, allocations: 6.587 MB / 349.2 MB, free: 13.04 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.MUX2x1.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1)