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.001804/0.001804, allocations: 106.2 kB / 17.06 MB, free: 6.016 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.002002/0.002002, allocations: 195 kB / 18 MB, free: 5.094 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.941/1.941, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.002379/0.00238, allocations: 55.94 kB / 327.9 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1727, allocations: 46.61 MB / 374.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.004141/0.1769, allocations: 1.563 MB / 376 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002778/0.1797, allocations: 0.8972 MB / 376.9 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.245e-05/0.1798, allocations: 4 kB / 376.9 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.1801, allocations: 15.86 kB / 377 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.1802, allocations: 23.78 kB / 377 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004259/0.1806, allocations: 51.89 kB / 377 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003136/0.181, allocations: 171.7 kB / 377.2 MB, free: 1.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.1811, allocations: 29.38 kB / 377.2 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000806/0.1819, allocations: 0.6317 MB / 377.9 MB, free: 1.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.1821, allocations: 87.62 kB / 377.9 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.85e-05/0.1822, allocations: 8 kB / 378 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.649e-05/0.1822, allocations: 12 kB / 378 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.1823, allocations: 71.75 kB / 378 MB, free: 1.004 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.1825, allocations: 135 kB / 378.2 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005067/0.183, allocations: 458.3 kB / 378.6 MB, free: 432 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.183, allocations: 4 kB / 378.6 MB, free: 428 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.183, allocations: 0 / 378.6 MB, free: 428 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.183, allocations: 0 / 378.6 MB, free: 428 kB / 318.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.3833/0.5664, allocations: 0.8087 MB / 379.4 MB, free: 13 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.445e-05/0.5665, allocations: 9.844 kB / 379.4 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.5666, allocations: 46.53 kB / 379.5 MB, free: 12.97 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/0.567, allocations: 289.6 kB / 379.8 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.5671, allocations: 5.875 kB / 379.8 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.125e-05/0.5671, allocations: 14.25 kB / 379.8 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004503/0.5676, allocations: 166.1 kB / 380 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.5676, allocations: 7.141 kB / 380 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/0.5676, allocations: 11.44 kB / 380 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.5677, allocations: 2.906 kB / 380 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002091/0.5679, allocations: 83.47 kB / 380.1 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009965/0.5689, allocations: 0.4977 MB / 380.6 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.5691, allocations: 119.9 kB / 380.7 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.5694, allocations: 110.5 kB / 380.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.5694, allocations: 0 / 380.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005221/0.5699, allocations: 249.7 kB / 381 MB, free: 12.25 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 2.054e-06/0.5699, allocations: 1.375 kB / 381 MB, free: 12.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.001366/0.5713, allocations: 0.6074 MB / 381.6 MB, free: 12.04 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/0.5715, allocations: 193.1 kB / 381.8 MB, free: 11.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.5726, allocations: 0.5639 MB / 382.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.874e-05/0.5727, allocations: 33.02 kB / 382.4 MB, free: 11.58 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.446e-05/0.5728, allocations: 118.4 kB / 382.5 MB, free: 11.48 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.056e-05/0.5728, allocations: 40.75 kB / 382.6 MB, free: 11.46 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.573, allocations: 97.66 kB / 382.7 MB, free: 11.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.562e-05/0.5731, allocations: 329.4 kB / 383 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.5733, allocations: 87.16 kB / 383.1 MB, free: 11.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.5735, allocations: 95.31 kB / 383.2 MB, free: 11.03 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004162/0.5739, allocations: 433.8 kB / 383.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5739, allocations: 3.281 kB / 383.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007591/0.5747, allocations: 0.5043 MB / 384.1 MB, free: 10.38 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001305/0.5748, allocations: 151 kB / 384.2 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.5748, allocations: 0 / 384.2 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.5749, allocations: 2.094 kB / 384.2 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.899e-05/0.5749, allocations: 1.594 kB / 384.2 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.5749, allocations: 3.938 kB / 384.2 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.5751, allocations: 17.14 kB / 384.3 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/0.5752, allocations: 101.7 kB / 384.4 MB, free: 10.21 MB / 318.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.0003852/0.5756, allocations: 409.2 kB / 384.8 MB, free: 9.875 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.748e-05/0.5757, allocations: 51.56 kB / 384.8 MB, free: 9.852 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.5758, allocations: 67.25 kB / 384.9 MB, free: 9.816 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.5758, allocations: 2.453 kB / 384.9 MB, free: 9.816 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.5758, allocations: 0 / 384.9 MB, free: 9.816 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.5759, allocations: 0 / 384.9 MB, free: 9.816 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.5772, allocations: 0.9648 MB / 385.8 MB, free: 9.188 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.5772, allocations: 0.5625 kB / 385.8 MB, free: 9.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.372e-06/0.5772, allocations: 1.375 kB / 385.9 MB, free: 9.188 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.5773, allocations: 0 / 385.9 MB, free: 9.188 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.805e-05/0.5773, allocations: 24.17 kB / 385.9 MB, free: 9.184 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.5773, allocations: 1.031 kB / 385.9 MB, free: 9.184 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.5773, allocations: 0 / 385.9 MB, free: 9.184 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009888/0.5783, allocations: 0.6648 MB / 386.5 MB, free: 8.785 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004262/0.5788, allocations: 257.1 kB / 386.8 MB, free: 8.602 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.986e-05/0.5788, allocations: 7.844 kB / 386.8 MB, free: 8.602 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.579, allocations: 19.89 kB / 386.8 MB, free: 8.598 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002116/0.5792, allocations: 65.59 kB / 386.9 MB, free: 8.574 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001578/0.5794, allocations: 103.2 kB / 387 MB, free: 8.566 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006098/0.58, allocations: 420.3 kB / 387.4 MB, free: 8.352 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.58, allocations: 0 / 387.4 MB, free: 8.352 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005379/0.5805, allocations: 57.31 kB / 387.4 MB, free: 8.344 MB / 318.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.0001963/0.5808, allocations: 117.8 kB / 387.6 MB, free: 8.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00072/0.5815, allocations: 0.5349 MB / 388.1 MB, free: 7.836 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5815, allocations: 1.031 kB / 388.1 MB, free: 7.836 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004269/0.5819, allocations: 465.8 kB / 388.6 MB, free: 7.434 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009901/0.5829, allocations: 192.7 kB / 388.7 MB, free: 7.379 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.5844, allocations: 0.7499 MB / 389.5 MB, free: 6.973 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.5848, allocations: 0.8204 MB / 390.3 MB, free: 6.234 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.623e-05/0.5849, allocations: 15.86 kB / 390.3 MB, free: 6.223 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.585, allocations: 17.62 kB / 390.3 MB, free: 6.211 MB / 318.1 MB Notification: Performance of SimCode: time 1.002e-06/0.585, allocations: 1.375 kB / 390.3 MB, free: 6.211 MB / 318.1 MB Notification: Performance of Templates: time 0.01701/0.602, allocations: 7.541 MB / 397.9 MB, free: 4.266 MB / 318.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)