Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001428/0.001429, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002405/0.002406, allocations: 195.4 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.034/2.034, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.001329/0.001329, allocations: 48.22 kB / 278.2 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3768, allocations: 46.64 MB / 324.8 MB, free: 2.258 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003433/0.3803, allocations: 1.574 MB / 326.4 MB, free: 1.012 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.3825, allocations: 0.8779 MB / 327.3 MB, free: 356 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.848e-05/0.3826, allocations: 0 / 327.3 MB, free: 356 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000154/0.3828, allocations: 5.141 kB / 327.3 MB, free: 352 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.3829, allocations: 23.19 kB / 327.3 MB, free: 332 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003797/0.3833, allocations: 44.25 kB / 327.4 MB, free: 296 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003125/0.3836, allocations: 154.5 kB / 327.5 MB, free: 204 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.3838, allocations: 16.88 kB / 327.5 MB, free: 196 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006931/0.3845, allocations: 382.6 kB / 327.9 MB, free: 48 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.3847, allocations: 72.8 kB / 328 MB, free: 4 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 5.908e-05/0.3847, allocations: 13.41 kB / 328 MB, free: 0 / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.413e-05/0.3848, allocations: 9.656 kB / 328 MB, free: 0 / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.385, allocations: 70.95 kB / 328.1 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.3852, allocations: 111 kB / 328.2 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005198/0.3857, allocations: 354.1 kB / 328.5 MB, free: 15.61 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.3857, allocations: 1.156 kB / 328.5 MB, free: 15.61 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3857, allocations: 0 / 328.5 MB, free: 15.61 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.3857, allocations: 0 / 328.5 MB, free: 15.61 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.001028/0.3868, allocations: 0.7203 MB / 329.2 MB, free: 14.91 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/0.3868, allocations: 9.219 kB / 329.3 MB, free: 14.91 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.387, allocations: 38.53 kB / 329.3 MB, free: 14.89 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004038/0.3874, allocations: 273.4 kB / 329.6 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.3874, allocations: 9.094 kB / 329.6 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.496e-05/0.3874, allocations: 11.44 kB / 329.6 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003904/0.3878, allocations: 122.7 kB / 329.7 MB, free: 14.53 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3879, allocations: 1.125 kB / 329.7 MB, free: 14.53 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.3879, allocations: 3.312 kB / 329.7 MB, free: 14.53 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.3879, allocations: 1.094 kB / 329.7 MB, free: 14.53 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.3881, allocations: 63.89 kB / 329.8 MB, free: 14.5 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008064/0.3889, allocations: 456.3 kB / 330.2 MB, free: 14.09 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.3891, allocations: 99.05 kB / 330.3 MB, free: 14.02 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.3893, allocations: 83.56 kB / 330.4 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.3893, allocations: 1.125 kB / 330.4 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004679/0.3898, allocations: 199.4 kB / 330.6 MB, free: 13.81 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.744e-06/0.3898, allocations: 0 / 330.6 MB, free: 13.81 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009951/0.3908, allocations: 463.8 kB / 331 MB, free: 13.52 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001519/0.391, allocations: 172.6 kB / 331.2 MB, free: 13.32 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00073/0.3917, allocations: 0.517 MB / 331.7 MB, free: 12.98 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.3918, allocations: 29.44 kB / 331.8 MB, free: 12.95 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.026e-05/0.3919, allocations: 109.5 kB / 331.9 MB, free: 12.84 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.3919, allocations: 30.52 kB / 331.9 MB, free: 12.82 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.3921, allocations: 77.17 kB / 332 MB, free: 12.77 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3922, allocations: 325.6 kB / 332.3 MB, free: 12.45 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.3923, allocations: 58.53 kB / 332.3 MB, free: 12.42 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.3925, allocations: 70.53 kB / 332.4 MB, free: 12.38 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004053/0.3929, allocations: 346.9 kB / 332.8 MB, free: 12.05 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.3929, allocations: 8.062 kB / 332.8 MB, free: 12.04 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005489/0.3935, allocations: 378.2 kB / 333.1 MB, free: 11.68 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.406e-05/0.3936, allocations: 118.8 kB / 333.2 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3936, allocations: 0 / 333.2 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3936, allocations: 4 kB / 333.2 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.689e-05/0.3936, allocations: 0 / 333.2 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.3936, allocations: 3.984 kB / 333.3 MB, free: 11.53 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.3938, allocations: 15.91 kB / 333.3 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.486e-05/0.3939, allocations: 40 kB / 333.3 MB, free: 11.48 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.0003697/0.3942, allocations: 370.2 kB / 333.7 MB, free: 11.08 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.008e-05/0.3943, allocations: 35.62 kB / 333.7 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.954e-05/0.3944, allocations: 67.14 kB / 333.8 MB, free: 10.97 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3944, allocations: 4 kB / 333.8 MB, free: 10.97 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3944, allocations: 0 / 333.8 MB, free: 10.97 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3944, allocations: 0 / 333.8 MB, free: 10.97 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009643/0.3954, allocations: 0.8097 MB / 334.6 MB, free: 10.08 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.3954, allocations: 4 kB / 334.6 MB, free: 10.07 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.359e-06/0.3954, allocations: 4 kB / 334.6 MB, free: 10.07 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3954, allocations: 3.938 kB / 334.6 MB, free: 10.07 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/0.3955, allocations: 15.98 kB / 334.6 MB, free: 10.05 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3955, allocations: 0 / 334.6 MB, free: 10.05 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3955, allocations: 3.938 kB / 334.6 MB, free: 10.05 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006133/0.3961, allocations: 0.5097 MB / 335.1 MB, free: 9.496 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003406/0.3965, allocations: 248.4 kB / 335.4 MB, free: 9.234 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.604e-05/0.3965, allocations: 15.94 kB / 335.4 MB, free: 9.219 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.3967, allocations: 12 kB / 335.4 MB, free: 9.207 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.3968, allocations: 35.84 kB / 335.4 MB, free: 9.172 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.765e-05/0.3968, allocations: 39.94 kB / 335.5 MB, free: 9.133 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0004558/0.3973, allocations: 390.9 kB / 335.8 MB, free: 8.754 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3973, allocations: 0 / 335.8 MB, free: 8.754 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.3976, allocations: 40 kB / 335.9 MB, free: 8.715 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.0001493/0.3978, allocations: 115.2 kB / 336 MB, free: 8.594 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005588/0.3983, allocations: 445.5 kB / 336.4 MB, free: 8.109 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3983, allocations: 0 / 336.4 MB, free: 8.109 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003248/0.3987, allocations: 373.6 kB / 336.8 MB, free: 7.695 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006764/0.3994, allocations: 128.4 kB / 336.9 MB, free: 7.57 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.4006, allocations: 0.7604 MB / 337.7 MB, free: 6.785 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/0.4011, allocations: 0.7989 MB / 338.5 MB, free: 5.961 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.867e-05/0.4011, allocations: 8.656 kB / 338.5 MB, free: 5.945 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.4012, allocations: 15.44 kB / 338.5 MB, free: 5.934 MB / 270.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4012, allocations: 0 / 338.5 MB, free: 5.934 MB / 270.1 MB Notification: Performance of Templates: time 0.008874/0.4101, allocations: 4.257 MB / 342.8 MB, free: 1.668 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_3.1_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_3.1_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1)