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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.0009545/0.0009547, allocations: 179.4 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.146/1.146, allocations: 194.5 MB / 211.6 MB, free: 3.047 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001536/0.001536, allocations: 113.8 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002832/0.0002832, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07469/0.07498, allocations: 44.5 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2077/0.2827, allocations: 77.66 MB / 432.7 MB, free: 11.87 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001525/0.2829, allocations: 68.31 kB / 432.8 MB, free: 11.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04395/0.3268, allocations: 26.8 MB / 459.6 MB, free: 3.824 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3269, allocations: 0 / 459.6 MB, free: 3.824 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.3269, allocations: 4 kB / 459.6 MB, free: 3.82 MB / 330.7 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.0006635/0.3276, allocations: 0.6755 MB / 460.3 MB, free: 3.074 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3276, allocations: 8.031 kB / 460.3 MB, free: 3.066 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.77e-05/0.3277, allocations: 39.53 kB / 460.3 MB, free: 3.027 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/0.328, allocations: 257.5 kB / 460.6 MB, free: 2.738 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.328, allocations: 15.89 kB / 460.6 MB, free: 2.723 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/0.3281, allocations: 8 kB / 460.6 MB, free: 2.715 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.3284, allocations: 145.5 kB / 460.7 MB, free: 2.566 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.3284, allocations: 4 kB / 460.7 MB, free: 2.562 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.3284, allocations: 0 / 460.7 MB, free: 2.562 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3284, allocations: 8 kB / 460.7 MB, free: 2.555 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.3286, allocations: 63.97 kB / 460.8 MB, free: 2.492 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006908/0.3293, allocations: 480.4 kB / 461.3 MB, free: 1.973 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.3295, allocations: 106.5 kB / 461.4 MB, free: 1.859 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.47e-06/0.3295, allocations: 4 kB / 461.4 MB, free: 1.855 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000297/0.3298, allocations: 230.7 kB / 461.6 MB, free: 1.605 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.635e-06/0.3298, allocations: 0 / 461.6 MB, free: 1.605 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008562/0.3307, allocations: 0.6505 MB / 462.3 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.3308, allocations: 166.2 kB / 462.4 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005471/0.3313, allocations: 468.5 kB / 462.9 MB, free: 228 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.3314, allocations: 33.64 kB / 462.9 MB, free: 188 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.296e-05/0.3315, allocations: 101.1 kB / 463 MB, free: 80 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.759e-05/0.3315, allocations: 28.78 kB / 463 MB, free: 52 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.3316, allocations: 8 kB / 463 MB, free: 44 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.3317, allocations: 322.8 kB / 463.4 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.3319, allocations: 63.95 kB / 463.4 MB, free: 15.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.332, allocations: 81.67 kB / 463.5 MB, free: 15.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.3322, allocations: 170.8 kB / 463.7 MB, free: 15.38 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3322, allocations: 0 / 463.7 MB, free: 15.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005401/0.3328, allocations: 424.2 kB / 464.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.325e-05/0.3328, allocations: 122.8 kB / 464.2 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3329, allocations: 0 / 464.2 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.3329, allocations: 0 / 464.2 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.718e-05/0.3329, allocations: 0 / 464.2 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3329, allocations: 6.422 kB / 464.2 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.333, allocations: 16 kB / 464.2 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.3331, allocations: 123.7 kB / 464.3 MB, free: 14.65 MB / 346.7 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,$whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,$PRE.bUF3S.inertialDelaySensitive.x,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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002921/0.3334, allocations: 374.2 kB / 464.7 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.873e-05/0.3335, allocations: 35.62 kB / 464.7 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.596e-05/0.3336, allocations: 63.16 kB / 464.8 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3336, allocations: 3.938 kB / 464.8 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3336, allocations: 0 / 464.8 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3336, allocations: 0 / 464.8 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009055/0.3345, allocations: 0.8446 MB / 465.7 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3345, allocations: 0 / 465.7 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.108e-06/0.3346, allocations: 0 / 465.7 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3346, allocations: 8 kB / 465.7 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-05/0.3346, allocations: 15.98 kB / 465.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3346, allocations: 0 / 465.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3346, allocations: 4 kB / 465.7 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006408/0.3353, allocations: 0.5606 MB / 466.2 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003171/0.3356, allocations: 252.4 kB / 466.5 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.354e-05/0.3357, allocations: 8 kB / 466.5 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.3358, allocations: 19.98 kB / 466.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.3359, allocations: 27.97 kB / 466.5 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.336, allocations: 123.8 kB / 466.7 MB, free: 12.15 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003979/0.3364, allocations: 390.8 kB / 467.1 MB, free: 11.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3364, allocations: 0 / 467.1 MB, free: 11.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002658/0.3367, allocations: 40 kB / 467.1 MB, free: 11.73 MB / 346.7 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 (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.0001245/0.3368, allocations: 119.3 kB / 467.2 MB, free: 11.61 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004729/0.3373, allocations: 454.1 kB / 467.6 MB, free: 11.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3373, allocations: 0 / 467.6 MB, free: 11.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000292/0.3376, allocations: 381.6 kB / 468 MB, free: 10.69 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.3381, allocations: 102.7 kB / 468.1 MB, free: 10.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.3391, allocations: 0.752 MB / 468.9 MB, free: 9.809 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.3395, allocations: 0.8141 MB / 469.7 MB, free: 8.965 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.481e-05/0.3395, allocations: 9.312 kB / 469.7 MB, free: 8.953 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.783e-05/0.3396, allocations: 16.28 kB / 469.7 MB, free: 8.938 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3396, allocations: 0 / 469.7 MB, free: 8.938 MB / 346.7 MB Notification: Performance of Templates: time 0.00732/0.3469, allocations: 5.587 MB / 475.3 MB, free: 3.309 MB / 346.7 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)