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.001511/0.001511, allocations: 100.7 kB / 16.5 MB, free: 6.645 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.001204/0.001204, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.887/1.887, allocations: 205.1 MB / 223.3 MB, free: 12.38 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.001259/0.001259, allocations: 55.92 kB / 279.3 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1535, allocations: 46.63 MB / 326 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.003901/0.1575, allocations: 1.609 MB / 327.6 MB, free: 3.258 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002695/0.1602, allocations: 0.9255 MB / 328.5 MB, free: 2.324 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.022e-05/0.1603, allocations: 4 kB / 328.5 MB, free: 2.32 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.1606, allocations: 11.92 kB / 328.5 MB, free: 2.309 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.1607, allocations: 19.84 kB / 328.5 MB, free: 2.289 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.161, allocations: 43.97 kB / 328.6 MB, free: 2.246 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.1612, allocations: 135.6 kB / 328.7 MB, free: 2.113 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.1614, allocations: 33.38 kB / 328.7 MB, free: 2.078 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008432/0.1623, allocations: 0.6239 MB / 329.4 MB, free: 1.453 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.1625, allocations: 87.62 kB / 329.4 MB, free: 1.367 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/0.1625, allocations: 8 kB / 329.5 MB, free: 1.359 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.659e-05/0.1626, allocations: 4 kB / 329.5 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.1627, allocations: 79.69 kB / 329.5 MB, free: 1.277 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002079/0.163, allocations: 123 kB / 329.7 MB, free: 1.156 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005412/0.1635, allocations: 450.6 kB / 330.1 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1635, allocations: 4 kB / 330.1 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1635, allocations: 0 / 330.1 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.1636, allocations: 0 / 330.1 MB, free: 0.7109 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.001099/0.1647, allocations: 0.8177 MB / 330.9 MB, free: 15.81 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.1647, allocations: 11.97 kB / 330.9 MB, free: 15.8 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.1648, allocations: 40.47 kB / 331 MB, free: 15.76 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.1652, allocations: 298.1 kB / 331.3 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.1653, allocations: 8.375 kB / 331.3 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/0.1653, allocations: 8.375 kB / 331.3 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004714/0.1658, allocations: 173.8 kB / 331.4 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1658, allocations: 0 / 331.4 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/0.1658, allocations: 8 kB / 331.5 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.1659, allocations: 8 kB / 331.5 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002051/0.1661, allocations: 79.95 kB / 331.5 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009147/0.167, allocations: 0.4964 MB / 332 MB, free: 14.6 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.1672, allocations: 122.5 kB / 332.2 MB, free: 14.47 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.1675, allocations: 112.9 kB / 332.3 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.1675, allocations: 0 / 332.3 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005588/0.168, allocations: 242.8 kB / 332.5 MB, free: 14.09 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.1681, allocations: 11.88 kB / 332.5 MB, free: 14.08 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.001192/0.1693, allocations: 0.6109 MB / 333.1 MB, free: 13.43 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001727/0.1694, allocations: 191.9 kB / 333.3 MB, free: 13.2 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009251/0.1704, allocations: 0.5601 MB / 333.9 MB, free: 12.64 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.651e-05/0.1704, allocations: 33.7 kB / 333.9 MB, free: 12.6 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.1706, allocations: 117 kB / 334 MB, free: 12.48 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.756e-05/0.1707, allocations: 31.64 kB / 334 MB, free: 12.45 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.1708, allocations: 101.3 kB / 334.1 MB, free: 12.34 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000222/0.1711, allocations: 326.8 kB / 334.5 MB, free: 12.02 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.1713, allocations: 84.02 kB / 334.6 MB, free: 11.93 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.1715, allocations: 101.8 kB / 334.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000503/0.172, allocations: 443.9 kB / 335.1 MB, free: 11.33 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.172, allocations: 0 / 335.1 MB, free: 11.33 MB / 286.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007187/0.1727, allocations: 0.5025 MB / 335.6 MB, free: 10.79 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.1729, allocations: 148.5 kB / 335.7 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.1729, allocations: 3.984 kB / 335.7 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.1729, allocations: 0 / 335.7 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.84e-05/0.1729, allocations: 0 / 335.7 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.173, allocations: 4 kB / 335.7 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.1732, allocations: 16.03 kB / 335.8 MB, free: 10.59 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/0.1733, allocations: 105.2 kB / 335.9 MB, free: 10.48 MB / 286.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.0004998/0.1738, allocations: 411.9 kB / 336.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.045e-05/0.1739, allocations: 43.53 kB / 336.3 MB, free: 9.996 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.174, allocations: 63.48 kB / 336.4 MB, free: 9.93 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.174, allocations: 7.938 kB / 336.4 MB, free: 9.922 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.1741, allocations: 0 / 336.4 MB, free: 9.922 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.1741, allocations: 3.984 kB / 336.4 MB, free: 9.918 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.1755, allocations: 0.9676 MB / 337.3 MB, free: 8.863 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.1755, allocations: 0 / 337.3 MB, free: 8.863 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.103e-06/0.1755, allocations: 0 / 337.3 MB, free: 8.863 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.1755, allocations: 0 / 337.3 MB, free: 8.863 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.931e-05/0.1756, allocations: 23.92 kB / 337.4 MB, free: 8.84 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1756, allocations: 0 / 337.4 MB, free: 8.84 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1756, allocations: 7.938 kB / 337.4 MB, free: 8.832 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008778/0.1765, allocations: 0.6713 MB / 338 MB, free: 8.113 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003372/0.1768, allocations: 248.4 kB / 338.3 MB, free: 7.852 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.832e-05/0.1769, allocations: 12 kB / 338.3 MB, free: 7.84 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.1771, allocations: 15.98 kB / 338.3 MB, free: 7.824 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/0.1773, allocations: 52 kB / 338.4 MB, free: 7.773 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/0.1774, allocations: 109.2 kB / 338.5 MB, free: 7.668 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0005899/0.178, allocations: 422.8 kB / 338.9 MB, free: 7.258 MB / 286.1 MB Notification: Performance of sort global known variables: time 6.72e-07/0.178, allocations: 0 / 338.9 MB, free: 7.258 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000352/0.1783, allocations: 48 kB / 338.9 MB, free: 7.211 MB / 286.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.0002611/0.1786, allocations: 127.1 kB / 339.1 MB, free: 7.074 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007282/0.1794, allocations: 0.5243 MB / 339.6 MB, free: 6.488 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1794, allocations: 0 / 339.6 MB, free: 6.488 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004523/0.1798, allocations: 465 kB / 340 MB, free: 5.973 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008694/0.1807, allocations: 165.9 kB / 340.2 MB, free: 5.812 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.1822, allocations: 0.8828 MB / 341.1 MB, free: 4.906 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005452/0.1828, allocations: 0.8146 MB / 341.9 MB, free: 4.066 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.82e-05/0.1829, allocations: 16.84 kB / 341.9 MB, free: 4.051 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.1829, allocations: 11.44 kB / 341.9 MB, free: 4.039 MB / 286.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1829, allocations: 0 / 341.9 MB, free: 4.039 MB / 286.1 MB Notification: Performance of Templates: time 0.01279/0.1957, allocations: 6.957 MB / 348.9 MB, free: 12.91 MB / 302.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)