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") [: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.2+maint.om/package.mo): time 0.001495/0.001495, allocations: 192.9 kB / 8.139 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.345/1.345, allocations: 194.2 MB / 202.8 MB, free: 8.723 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.001942/0.001942, allocations: 121.1 kB / 247.7 MB, free: 6.367 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.953e-06/7.043e-06, allocations: 0 / 297.6 MB, free: 7.988 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08018/0.08021, allocations: 44.49 MB / 342.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2263/0.3065, allocations: 76.83 MB / 418.9 MB, free: 18.16 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001555/0.3067, allocations: 70.08 kB / 419 MB, free: 18.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.0485/0.3553, allocations: 26.21 MB / 445.2 MB, free: 13.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.3553, allocations: 7.75 kB / 445.2 MB, free: 13.32 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.0008489/0.3562, allocations: 0.6179 MB / 445.8 MB, free: 12.65 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.308e-05/0.3563, allocations: 8.031 kB / 445.8 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.3565, allocations: 39.53 kB / 445.8 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004895/0.357, allocations: 265 kB / 446.1 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/0.357, allocations: 7.984 kB / 446.1 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.392e-05/0.3571, allocations: 15.12 kB / 446.1 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000241/0.3573, allocations: 62.72 kB / 446.2 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.3577, allocations: 131.7 kB / 446.3 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.3577, allocations: 4 kB / 446.3 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.012e-05/0.3577, allocations: 0 / 446.3 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.3577, allocations: 4 kB / 446.3 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.3588, allocations: 466.7 kB / 446.8 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.359, allocations: 96.19 kB / 446.9 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.3592, allocations: 89.58 kB / 447 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.3593, allocations: 0 / 447 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003141/0.3596, allocations: 209.2 kB / 447.2 MB, free: 11.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.934e-06/0.3596, allocations: 0 / 447.2 MB, free: 11.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006031/0.3602, allocations: 218.9 kB / 447.4 MB, free: 11.15 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.865e-05/0.3603, allocations: 165.6 kB / 447.5 MB, free: 10.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007631/0.3611, allocations: 450.5 kB / 448 MB, free: 10.58 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.289e-05/0.3612, allocations: 29.7 kB / 448 MB, free: 10.55 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.802e-05/0.3612, allocations: 92.69 kB / 448.1 MB, free: 10.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.331e-05/0.3613, allocations: 26.97 kB / 448.1 MB, free: 10.44 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.3614, allocations: 7.984 kB / 448.1 MB, free: 10.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3615, allocations: 321.9 kB / 448.4 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.3617, allocations: 63.72 kB / 448.5 MB, free: 10.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.3619, allocations: 57.34 kB / 448.6 MB, free: 10.03 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.362, allocations: 60.28 kB / 448.6 MB, free: 9.984 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.362, allocations: 0 / 448.6 MB, free: 9.984 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005009/0.3625, allocations: 199.7 kB / 448.8 MB, free: 9.812 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3626, allocations: 4 kB / 448.8 MB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.3626, allocations: 0 / 448.8 MB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.3626, allocations: 0 / 448.8 MB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.17e-05/0.3626, allocations: 0 / 448.8 MB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3626, allocations: 4 kB / 448.8 MB, free: 9.805 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.3629, allocations: 22.83 kB / 448.8 MB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/0.3631, allocations: 111.9 kB / 449 MB, free: 9.676 MB / 330.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.0002456/0.3633, allocations: 236.4 kB / 449.2 MB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.065e-05/0.3634, allocations: 47.47 kB / 449.2 MB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001715/0.3636, allocations: 79.38 kB / 449.3 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3636, allocations: 0 / 449.3 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3636, allocations: 0 / 449.3 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3636, allocations: 0 / 449.3 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009825/0.3646, allocations: 0.5912 MB / 449.9 MB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3647, allocations: 0 / 449.9 MB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.901e-06/0.3647, allocations: 0 / 449.9 MB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3647, allocations: 0 / 449.9 MB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.324e-05/0.3647, allocations: 23.67 kB / 449.9 MB, free: 8.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3648, allocations: 0 / 449.9 MB, free: 8.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3648, allocations: 0 / 449.9 MB, free: 8.73 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006476/0.3654, allocations: 347 kB / 450.3 MB, free: 8.414 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005407/0.366, allocations: 263.7 kB / 450.5 MB, free: 8.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.3661, allocations: 11.62 kB / 450.5 MB, free: 8.172 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002657/0.3664, allocations: 15.97 kB / 450.5 MB, free: 8.156 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.3666, allocations: 37.83 kB / 450.6 MB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000177/0.3667, allocations: 123.7 kB / 450.7 MB, free: 8.008 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0006237/0.3674, allocations: 370.5 kB / 451.1 MB, free: 7.703 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004846/0.3679, allocations: 43.53 kB / 451.1 MB, free: 7.664 MB / 330.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.000192/0.3681, allocations: 110.8 kB / 451.2 MB, free: 7.547 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005022/0.3686, allocations: 268.9 kB / 451.5 MB, free: 7.312 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.3686, allocations: 0 / 451.5 MB, free: 7.312 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000417/0.369, allocations: 270 kB / 451.7 MB, free: 7.102 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007904/0.3698, allocations: 95.31 kB / 451.8 MB, free: 7.027 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.3712, allocations: 0.5151 MB / 452.3 MB, free: 6.539 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006344/0.3719, allocations: 0.8206 MB / 453.2 MB, free: 5.699 MB / 330.7 MB Notification: Performance of SimCode: time 6.72e-07/0.3719, allocations: 0 / 453.2 MB, free: 5.699 MB / 330.7 MB Notification: Performance of Templates: time 0.01205/0.3839, allocations: 5.434 MB / 458.6 MB, free: 224 kB / 330.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)