Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.BUF3S.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.BUF3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 91.16 kB / 16.65 MB, free: 6.586 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.001255/0.001255, allocations: 180.2 kB / 17.56 MB, free: 6.203 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.87/1.87, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0009534/0.0009533, allocations: 16 kB / 280.7 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1524, allocations: 47.59 MB / 328.3 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002501/0.155, allocations: 1.227 MB / 329.5 MB, free: 2.527 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002179/0.1572, allocations: 0.9061 MB / 330.5 MB, free: 1.613 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.027e-05/0.1573, allocations: 0 / 330.5 MB, free: 1.613 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.1574, allocations: 3.938 kB / 330.5 MB, free: 1.609 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.903e-05/0.1575, allocations: 11.92 kB / 330.5 MB, free: 1.598 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.1579, allocations: 43.89 kB / 330.5 MB, free: 1.555 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000186/0.1581, allocations: 115.7 kB / 330.6 MB, free: 1.441 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.1582, allocations: 20 kB / 330.6 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005523/0.1587, allocations: 383.3 kB / 331 MB, free: 1.047 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.1589, allocations: 63.7 kB / 331.1 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.202e-05/0.159, allocations: 0 / 331.1 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.432e-05/0.159, allocations: 4 kB / 331.1 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.1591, allocations: 63.77 kB / 331.1 MB, free: 0.918 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001853/0.1593, allocations: 132.8 kB / 331.3 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004471/0.1598, allocations: 338.7 kB / 331.6 MB, free: 460 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.1598, allocations: 0 / 331.6 MB, free: 460 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.1598, allocations: 0 / 331.6 MB, free: 460 kB / 270.1 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.1598, allocations: 0 / 331.6 MB, free: 460 kB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001112/0.1609, allocations: 0.6609 MB / 332.3 MB, free: 15.71 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8e-05/0.161, allocations: 12.03 kB / 332.3 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.1612, allocations: 36.47 kB / 332.3 MB, free: 15.67 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004272/0.1616, allocations: 278.3 kB / 332.6 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.664e-05/0.1617, allocations: 4.375 kB / 332.6 MB, free: 15.35 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.1617, allocations: 8.375 kB / 332.6 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003932/0.1621, allocations: 137.8 kB / 332.7 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1621, allocations: 0 / 332.7 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.1622, allocations: 8 kB / 332.7 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.1622, allocations: 4 kB / 332.7 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.1623, allocations: 55.97 kB / 332.8 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007817/0.1631, allocations: 456.5 kB / 333.2 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.1633, allocations: 98.48 kB / 333.3 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.1635, allocations: 80.89 kB / 333.4 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.1635, allocations: 4 kB / 333.4 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000342/0.1639, allocations: 202.6 kB / 333.6 MB, free: 14.23 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 3.497e-06/0.1639, allocations: 112 / 333.6 MB, free: 14.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007857/0.1647, allocations: 472 kB / 334.1 MB, free: 13.73 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.1648, allocations: 166.2 kB / 334.2 MB, free: 13.54 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000666/0.1655, allocations: 0.5169 MB / 334.8 MB, free: 13.01 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.1655, allocations: 29.7 kB / 334.8 MB, free: 12.98 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.337e-05/0.1656, allocations: 101 kB / 334.9 MB, free: 12.88 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.812e-05/0.1657, allocations: 31.64 kB / 334.9 MB, free: 12.84 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.1657, allocations: 29.64 kB / 335 MB, free: 12.81 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1659, allocations: 330.8 kB / 335.3 MB, free: 12.48 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.166, allocations: 55.97 kB / 335.3 MB, free: 12.42 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.1662, allocations: 73.69 kB / 335.4 MB, free: 12.34 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003222/0.1665, allocations: 335.3 kB / 335.7 MB, free: 11.96 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1665, allocations: 0 / 335.7 MB, free: 11.96 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005023/0.167, allocations: 372.2 kB / 336.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.928e-05/0.1671, allocations: 126.8 kB / 336.2 MB, free: 11.42 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.902e-06/0.1671, allocations: 128 / 336.2 MB, free: 11.42 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.1672, allocations: 4 kB / 336.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.246e-05/0.1672, allocations: 8.031 kB / 336.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1672, allocations: 0 / 336.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.1674, allocations: 19.89 kB / 336.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-05/0.1674, allocations: 36 kB / 336.3 MB, free: 11.35 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: 15 ($PRE.bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.x,$PRE.bUF3S.inertialDelaySensitive.x,bUF3S.yy,bUF3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * 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.0003881/0.1678, allocations: 366.2 kB / 336.6 MB, free: 10.96 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.433e-05/0.1679, allocations: 35.62 kB / 336.7 MB, free: 10.92 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.1681, allocations: 71.12 kB / 336.7 MB, free: 10.85 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1681, allocations: 0 / 336.7 MB, free: 10.85 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.1681, allocations: 4 kB / 336.7 MB, free: 10.84 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1681, allocations: 0 / 336.7 MB, free: 10.84 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009772/0.1691, allocations: 0.806 MB / 337.6 MB, free: 9.957 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1691, allocations: 0 / 337.6 MB, free: 9.957 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.94e-06/0.1691, allocations: 0 / 337.6 MB, free: 9.957 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.1691, allocations: 0 / 337.6 MB, free: 9.957 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.1691, allocations: 8 kB / 337.6 MB, free: 9.949 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.1691, allocations: 7.984 kB / 337.6 MB, free: 9.941 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.1692, allocations: 3.938 kB / 337.6 MB, free: 9.938 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006624/0.1698, allocations: 0.5368 MB / 338.1 MB, free: 9.359 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003173/0.1702, allocations: 248.3 kB / 338.4 MB, free: 9.098 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.001e-05/0.1702, allocations: 11.98 kB / 338.4 MB, free: 9.086 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.1704, allocations: 12 kB / 338.4 MB, free: 9.074 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.1705, allocations: 31.84 kB / 338.4 MB, free: 9.043 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-05/0.1705, allocations: 39.94 kB / 338.4 MB, free: 9.004 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004631/0.171, allocations: 390.9 kB / 338.8 MB, free: 8.625 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.171, allocations: 4 kB / 338.8 MB, free: 8.621 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002941/0.1713, allocations: 48 kB / 338.9 MB, free: 8.574 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: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,bUF3S.yy,bUF3S.nextstate,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * 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.0001534/0.1715, allocations: 115.2 kB / 339 MB, free: 8.453 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005349/0.172, allocations: 437.5 kB / 339.4 MB, free: 7.977 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.172, allocations: 0 / 339.4 MB, free: 7.977 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003471/0.1724, allocations: 377.6 kB / 339.8 MB, free: 7.559 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006319/0.173, allocations: 113.5 kB / 339.9 MB, free: 7.445 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.1742, allocations: 0.7508 MB / 340.6 MB, free: 6.672 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004745/0.1747, allocations: 0.8022 MB / 341.5 MB, free: 5.844 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.82e-05/0.1748, allocations: 12.64 kB / 341.5 MB, free: 5.828 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.134e-05/0.1748, allocations: 7.438 kB / 341.5 MB, free: 5.82 MB / 286.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1748, allocations: 7.938 kB / 341.5 MB, free: 5.812 MB / 286.1 MB Notification: Performance of Templates: time 0.007859/0.1827, allocations: 3.836 MB / 345.3 MB, free: 1.973 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1)