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.007036/0.007036, allocations: 102.5 kB / 15.73 MB, free: 6.492 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.001226/0.001226, allocations: 192 kB / 16.67 MB, free: 6.379 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.075/2.075, allocations: 205.1 MB / 222.6 MB, free: 4.492 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.001239/0.001239, allocations: 58.91 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1381, allocations: 46.61 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.003628/0.1418, allocations: 1.556 MB / 374.7 MB, free: 15.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002708/0.1445, allocations: 0.9089 MB / 375.6 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.1447, allocations: 0 / 375.6 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.1449, allocations: 11.86 kB / 375.6 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.1451, allocations: 23.86 kB / 375.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004609/0.1455, allocations: 51.88 kB / 375.7 MB, free: 14.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003716/0.1459, allocations: 171.6 kB / 375.9 MB, free: 14.58 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.1461, allocations: 33.33 kB / 375.9 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009719/0.1471, allocations: 0.6317 MB / 376.5 MB, free: 13.92 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.1473, allocations: 83.62 kB / 376.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.942e-05/0.1474, allocations: 12 kB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.377e-05/0.1474, allocations: 12 kB / 376.6 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.1476, allocations: 71.7 kB / 376.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001891/0.1478, allocations: 139 kB / 376.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006131/0.1484, allocations: 450.4 kB / 377.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.1484, allocations: 3.938 kB / 377.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1484, allocations: 0 / 377.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.753e-05/0.1485, allocations: 4 kB / 377.3 MB, free: 13.16 MB / 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.001729/0.1502, allocations: 0.8061 MB / 378.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.981e-05/0.1503, allocations: 8.031 kB / 378.1 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.1504, allocations: 56.34 kB / 378.2 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005513/0.151, allocations: 290.2 kB / 378.5 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.552e-05/0.1511, allocations: 8.375 kB / 378.5 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.117e-05/0.1511, allocations: 8.375 kB / 378.5 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004183/0.1515, allocations: 173.8 kB / 378.6 MB, free: 11.69 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.1516, allocations: 0 / 378.6 MB, free: 11.69 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.524e-05/0.1516, allocations: 8 kB / 378.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.1516, allocations: 11.94 kB / 378.7 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002006/0.1518, allocations: 83.95 kB / 378.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.1529, allocations: 0.4926 MB / 379.2 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.1532, allocations: 122.5 kB / 379.4 MB, free: 10.92 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.1534, allocations: 112.8 kB / 379.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.1534, allocations: 4 kB / 379.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004836/0.1539, allocations: 246.6 kB / 379.7 MB, free: 10.54 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.903e-06/0.1539, allocations: 0 / 379.7 MB, free: 10.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.001241/0.1552, allocations: 0.6187 MB / 380.3 MB, free: 9.879 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.1553, allocations: 191.9 kB / 380.5 MB, free: 9.648 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000816/0.1561, allocations: 0.56 MB / 381.1 MB, free: 9.078 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.1562, allocations: 33.7 kB / 381.1 MB, free: 9.039 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.1563, allocations: 121.1 kB / 381.2 MB, free: 8.914 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.791e-05/0.1564, allocations: 39.67 kB / 381.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.1566, allocations: 97.52 kB / 381.4 MB, free: 8.773 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1567, allocations: 330.7 kB / 381.7 MB, free: 8.441 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.1569, allocations: 87.95 kB / 381.8 MB, free: 8.355 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.157, allocations: 89.67 kB / 381.9 MB, free: 8.262 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004122/0.1575, allocations: 446.7 kB / 382.3 MB, free: 7.758 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.1575, allocations: 4 kB / 382.3 MB, free: 7.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000719/0.1582, allocations: 0.494 MB / 382.8 MB, free: 7.223 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.1583, allocations: 148.5 kB / 382.9 MB, free: 7.047 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.1584, allocations: 0 / 382.9 MB, free: 7.047 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.1584, allocations: 3.984 kB / 382.9 MB, free: 7.043 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.212e-05/0.1584, allocations: 4 kB / 382.9 MB, free: 7.039 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1584, allocations: 3.938 kB / 382.9 MB, free: 7.035 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.1586, allocations: 15.94 kB / 383 MB, free: 7.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/0.1588, allocations: 109.2 kB / 383.1 MB, free: 6.914 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.0004603/0.1593, allocations: 408 kB / 383.5 MB, free: 6.473 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.965e-05/0.1593, allocations: 47.44 kB / 383.5 MB, free: 6.426 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.1595, allocations: 67.47 kB / 383.6 MB, free: 6.363 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1595, allocations: 4 kB / 383.6 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.1595, allocations: 0 / 383.6 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1595, allocations: 0 / 383.6 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.1607, allocations: 0.9595 MB / 384.5 MB, free: 5.312 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1608, allocations: 0 / 384.5 MB, free: 5.312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.861e-06/0.1608, allocations: 4 kB / 384.5 MB, free: 5.309 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1608, allocations: 0 / 384.5 MB, free: 5.309 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.788e-05/0.1608, allocations: 19.98 kB / 384.6 MB, free: 5.289 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1608, allocations: 0 / 384.6 MB, free: 5.289 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1608, allocations: 7.938 kB / 384.6 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009103/0.1618, allocations: 0.6634 MB / 385.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003742/0.1621, allocations: 260.3 kB / 385.5 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.64e-05/0.1622, allocations: 12 kB / 385.5 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.1624, allocations: 19.98 kB / 385.5 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.1626, allocations: 55.88 kB / 385.6 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.995e-05/0.1627, allocations: 101.2 kB / 385.7 MB, free: 4.109 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005453/0.1632, allocations: 418.9 kB / 386.1 MB, free: 3.703 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1632, allocations: 0 / 386.1 MB, free: 3.703 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003351/0.1636, allocations: 52 kB / 386.1 MB, free: 3.652 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.0001871/0.1638, allocations: 115.1 kB / 386.3 MB, free: 3.531 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006517/0.1644, allocations: 0.5361 MB / 386.8 MB, free: 2.934 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.1644, allocations: 0 / 386.8 MB, free: 2.934 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004218/0.1649, allocations: 472.9 kB / 387.2 MB, free: 2.41 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009289/0.1658, allocations: 189.9 kB / 387.4 MB, free: 2.223 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.1672, allocations: 0.7483 MB / 388.2 MB, free: 1.449 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005196/0.1678, allocations: 0.8183 MB / 389 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001399/0.1679, allocations: 8.875 kB / 389 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.902e-05/0.168, allocations: 19.44 kB / 389 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of SimCode: time 4.11e-07/0.168, allocations: 0 / 389 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of Templates: time 0.01566/0.1836, allocations: 7.542 MB / 396.6 MB, free: 8.852 MB / 334.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)