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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002085/0.002085, allocations: 199.2 kB / 16.14 MB, free: 6.707 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.792/1.792, allocations: 205.1 MB / 222 MB, free: 5.004 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.001552/0.001553, allocations: 56.3 kB / 278 MB, free: 13.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3734, allocations: 46.62 MB / 324.7 MB, free: 2.043 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.005166/0.3786, allocations: 1.57 MB / 326.2 MB, free: 0.8008 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002575/0.3812, allocations: 0.9124 MB / 327.2 MB, free: 116 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.3814, allocations: 5.125 kB / 327.2 MB, free: 112 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.3816, allocations: 5.172 kB / 327.2 MB, free: 108 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.3818, allocations: 23.69 kB / 327.2 MB, free: 88 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003842/0.3822, allocations: 36.28 kB / 327.2 MB, free: 60 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002986/0.3825, allocations: 119.3 kB / 327.3 MB, free: 15.99 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.3827, allocations: 20.86 kB / 327.4 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008596/0.3836, allocations: 378.1 kB / 327.7 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/0.3838, allocations: 62.31 kB / 327.8 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.674e-05/0.3839, allocations: 4.312 kB / 327.8 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.621e-05/0.3839, allocations: 9.062 kB / 327.8 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.3841, allocations: 62.2 kB / 327.9 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.3843, allocations: 116 kB / 328 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004747/0.3848, allocations: 346.5 kB / 328.3 MB, free: 15.41 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3848, allocations: 0 / 328.3 MB, free: 15.41 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3848, allocations: 1.219 kB / 328.3 MB, free: 15.41 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.651e-05/0.3848, allocations: 0 / 328.3 MB, free: 15.41 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001957/0.3868, allocations: 0.7201 MB / 329 MB, free: 14.71 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.348e-05/0.3869, allocations: 9.219 kB / 329 MB, free: 14.71 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002071/0.3871, allocations: 34.75 kB / 329.1 MB, free: 14.7 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005176/0.3876, allocations: 277 kB / 329.4 MB, free: 14.42 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.457e-05/0.3877, allocations: 5.125 kB / 329.4 MB, free: 14.42 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.516e-05/0.3877, allocations: 15.41 kB / 329.4 MB, free: 14.41 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004208/0.3881, allocations: 123 kB / 329.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.3882, allocations: 0 / 329.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.069e-05/0.3882, allocations: 7.859 kB / 329.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.3882, allocations: 1.125 kB / 329.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.3884, allocations: 60.34 kB / 329.6 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.3896, allocations: 456.8 kB / 330 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.3899, allocations: 94.95 kB / 330.1 MB, free: 13.83 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.3901, allocations: 82.62 kB / 330.2 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.3901, allocations: 5 kB / 330.2 MB, free: 13.78 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005811/0.3907, allocations: 203.5 kB / 330.4 MB, free: 13.61 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 2.645e-06/0.3908, allocations: 4 kB / 330.4 MB, free: 13.61 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.001264/0.392, allocations: 464.4 kB / 330.8 MB, free: 13.32 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.3922, allocations: 164.2 kB / 331 MB, free: 13.13 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009621/0.3931, allocations: 0.5251 MB / 331.5 MB, free: 12.78 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/0.3932, allocations: 29.02 kB / 331.6 MB, free: 12.75 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.3933, allocations: 101.9 kB / 331.7 MB, free: 12.65 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.038e-05/0.3934, allocations: 26.86 kB / 331.7 MB, free: 12.63 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/0.3936, allocations: 75.36 kB / 331.8 MB, free: 12.58 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.3937, allocations: 330.1 kB / 332.1 MB, free: 12.25 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.3939, allocations: 58.16 kB / 332.1 MB, free: 12.23 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.394, allocations: 75.14 kB / 332.2 MB, free: 12.18 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003883/0.3944, allocations: 347.1 kB / 332.5 MB, free: 11.85 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3944, allocations: 1.344 kB / 332.5 MB, free: 11.85 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006494/0.3951, allocations: 369.8 kB / 332.9 MB, free: 11.61 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001462/0.3952, allocations: 130 kB / 333 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.3953, allocations: 5.094 kB / 333 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/0.3953, allocations: 5.031 kB / 333 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.962e-05/0.3953, allocations: 1.062 kB / 333 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.3954, allocations: 1.094 kB / 333 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.3956, allocations: 16.59 kB / 333.1 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.786e-05/0.3957, allocations: 41.05 kB / 333.1 MB, free: 11.45 MB / 270.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.0005133/0.3962, allocations: 365.1 kB / 333.5 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.3963, allocations: 35.62 kB / 333.5 MB, free: 11.06 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.3965, allocations: 71.14 kB / 333.6 MB, free: 10.98 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.3965, allocations: 4 kB / 333.6 MB, free: 10.98 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.3965, allocations: 0 / 333.6 MB, free: 10.98 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3965, allocations: 128 / 333.6 MB, free: 10.98 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.3978, allocations: 0.8094 MB / 334.4 MB, free: 10.09 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.3978, allocations: 0 / 334.4 MB, free: 10.09 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.828e-05/0.3978, allocations: 4 kB / 334.4 MB, free: 10.09 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3978, allocations: 3.938 kB / 334.4 MB, free: 10.08 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.141e-05/0.3979, allocations: 15.98 kB / 334.4 MB, free: 10.07 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3979, allocations: 0 / 334.4 MB, free: 10.07 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.3979, allocations: 7.938 kB / 334.4 MB, free: 10.06 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008158/0.3987, allocations: 0.5135 MB / 334.9 MB, free: 9.504 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004073/0.3992, allocations: 244.4 kB / 335.2 MB, free: 9.246 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.278e-05/0.3992, allocations: 12 kB / 335.2 MB, free: 9.234 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.3994, allocations: 11.98 kB / 335.2 MB, free: 9.223 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/0.3996, allocations: 23.86 kB / 335.2 MB, free: 9.199 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.924e-05/0.3997, allocations: 51.92 kB / 335.3 MB, free: 9.148 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0005823/0.4003, allocations: 390.9 kB / 335.6 MB, free: 8.77 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4003, allocations: 0 / 335.6 MB, free: 8.77 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003522/0.4007, allocations: 40 kB / 335.7 MB, free: 8.73 MB / 270.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.0002077/0.4009, allocations: 115 kB / 335.8 MB, free: 8.609 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0007505/0.4016, allocations: 437.5 kB / 336.2 MB, free: 8.133 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.4017, allocations: 0 / 336.2 MB, free: 8.133 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004226/0.4021, allocations: 373.5 kB / 336.6 MB, free: 7.719 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007259/0.4028, allocations: 117.5 kB / 336.7 MB, free: 7.602 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.4043, allocations: 0.7569 MB / 337.5 MB, free: 6.82 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000558/0.4048, allocations: 0.7986 MB / 338.3 MB, free: 5.996 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.854e-05/0.4049, allocations: 12.64 kB / 338.3 MB, free: 5.977 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.863e-05/0.4049, allocations: 11.44 kB / 338.3 MB, free: 5.969 MB / 270.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4049, allocations: 0 / 338.3 MB, free: 5.969 MB / 270.1 MB Notification: Performance of Templates: time 0.008074/0.413, allocations: 4.11 MB / 342.4 MB, free: 1.855 MB / 270.1 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)