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.01024/0.01024, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001567/0.001567, allocations: 191.9 kB / 16.67 MB, free: 5.969 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.992/1.992, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.001402/0.001402, allocations: 55.11 kB / 326.5 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1312, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003661/0.1349, allocations: 1.505 MB / 374.7 MB, free: 15.79 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002267/0.1372, allocations: 0.8976 MB / 375.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.1374, allocations: 3.938 kB / 375.6 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.1375, allocations: 11.92 kB / 375.6 MB, free: 14.87 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.486e-05/0.1376, allocations: 7.875 kB / 375.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.1379, allocations: 47.88 kB / 375.6 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.1382, allocations: 159.7 kB / 375.8 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.1383, allocations: 19.97 kB / 375.8 MB, free: 14.64 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004771/0.1388, allocations: 379.3 kB / 376.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.139, allocations: 59.77 kB / 376.3 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.805e-05/0.139, allocations: 8 kB / 376.3 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.883e-05/0.1391, allocations: 12 kB / 376.3 MB, free: 14.19 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.1392, allocations: 71.64 kB / 376.3 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.1393, allocations: 107.2 kB / 376.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003937/0.1397, allocations: 366.4 kB / 376.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1398, allocations: 0 / 376.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1398, allocations: 0 / 376.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.1398, allocations: 0 / 376.8 MB, free: 13.66 MB / 318.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.001026/0.1408, allocations: 0.7305 MB / 377.5 MB, free: 12.85 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.1409, allocations: 8.031 kB / 377.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.141, allocations: 40.7 kB / 377.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/0.1413, allocations: 286.6 kB / 377.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.1414, allocations: 8.375 kB / 377.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.1414, allocations: 8.375 kB / 377.9 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003418/0.1418, allocations: 125.9 kB / 378 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1418, allocations: 0 / 378 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.1418, allocations: 4 kB / 378 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1418, allocations: 3.984 kB / 378 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.142, allocations: 55.97 kB / 378.1 MB, free: 12.28 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007788/0.1428, allocations: 464.5 kB / 378.5 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.143, allocations: 90.55 kB / 378.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.1431, allocations: 80.89 kB / 378.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.1432, allocations: 3.984 kB / 378.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003905/0.1435, allocations: 198.6 kB / 378.9 MB, free: 11.37 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.784e-06/0.1436, allocations: 0 / 378.9 MB, free: 11.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008289/0.1444, allocations: 472.3 kB / 379.3 MB, free: 10.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.1445, allocations: 170.2 kB / 379.5 MB, free: 10.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007222/0.1453, allocations: 0.5168 MB / 380 MB, free: 10.15 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.1453, allocations: 33.7 kB / 380.1 MB, free: 10.11 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.191e-05/0.1454, allocations: 101.1 kB / 380.2 MB, free: 10.01 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.453e-05/0.1454, allocations: 35.73 kB / 380.2 MB, free: 9.973 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.1456, allocations: 81.55 kB / 380.3 MB, free: 9.887 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1457, allocations: 326.8 kB / 380.6 MB, free: 9.559 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.1458, allocations: 59.97 kB / 380.7 MB, free: 9.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.146, allocations: 69.69 kB / 380.7 MB, free: 9.426 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/0.1463, allocations: 339.3 kB / 381.1 MB, free: 9.039 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1464, allocations: 4 kB / 381.1 MB, free: 9.035 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005753/0.1469, allocations: 380.3 kB / 381.4 MB, free: 8.633 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.734e-05/0.147, allocations: 127.9 kB / 381.6 MB, free: 8.484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1471, allocations: 32 / 381.6 MB, free: 8.484 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.1471, allocations: 4 kB / 381.6 MB, free: 8.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.301e-05/0.1471, allocations: 3.938 kB / 381.6 MB, free: 8.477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.1471, allocations: 4 kB / 381.6 MB, free: 8.473 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.1473, allocations: 11.98 kB / 381.6 MB, free: 8.461 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.742e-05/0.1474, allocations: 39.94 kB / 381.6 MB, free: 8.422 MB / 318.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.000389/0.1477, allocations: 366.2 kB / 382 MB, free: 8.027 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.944e-05/0.1478, allocations: 39.77 kB / 382 MB, free: 7.988 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.1479, allocations: 67.14 kB / 382.1 MB, free: 7.922 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.148, allocations: 4 kB / 382.1 MB, free: 7.918 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.148, allocations: 0 / 382.1 MB, free: 7.918 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.148, allocations: 0 / 382.1 MB, free: 7.918 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.1491, allocations: 0.8215 MB / 382.9 MB, free: 7.016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.1491, allocations: 0 / 382.9 MB, free: 7.016 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.822e-06/0.1491, allocations: 3.938 kB / 382.9 MB, free: 7.012 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1491, allocations: 0 / 382.9 MB, free: 7.012 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.1492, allocations: 8 kB / 382.9 MB, free: 7.004 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.1492, allocations: 7.984 kB / 382.9 MB, free: 6.996 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.1492, allocations: 3.938 kB / 382.9 MB, free: 6.992 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007121/0.1499, allocations: 0.5215 MB / 383.4 MB, free: 6.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003209/0.1502, allocations: 240.6 kB / 383.7 MB, free: 6.176 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.685e-05/0.1503, allocations: 11.98 kB / 383.7 MB, free: 6.164 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.1504, allocations: 8 kB / 383.7 MB, free: 6.156 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.1506, allocations: 31.91 kB / 383.7 MB, free: 6.125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.792e-05/0.1506, allocations: 36 kB / 383.8 MB, free: 6.09 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004961/0.1511, allocations: 390.9 kB / 384.1 MB, free: 5.707 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.893e-06/0.1512, allocations: 4 kB / 384.2 MB, free: 5.703 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003187/0.1515, allocations: 47.94 kB / 384.2 MB, free: 5.656 MB / 318.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.0001574/0.1516, allocations: 127.1 kB / 384.3 MB, free: 5.523 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005399/0.1522, allocations: 433.5 kB / 384.7 MB, free: 5.051 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1522, allocations: 0 / 384.7 MB, free: 5.051 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003576/0.1526, allocations: 381.5 kB / 385.1 MB, free: 4.629 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006782/0.1533, allocations: 125.2 kB / 385.2 MB, free: 4.508 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.1543, allocations: 0.6686 MB / 385.9 MB, free: 3.812 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004766/0.1548, allocations: 0.7983 MB / 386.7 MB, free: 2.984 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.498e-05/0.1549, allocations: 8.656 kB / 386.7 MB, free: 2.973 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.1549, allocations: 11.44 kB / 386.7 MB, free: 2.961 MB / 318.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1549, allocations: 4 kB / 386.7 MB, free: 2.957 MB / 318.1 MB Notification: Performance of Templates: time 0.008018/0.1629, allocations: 4.38 MB / 391.1 MB, free: 14.57 MB / 334.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)