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.001165/0.001165, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.942/1.942, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.001863/0.001863, allocations: 55.94 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.46/0.4619, allocations: 46.63 MB / 325.3 MB, free: 1.832 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003481/0.4654, allocations: 1.521 MB / 326.8 MB, free: 0.6211 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.4674, allocations: 0.8839 MB / 327.7 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.532e-05/0.4675, allocations: 5.094 kB / 327.7 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.4676, allocations: 9.328 kB / 327.7 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.218e-05/0.4677, allocations: 22.47 kB / 327.7 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.468, allocations: 47.78 kB / 327.8 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002431/0.4682, allocations: 150.1 kB / 327.9 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.4683, allocations: 16.62 kB / 328 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004879/0.4688, allocations: 378.5 kB / 328.3 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.469, allocations: 64.33 kB / 328.4 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.089e-05/0.4691, allocations: 9.625 kB / 328.4 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.868e-05/0.4691, allocations: 10.28 kB / 328.4 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.4692, allocations: 73.75 kB / 328.5 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.4694, allocations: 111.7 kB / 328.6 MB, free: 15.47 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000396/0.4698, allocations: 349.8 kB / 328.9 MB, free: 15.21 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.4698, allocations: 3.984 kB / 328.9 MB, free: 15.21 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4698, allocations: 1.031 kB / 328.9 MB, free: 15.21 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.4698, allocations: 0 / 328.9 MB, free: 15.21 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.0008455/0.4706, allocations: 0.72 MB / 329.7 MB, free: 14.51 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.4707, allocations: 8.938 kB / 329.7 MB, free: 14.51 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.977e-05/0.4708, allocations: 34.78 kB / 329.7 MB, free: 14.49 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.4711, allocations: 277.6 kB / 330 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.4711, allocations: 9.125 kB / 330 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.4712, allocations: 7.125 kB / 330 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003385/0.4715, allocations: 126.8 kB / 330.1 MB, free: 14.13 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.4715, allocations: 1.125 kB / 330.1 MB, free: 14.13 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.4716, allocations: 3.594 kB / 330.1 MB, free: 14.13 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.4716, allocations: 0.6875 kB / 330.1 MB, free: 14.13 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.4717, allocations: 60.22 kB / 330.2 MB, free: 14.1 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007318/0.4725, allocations: 465.3 kB / 330.6 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.4727, allocations: 94.67 kB / 330.7 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.4729, allocations: 79.48 kB / 330.8 MB, free: 13.58 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.4729, allocations: 5.188 kB / 330.8 MB, free: 13.57 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004387/0.4734, allocations: 203.2 kB / 331 MB, free: 13.4 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.4734, allocations: 0 / 331 MB, free: 13.4 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009377/0.4743, allocations: 464.1 kB / 331.5 MB, free: 13.12 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.4745, allocations: 168.5 kB / 331.6 MB, free: 12.92 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007344/0.4752, allocations: 0.5087 MB / 332.1 MB, free: 12.59 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.4752, allocations: 38.27 kB / 332.2 MB, free: 12.55 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.396e-05/0.4753, allocations: 104.4 kB / 332.3 MB, free: 12.45 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.4754, allocations: 30.88 kB / 332.3 MB, free: 12.42 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.4755, allocations: 84.53 kB / 332.4 MB, free: 12.37 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.4757, allocations: 329.8 kB / 332.7 MB, free: 12.04 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.4758, allocations: 54.44 kB / 332.8 MB, free: 12.02 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.476, allocations: 71.94 kB / 332.8 MB, free: 11.97 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003762/0.4764, allocations: 344.1 kB / 333.2 MB, free: 11.64 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4764, allocations: 0 / 333.2 MB, free: 11.64 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005452/0.4769, allocations: 379 kB / 333.5 MB, free: 11.3 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.477, allocations: 126.8 kB / 333.7 MB, free: 11.15 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.477, allocations: 0 / 333.7 MB, free: 11.15 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.4771, allocations: 0 / 333.7 MB, free: 11.15 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.236e-05/0.4771, allocations: 4 kB / 333.7 MB, free: 11.14 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.4771, allocations: 4.062 kB / 333.7 MB, free: 11.14 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.4772, allocations: 15.89 kB / 333.7 MB, free: 11.12 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-05/0.4773, allocations: 40.03 kB / 333.7 MB, free: 11.09 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.0003661/0.4777, allocations: 370.1 kB / 334.1 MB, free: 10.69 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.351e-05/0.4777, allocations: 35.62 kB / 334.1 MB, free: 10.65 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.4779, allocations: 67.14 kB / 334.2 MB, free: 10.58 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.4779, allocations: 128 / 334.2 MB, free: 10.58 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.4779, allocations: 8 kB / 334.2 MB, free: 10.57 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4779, allocations: 0 / 334.2 MB, free: 10.57 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.4789, allocations: 0.8017 MB / 335 MB, free: 9.691 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.4789, allocations: 4 kB / 335 MB, free: 9.688 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-06/0.4789, allocations: 0 / 335 MB, free: 9.688 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.479, allocations: 4 kB / 335 MB, free: 9.684 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.479, allocations: 8 kB / 335 MB, free: 9.676 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.479, allocations: 3.938 kB / 335 MB, free: 9.672 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.478e-05/0.479, allocations: 7.922 kB / 335 MB, free: 9.664 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006363/0.4797, allocations: 0.5213 MB / 335.5 MB, free: 9.102 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003183/0.48, allocations: 240.4 kB / 335.8 MB, free: 8.848 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.041e-05/0.4801, allocations: 16 kB / 335.8 MB, free: 8.832 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.4802, allocations: 15.92 kB / 335.8 MB, free: 8.816 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.4803, allocations: 27.91 kB / 335.8 MB, free: 8.789 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.066e-05/0.4804, allocations: 39.94 kB / 335.9 MB, free: 8.75 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0004896/0.4809, allocations: 390.9 kB / 336.2 MB, free: 8.367 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4809, allocations: 0 / 336.2 MB, free: 8.367 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002855/0.4812, allocations: 48 kB / 336.3 MB, free: 8.32 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.0001567/0.4813, allocations: 119 kB / 336.4 MB, free: 8.195 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005591/0.4819, allocations: 437.5 kB / 336.8 MB, free: 7.719 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4819, allocations: 0 / 336.8 MB, free: 7.719 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003523/0.4823, allocations: 377.5 kB / 337.2 MB, free: 7.301 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006529/0.4829, allocations: 122.1 kB / 337.3 MB, free: 7.18 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.4841, allocations: 0.6705 MB / 338 MB, free: 6.484 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004616/0.4846, allocations: 0.795 MB / 338.8 MB, free: 5.66 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.874e-05/0.4847, allocations: 12.66 kB / 338.8 MB, free: 5.641 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.01e-05/0.4847, allocations: 11.44 kB / 338.8 MB, free: 5.633 MB / 270.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4847, allocations: 0 / 338.8 MB, free: 5.633 MB / 270.1 MB Notification: Performance of Templates: time 0.008448/0.4932, allocations: 4.385 MB / 343.2 MB, free: 1.246 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)