Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007604/0.007604, allocations: 164.5 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.295/1.295, allocations: 170.8 MB / 186.6 MB, free: 1.137 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001651/0.001651, allocations: 111.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003796/0.0003796, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2596, allocations: 38.76 MB / 312.9 MB, free: 38.73 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1022/0.3619, allocations: 72.34 MB / 385.2 MB, free: 2.188 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/0.3622, allocations: 71.97 kB / 385.3 MB, free: 2.117 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05337/0.4156, allocations: 27.27 MB / 412.6 MB, free: 6.914 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4156, allocations: 0 / 412.6 MB, free: 6.914 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.4157, allocations: 8 kB / 412.6 MB, free: 6.906 MB / 314.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.000766/0.4164, allocations: 0.6684 MB / 413.2 MB, free: 6.164 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.4165, allocations: 8.031 kB / 413.3 MB, free: 6.156 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.279e-05/0.4166, allocations: 39.53 kB / 413.3 MB, free: 6.117 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003922/0.417, allocations: 261.4 kB / 413.6 MB, free: 5.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/0.417, allocations: 12 kB / 413.6 MB, free: 5.809 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/0.4171, allocations: 11.94 kB / 413.6 MB, free: 5.797 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000343/0.4174, allocations: 149.5 kB / 413.7 MB, free: 5.645 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.4175, allocations: 0 / 413.7 MB, free: 5.645 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.283e-05/0.4175, allocations: 11.95 kB / 413.7 MB, free: 5.633 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.4175, allocations: 0 / 413.7 MB, free: 5.633 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.4177, allocations: 67.95 kB / 413.8 MB, free: 5.566 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007308/0.4184, allocations: 472.6 kB / 414.3 MB, free: 5.055 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.4186, allocations: 107.1 kB / 414.4 MB, free: 4.941 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.4187, allocations: 4 kB / 414.4 MB, free: 4.938 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003656/0.419, allocations: 238.1 kB / 414.6 MB, free: 4.684 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.419, allocations: 0 / 414.6 MB, free: 4.684 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009803/0.42, allocations: 0.6546 MB / 415.3 MB, free: 3.961 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.4202, allocations: 166.2 kB / 415.4 MB, free: 3.762 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005664/0.4207, allocations: 468.4 kB / 415.9 MB, free: 3.297 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.4208, allocations: 29.7 kB / 415.9 MB, free: 3.262 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.659e-05/0.4209, allocations: 101.1 kB / 416 MB, free: 3.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.884e-05/0.4209, allocations: 31.64 kB / 416 MB, free: 3.129 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.065e-05/0.4209, allocations: 4 kB / 416 MB, free: 3.125 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.4211, allocations: 322.8 kB / 416.4 MB, free: 2.801 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.4212, allocations: 59.97 kB / 416.4 MB, free: 2.742 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.4214, allocations: 87.2 kB / 416.5 MB, free: 2.652 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.4215, allocations: 170.8 kB / 416.7 MB, free: 2.461 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4216, allocations: 4 kB / 416.7 MB, free: 2.457 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005768/0.4221, allocations: 412.2 kB / 417.1 MB, free: 2.023 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.742e-05/0.4222, allocations: 130.8 kB / 417.2 MB, free: 1.871 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.4223, allocations: 80 / 417.2 MB, free: 1.871 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.4223, allocations: 0 / 417.2 MB, free: 1.871 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.571e-05/0.4223, allocations: 4 kB / 417.2 MB, free: 1.867 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.4223, allocations: 3.984 kB / 417.2 MB, free: 1.863 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.4225, allocations: 15.91 kB / 417.2 MB, free: 1.848 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.4226, allocations: 119.8 kB / 417.3 MB, free: 1.73 MB / 314.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.0003591/0.423, allocations: 366.2 kB / 417.7 MB, free: 1.336 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.679e-05/0.423, allocations: 39.58 kB / 417.7 MB, free: 1.297 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.4231, allocations: 67.14 kB / 417.8 MB, free: 1.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.4232, allocations: 0 / 417.8 MB, free: 1.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4232, allocations: 0 / 417.8 MB, free: 1.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4232, allocations: 0 / 417.8 MB, free: 1.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.4243, allocations: 0.8369 MB / 418.6 MB, free: 320 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4243, allocations: 3.953 kB / 418.6 MB, free: 316 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.105e-06/0.4243, allocations: 7.984 kB / 418.6 MB, free: 308 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.4243, allocations: 0 / 418.6 MB, free: 308 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.894e-05/0.4244, allocations: 19.98 kB / 418.7 MB, free: 288 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.4244, allocations: 192 / 418.7 MB, free: 288 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4244, allocations: 3.938 kB / 418.7 MB, free: 284 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2723/0.6967, allocations: 0.5557 MB / 419.2 MB, free: 86.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008499/0.6976, allocations: 250.3 kB / 419.5 MB, free: 86.76 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.6978, allocations: 10.66 kB / 419.5 MB, free: 86.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003341/0.6982, allocations: 16.64 kB / 419.5 MB, free: 86.76 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002298/0.6984, allocations: 32.33 kB / 419.5 MB, free: 86.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003517/0.6988, allocations: 121.1 kB / 419.6 MB, free: 86.76 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001293/0.7001, allocations: 389.5 kB / 420 MB, free: 86.61 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.7001, allocations: 0 / 420 MB, free: 86.61 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006916/0.7008, allocations: 45.56 kB / 420.1 MB, free: 86.61 MB / 314.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.0002729/0.7011, allocations: 121.7 kB / 420.2 MB, free: 86.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.7022, allocations: 445.9 kB / 420.6 MB, free: 86.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.7022, allocations: 3.625 kB / 420.6 MB, free: 86.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004958/0.7027, allocations: 386 kB / 421 MB, free: 86.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008935/0.7036, allocations: 101.2 kB / 421.1 MB, free: 86.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.7055, allocations: 0.7434 MB / 421.8 MB, free: 85.62 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/0.706, allocations: 0.8108 MB / 422.7 MB, free: 84.91 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.183e-05/0.7061, allocations: 11.3 kB / 422.7 MB, free: 84.9 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/0.7061, allocations: 10.09 kB / 422.7 MB, free: 84.89 MB / 314.7 MB Notification: Performance of SimCode: time 3.81e-07/0.7061, allocations: 0 / 422.7 MB, free: 84.89 MB / 314.7 MB Notification: Performance of Templates: time 0.01421/0.7204, allocations: 5.621 MB / 428.3 MB, free: 84.34 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1)