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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00583/0.00583, allocations: 177.5 kB / 7.453 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.292/1.292, allocations: 170.6 MB / 178.4 MB, free: 15.38 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.001756/0.001756, allocations: 119.8 kB / 217.7 MB, free: 8.137 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.614e-06/7.755e-06, allocations: 0 / 261.7 MB, free: 26.63 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07534/0.07537, allocations: 38.76 MB / 300.5 MB, free: 3.883 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2529/0.3284, allocations: 71.51 MB / 372 MB, free: 12.84 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/0.3288, allocations: 72.77 kB / 372.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.05443/0.3832, allocations: 26.69 MB / 398.8 MB, free: 7.496 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.3833, allocations: 4 kB / 398.8 MB, free: 7.492 MB / 282.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.0006501/0.3839, allocations: 0.6108 MB / 399.4 MB, free: 6.832 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.384, allocations: 8.031 kB / 399.4 MB, free: 6.824 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.841e-05/0.3841, allocations: 39.53 kB / 399.4 MB, free: 6.785 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.3845, allocations: 264.9 kB / 399.7 MB, free: 6.492 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.3845, allocations: 8 kB / 399.7 MB, free: 6.484 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.598e-05/0.3845, allocations: 8 kB / 399.7 MB, free: 6.477 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001434/0.3847, allocations: 54.36 kB / 399.8 MB, free: 6.441 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.385, allocations: 147.3 kB / 399.9 MB, free: 6.309 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.385, allocations: 0 / 399.9 MB, free: 6.309 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.431e-05/0.3851, allocations: 4 kB / 399.9 MB, free: 6.305 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3851, allocations: 0 / 399.9 MB, free: 6.305 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.3862, allocations: 466.4 kB / 400.4 MB, free: 5.867 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.3865, allocations: 99.14 kB / 400.5 MB, free: 5.793 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.3867, allocations: 77.09 kB / 400.5 MB, free: 5.742 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.3867, allocations: 112 / 400.5 MB, free: 5.742 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003268/0.387, allocations: 211.1 kB / 400.7 MB, free: 5.535 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.522e-06/0.387, allocations: 7.938 kB / 400.8 MB, free: 5.527 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005445/0.3876, allocations: 227.1 kB / 401 MB, free: 5.328 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.3877, allocations: 169.8 kB / 401.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005401/0.3883, allocations: 448.3 kB / 401.6 MB, free: 4.762 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.3883, allocations: 29.7 kB / 401.6 MB, free: 4.727 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.642e-05/0.3884, allocations: 92.5 kB / 401.7 MB, free: 4.637 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/0.3884, allocations: 30.03 kB / 401.7 MB, free: 4.609 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/0.3885, allocations: 11.5 kB / 401.7 MB, free: 4.602 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.3886, allocations: 322.1 kB / 402.1 MB, free: 4.281 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.3887, allocations: 61.97 kB / 402.1 MB, free: 4.238 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.46e-05/0.3888, allocations: 57.92 kB / 402.2 MB, free: 4.199 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.3889, allocations: 51.3 kB / 402.2 MB, free: 4.164 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3889, allocations: 0 / 402.2 MB, free: 4.164 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003238/0.3893, allocations: 205.3 kB / 402.4 MB, free: 3.988 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.3893, allocations: 4 kB / 402.4 MB, free: 3.984 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3893, allocations: 0 / 402.4 MB, free: 3.984 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.3893, allocations: 4 kB / 402.4 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.852e-05/0.3893, allocations: 0 / 402.4 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.3893, allocations: 0 / 402.4 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.3895, allocations: 19.89 kB / 402.4 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/0.3897, allocations: 118.9 kB / 402.6 MB, free: 3.848 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,$PRE.bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.x,$PRE.bUF3S.inertialDelaySensitive.y,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 () * 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.0002124/0.3899, allocations: 244.6 kB / 402.8 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.616e-05/0.3899, allocations: 39.53 kB / 402.8 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/0.3901, allocations: 62 kB / 402.9 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3901, allocations: 0 / 402.9 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3901, allocations: 0 / 402.9 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.8e-05/0.3902, allocations: 11.97 kB / 402.9 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.3912, allocations: 0.5881 MB / 403.5 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3912, allocations: 0 / 403.5 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.123e-06/0.3913, allocations: 0 / 403.5 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.3913, allocations: 4 kB / 403.5 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.81e-05/0.3913, allocations: 15.98 kB / 403.5 MB, free: 2.898 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.3914, allocations: 4 kB / 403.5 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.3914, allocations: 3.984 kB / 403.5 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006444/0.392, allocations: 342.8 kB / 403.9 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005864/0.3926, allocations: 264.3 kB / 404.1 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.3928, allocations: 4 kB / 404.1 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.393, allocations: 12 kB / 404.1 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.3932, allocations: 35.27 kB / 404.2 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001748/0.3934, allocations: 119.5 kB / 404.3 MB, free: 2.191 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0006363/0.394, allocations: 364.8 kB / 404.6 MB, free: 1.895 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004904/0.3945, allocations: 40 kB / 404.7 MB, free: 1.855 MB / 282.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) * 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.0002133/0.3948, allocations: 118.7 kB / 404.8 MB, free: 1.734 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005463/0.3953, allocations: 279.7 kB / 405.1 MB, free: 1.492 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3953, allocations: 0 / 405.1 MB, free: 1.492 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004056/0.3957, allocations: 269.1 kB / 405.3 MB, free: 1.281 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007744/0.3965, allocations: 104.8 kB / 405.4 MB, free: 1.195 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.398, allocations: 0.5306 MB / 406 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006655/0.3987, allocations: 0.8148 MB / 406.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of SimCode: time 2.114e-06/0.3987, allocations: 0 / 406.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of Templates: time 0.01128/0.41, allocations: 5.442 MB / 412.2 MB, free: 10.35 MB / 298.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)