Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001157/0.001157, allocations: 100.1 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.001048/0.001048, 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.009/2.009, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0004484/0.0004485, allocations: 12 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3184, allocations: 47.58 MB / 326.4 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.001927/0.3204, allocations: 1.24 MB / 327.7 MB, free: 444 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002314/0.3228, allocations: 0.8641 MB / 328.5 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.3229, allocations: 3.938 kB / 328.5 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.323, allocations: 5.328 kB / 328.6 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.3232, allocations: 22.25 kB / 328.6 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.3235, allocations: 39.86 kB / 328.6 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.3237, allocations: 80 kB / 328.7 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.3239, allocations: 23.67 kB / 328.7 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.325, allocations: 481.7 kB / 329.2 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002635/0.3253, allocations: 101.4 kB / 329.3 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.215e-05/0.3253, allocations: 7.531 kB / 329.3 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.973e-05/0.3254, allocations: 4.531 kB / 329.3 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.3255, allocations: 73.98 kB / 329.4 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.3257, allocations: 79.23 kB / 329.4 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005302/0.3262, allocations: 363.5 kB / 329.8 MB, free: 15.07 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.3262, allocations: 1.219 kB / 329.8 MB, free: 15.07 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3262, allocations: 3.938 kB / 329.8 MB, free: 15.07 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.3263, allocations: 0 / 329.8 MB, free: 15.07 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.001095/0.3274, allocations: 0.733 MB / 330.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.3274, allocations: 9.188 kB / 330.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.3275, allocations: 46 kB / 330.6 MB, free: 14.32 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005105/0.3281, allocations: 286.7 kB / 330.9 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.3281, allocations: 8.969 kB / 330.9 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.73e-05/0.3282, allocations: 12.69 kB / 330.9 MB, free: 14.03 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005009/0.3287, allocations: 164.2 kB / 331.1 MB, free: 13.94 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3287, allocations: 1.188 kB / 331.1 MB, free: 13.94 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.333e-05/0.3287, allocations: 7.844 kB / 331.1 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.3288, allocations: 1.312 kB / 331.1 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002334/0.329, allocations: 87.05 kB / 331.1 MB, free: 13.9 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.3301, allocations: 0.5013 MB / 331.6 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.3305, allocations: 126.2 kB / 331.8 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.3305, allocations: 1.219 kB / 331.8 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005783/0.3311, allocations: 243.9 kB / 332 MB, free: 13.2 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 2.024e-06/0.3311, allocations: 0 / 332 MB, free: 13.2 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.001519/0.3326, allocations: 0.7676 MB / 332.8 MB, free: 12.66 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001477/0.3328, allocations: 194.7 kB / 333 MB, free: 12.43 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000952/0.3337, allocations: 0.5701 MB / 333.5 MB, free: 12.05 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/0.3338, allocations: 31.05 kB / 333.6 MB, free: 12.02 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.3339, allocations: 116.6 kB / 333.7 MB, free: 11.91 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.857e-05/0.334, allocations: 26.22 kB / 333.7 MB, free: 11.89 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.031e-05/0.334, allocations: 3.25 kB / 333.7 MB, free: 11.89 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3341, allocations: 331.7 kB / 334 MB, free: 11.57 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.3343, allocations: 82.2 kB / 334.1 MB, free: 11.49 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.3345, allocations: 105.6 kB / 334.2 MB, free: 11.38 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002199/0.3347, allocations: 204.5 kB / 334.4 MB, free: 11.15 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3348, allocations: 0 / 334.4 MB, free: 11.15 MB / 270.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006409/0.3354, allocations: 0.498 MB / 334.9 MB, free: 10.61 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/0.3355, allocations: 156.5 kB / 335.1 MB, free: 10.43 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3355, allocations: 0 / 335.1 MB, free: 10.43 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3356, allocations: 7.938 kB / 335.1 MB, free: 10.42 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.778e-05/0.3356, allocations: 3.938 kB / 335.1 MB, free: 10.42 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3356, allocations: 4.031 kB / 335.1 MB, free: 10.41 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.3358, allocations: 15.98 kB / 335.1 MB, free: 10.4 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/0.336, allocations: 105.3 kB / 335.2 MB, free: 10.29 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.0004634/0.3365, allocations: 400.1 kB / 335.6 MB, free: 9.859 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.64e-05/0.3366, allocations: 43.53 kB / 335.6 MB, free: 9.816 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.3367, allocations: 67.47 kB / 335.7 MB, free: 9.746 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.3367, allocations: 7.984 kB / 335.7 MB, free: 9.738 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.3367, allocations: 0 / 335.7 MB, free: 9.738 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3367, allocations: 4 kB / 335.7 MB, free: 9.734 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.3382, allocations: 0.9594 MB / 336.7 MB, free: 8.688 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.3382, allocations: 0 / 336.7 MB, free: 8.688 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.935e-06/0.3383, allocations: 0 / 336.7 MB, free: 8.688 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.3383, allocations: 0 / 336.7 MB, free: 8.688 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.77e-05/0.3383, allocations: 24.11 kB / 336.7 MB, free: 8.664 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.3383, allocations: 4 kB / 336.7 MB, free: 8.66 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3383, allocations: 0 / 336.7 MB, free: 8.66 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008646/0.3392, allocations: 0.6595 MB / 337.4 MB, free: 7.953 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003849/0.3396, allocations: 260.3 kB / 337.6 MB, free: 7.68 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.843e-05/0.3397, allocations: 12 kB / 337.6 MB, free: 7.668 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.3399, allocations: 19.92 kB / 337.6 MB, free: 7.648 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/0.34, allocations: 59.92 kB / 337.7 MB, free: 7.59 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/0.3402, allocations: 105.2 kB / 337.8 MB, free: 7.488 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0005369/0.3407, allocations: 414.8 kB / 338.2 MB, free: 7.086 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3407, allocations: 4 kB / 338.2 MB, free: 7.082 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003721/0.3411, allocations: 55.86 kB / 338.3 MB, free: 7.027 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.0002055/0.3413, allocations: 115.2 kB / 338.4 MB, free: 6.902 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006658/0.342, allocations: 0.536 MB / 338.9 MB, free: 6.305 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.342, allocations: 0 / 338.9 MB, free: 6.305 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004681/0.3425, allocations: 468.9 kB / 339.4 MB, free: 5.785 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007479/0.3432, allocations: 165.9 kB / 339.5 MB, free: 5.625 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.3447, allocations: 0.8338 MB / 340.4 MB, free: 4.766 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006392/0.3454, allocations: 0.8263 MB / 341.2 MB, free: 3.914 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.3455, allocations: 8.875 kB / 341.2 MB, free: 3.902 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.85e-05/0.3455, allocations: 15.44 kB / 341.2 MB, free: 3.887 MB / 270.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3455, allocations: 4 kB / 341.2 MB, free: 3.883 MB / 270.1 MB Notification: Performance of Templates: time 0.01075/0.3563, allocations: 6.572 MB / 347.8 MB, free: 13.14 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Digital.Examples.MUX2x1.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_3.1_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) Environment - environmentSimulation: