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.0008855/0.0008855, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001237/0.001237, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.825/1.825, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0005748/0.0005748, allocations: 10.81 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4069, allocations: 47.6 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002329/0.4093, allocations: 1.202 MB / 327.7 MB, free: 448 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.4113, allocations: 0.8486 MB / 328.5 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.778e-05/0.4114, allocations: 0 / 328.5 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.982e-05/0.4115, allocations: 7.922 kB / 328.5 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.165e-05/0.4116, allocations: 11.48 kB / 328.6 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.4119, allocations: 50.48 kB / 328.6 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.4121, allocations: 100.2 kB / 328.7 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.4122, allocations: 11.69 kB / 328.7 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005727/0.4128, allocations: 344.1 kB / 329 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.413, allocations: 76.31 kB / 329.1 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/0.413, allocations: 6.812 kB / 329.1 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.598e-05/0.413, allocations: 4.219 kB / 329.1 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.4131, allocations: 56.95 kB / 329.2 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.676e-05/0.4133, allocations: 76.11 kB / 329.3 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003371/0.4136, allocations: 282.5 kB / 329.5 MB, free: 15.23 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.4136, allocations: 0 / 329.5 MB, free: 15.23 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4136, allocations: 0 / 329.5 MB, free: 15.23 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.4136, allocations: 0 / 329.5 MB, free: 15.23 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.0008104/0.4145, allocations: 0.6615 MB / 330.2 MB, free: 14.56 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.4145, allocations: 8.75 kB / 330.2 MB, free: 14.56 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.078e-05/0.4146, allocations: 34.03 kB / 330.2 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.415, allocations: 261.4 kB / 330.5 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.92e-05/0.415, allocations: 16.81 kB / 330.5 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.415, allocations: 10.91 kB / 330.5 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003932/0.4154, allocations: 127 kB / 330.6 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.4155, allocations: 0 / 330.6 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.4155, allocations: 7.391 kB / 330.7 MB, free: 14.18 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.4155, allocations: 0.9375 kB / 330.7 MB, free: 14.18 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.4157, allocations: 56.16 kB / 330.7 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007184/0.4164, allocations: 461.6 kB / 331.2 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.4167, allocations: 94.45 kB / 331.3 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.4169, allocations: 80.55 kB / 331.3 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.4169, allocations: 3.984 kB / 331.3 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003971/0.4173, allocations: 199 kB / 331.5 MB, free: 13.47 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 4.699e-06/0.4173, allocations: 9.078 kB / 331.5 MB, free: 13.46 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009451/0.4183, allocations: 462.2 kB / 332 MB, free: 13.18 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.4184, allocations: 164.7 kB / 332.2 MB, free: 12.98 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007983/0.4192, allocations: 0.5222 MB / 332.7 MB, free: 12.63 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.4192, allocations: 28.89 kB / 332.7 MB, free: 12.6 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.696e-05/0.4193, allocations: 105.3 kB / 332.8 MB, free: 12.5 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.087e-05/0.4194, allocations: 34.69 kB / 332.8 MB, free: 12.47 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.633e-05/0.4194, allocations: 2.938 kB / 332.8 MB, free: 12.47 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4195, allocations: 326.2 kB / 333.2 MB, free: 12.15 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.4197, allocations: 57.28 kB / 333.2 MB, free: 12.12 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.4198, allocations: 70.62 kB / 333.3 MB, free: 12.08 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/0.4201, allocations: 170.3 kB / 333.5 MB, free: 11.92 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.4201, allocations: 1.062 kB / 333.5 MB, free: 11.92 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005756/0.4207, allocations: 369.2 kB / 333.8 MB, free: 11.68 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.4208, allocations: 125.7 kB / 333.9 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.4208, allocations: 1 kB / 333.9 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.4208, allocations: 5 kB / 333.9 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.408e-05/0.4208, allocations: 1.094 kB / 333.9 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.4209, allocations: 9.172 kB / 334 MB, free: 11.53 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.421, allocations: 10.75 kB / 334 MB, free: 11.53 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.539e-05/0.4211, allocations: 40.2 kB / 334 MB, free: 11.52 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,$whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,$PRE.bUF3S.inertialDelaySensitive.x,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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004114/0.4215, allocations: 358.3 kB / 334.4 MB, free: 11.2 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/0.4216, allocations: 39.53 kB / 334.4 MB, free: 11.16 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.4217, allocations: 67.14 kB / 334.5 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4217, allocations: 4 kB / 334.5 MB, free: 11.08 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4217, allocations: 0 / 334.5 MB, free: 11.08 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4217, allocations: 4 kB / 334.5 MB, free: 11.08 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009942/0.4227, allocations: 0.8095 MB / 335.3 MB, free: 10.19 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4227, allocations: 0 / 335.3 MB, free: 10.19 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.779e-06/0.4227, allocations: 0 / 335.3 MB, free: 10.19 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.4228, allocations: 0 / 335.3 MB, free: 10.19 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/0.4228, allocations: 15.98 kB / 335.3 MB, free: 10.17 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4228, allocations: 192 / 335.3 MB, free: 10.17 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.4228, allocations: 4 kB / 335.3 MB, free: 10.17 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006869/0.4235, allocations: 0.5371 MB / 335.8 MB, free: 9.59 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002987/0.4238, allocations: 244.5 kB / 336.1 MB, free: 9.332 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.466e-05/0.4239, allocations: 8 kB / 336.1 MB, free: 9.324 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.424, allocations: 12 kB / 336.1 MB, free: 9.312 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.4241, allocations: 23.97 kB / 336.1 MB, free: 9.289 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-05/0.4242, allocations: 47.92 kB / 336.2 MB, free: 9.242 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0005085/0.4247, allocations: 390.9 kB / 336.5 MB, free: 8.863 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4247, allocations: 0 / 336.5 MB, free: 8.863 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002863/0.425, allocations: 51.86 kB / 336.6 MB, free: 8.812 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 (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.0001825/0.4252, allocations: 111 kB / 336.7 MB, free: 8.695 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005479/0.4258, allocations: 437.5 kB / 337.1 MB, free: 8.219 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4258, allocations: 0 / 337.1 MB, free: 8.219 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003405/0.4261, allocations: 373.6 kB / 337.5 MB, free: 7.805 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006086/0.4267, allocations: 113.4 kB / 337.6 MB, free: 7.691 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.4279, allocations: 0.731 MB / 338.3 MB, free: 6.938 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004534/0.4284, allocations: 0.8064 MB / 339.1 MB, free: 6.105 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.865e-05/0.4285, allocations: 8.656 kB / 339.1 MB, free: 6.09 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.4285, allocations: 11.44 kB / 339.2 MB, free: 6.082 MB / 270.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4285, allocations: 0 / 339.2 MB, free: 6.082 MB / 270.1 MB Notification: Performance of Templates: time 0.00719/0.4357, allocations: 3.754 MB / 342.9 MB, free: 2.324 MB / 270.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)