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/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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 112.6 kB / 16.62 MB, free: 6.961 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.00172/0.001721, allocations: 190 kB / 17.54 MB, free: 6.062 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.817/1.817, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.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.001223/0.001223, allocations: 47.94 kB / 279.5 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1304, allocations: 46.63 MB / 326.1 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002967/0.1334, allocations: 1.577 MB / 327.7 MB, free: 3.207 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00188/0.1353, allocations: 0.8787 MB / 328.6 MB, free: 2.32 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.439e-05/0.1354, allocations: 0 / 328.6 MB, free: 2.32 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.1355, allocations: 7.922 kB / 328.6 MB, free: 2.312 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.26e-05/0.1356, allocations: 15.92 kB / 328.6 MB, free: 2.297 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.1359, allocations: 51.89 kB / 328.7 MB, free: 2.246 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.1361, allocations: 143.8 kB / 328.8 MB, free: 2.105 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.1362, allocations: 23.98 kB / 328.8 MB, free: 2.082 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004319/0.1366, allocations: 383.3 kB / 329.2 MB, free: 1.707 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.1368, allocations: 79.69 kB / 329.3 MB, free: 1.629 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.921e-05/0.1368, allocations: 12 kB / 329.3 MB, free: 1.617 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.586e-05/0.1369, allocations: 8 kB / 329.3 MB, free: 1.609 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.086e-05/0.137, allocations: 63.77 kB / 329.4 MB, free: 1.547 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.1371, allocations: 119.1 kB / 329.5 MB, free: 1.43 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000369/0.1375, allocations: 346.8 kB / 329.8 MB, free: 1.09 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1375, allocations: 0 / 329.8 MB, free: 1.09 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1375, allocations: 0 / 329.8 MB, free: 1.09 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.1375, allocations: 0 / 329.8 MB, free: 1.09 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.0008193/0.1383, allocations: 0.723 MB / 330.5 MB, free: 300 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.1384, allocations: 8.031 kB / 330.5 MB, free: 292 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.51e-05/0.1385, allocations: 40.47 kB / 330.6 MB, free: 252 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.1388, allocations: 270.5 kB / 330.8 MB, free: 15.94 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.1388, allocations: 8.375 kB / 330.9 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.1388, allocations: 12.31 kB / 330.9 MB, free: 15.92 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/0.1392, allocations: 133.8 kB / 331 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1392, allocations: 0 / 331 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.1392, allocations: 4 kB / 331 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.309e-06/0.1392, allocations: 0 / 331 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.1394, allocations: 55.97 kB / 331.1 MB, free: 15.72 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006429/0.14, allocations: 456.6 kB / 331.5 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.1402, allocations: 94.48 kB / 331.6 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.1404, allocations: 84.89 kB / 331.7 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.1405, allocations: 7.984 kB / 331.7 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000397/0.1409, allocations: 202.6 kB / 331.9 MB, free: 14.81 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.452e-06/0.1409, allocations: 0 / 331.9 MB, free: 14.81 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007852/0.1417, allocations: 468.2 kB / 332.3 MB, free: 14.32 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.1418, allocations: 174.1 kB / 332.5 MB, free: 14.11 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006346/0.1424, allocations: 0.513 MB / 333 MB, free: 13.59 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.1425, allocations: 29.7 kB / 333.1 MB, free: 13.56 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.593e-05/0.1426, allocations: 109 kB / 333.2 MB, free: 13.45 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.1426, allocations: 27.66 kB / 333.2 MB, free: 13.42 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.1427, allocations: 77.41 kB / 333.3 MB, free: 13.34 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1429, allocations: 322.8 kB / 333.6 MB, free: 13.02 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.143, allocations: 55.97 kB / 333.6 MB, free: 12.96 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.1431, allocations: 77.61 kB / 333.7 MB, free: 12.88 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.1435, allocations: 347.7 kB / 334 MB, free: 12.48 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1435, allocations: 0 / 334 MB, free: 12.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005111/0.144, allocations: 376.2 kB / 334.4 MB, free: 12.09 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.1441, allocations: 122.8 kB / 334.5 MB, free: 11.94 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.1441, allocations: 4.078 kB / 334.5 MB, free: 11.94 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.1442, allocations: 0 / 334.5 MB, free: 11.94 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.701e-05/0.1442, allocations: 0 / 334.5 MB, free: 11.94 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1442, allocations: 3.984 kB / 334.5 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.1444, allocations: 19.98 kB / 334.6 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.786e-05/0.1444, allocations: 36 kB / 334.6 MB, free: 11.88 MB / 286.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.0003845/0.1448, allocations: 370.2 kB / 335 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.74e-05/0.1449, allocations: 31.62 kB / 335 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.145, allocations: 67.16 kB / 335.1 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.145, allocations: 0 / 335.1 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.145, allocations: 3.938 kB / 335.1 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.145, allocations: 3.984 kB / 335.1 MB, free: 11.37 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009985/0.146, allocations: 0.8055 MB / 335.9 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.146, allocations: 4 kB / 335.9 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.272e-06/0.1461, allocations: 3.984 kB / 335.9 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1461, allocations: 0 / 335.9 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.1461, allocations: 15.94 kB / 335.9 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1461, allocations: 0 / 335.9 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.1461, allocations: 7.938 kB / 335.9 MB, free: 10.45 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006512/0.1468, allocations: 0.5135 MB / 336.4 MB, free: 9.898 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003087/0.1471, allocations: 252.3 kB / 336.7 MB, free: 9.633 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.442e-05/0.1472, allocations: 12 kB / 336.7 MB, free: 9.621 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.1473, allocations: 16.23 kB / 336.7 MB, free: 9.605 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.1474, allocations: 23.92 kB / 336.7 MB, free: 9.582 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.354e-05/0.1475, allocations: 51.92 kB / 336.8 MB, free: 9.531 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004622/0.148, allocations: 386.9 kB / 337.1 MB, free: 9.156 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.148, allocations: 0 / 337.1 MB, free: 9.156 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.1483, allocations: 40 kB / 337.2 MB, free: 9.117 MB / 286.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.0001893/0.1485, allocations: 119 kB / 337.3 MB, free: 8.992 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005815/0.149, allocations: 445.5 kB / 337.7 MB, free: 8.508 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1491, allocations: 0 / 337.7 MB, free: 8.508 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000349/0.1494, allocations: 373.6 kB / 338.1 MB, free: 8.094 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006309/0.1501, allocations: 129.7 kB / 338.2 MB, free: 7.969 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.1512, allocations: 0.7476 MB / 339 MB, free: 7.195 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.1516, allocations: 0.8019 MB / 339.8 MB, free: 6.367 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.036e-05/0.1517, allocations: 8.656 kB / 339.8 MB, free: 6.355 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.915e-05/0.1517, allocations: 19.42 kB / 339.8 MB, free: 6.336 MB / 286.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1517, allocations: 7.938 kB / 339.8 MB, free: 6.328 MB / 286.1 MB Notification: Performance of Templates: time 0.007896/0.1596, allocations: 4.242 MB / 344 MB, free: 2.082 MB / 286.1 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)