Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001777/0.001777, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002404/0.002404, allocations: 212.6 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.547/1.547, allocations: 230.6 MB / 258.3 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 68.75 kB / 378.5 MB, free: 3.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.304, allocations: 53.37 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002909/0.3069, allocations: 1.534 MB / 433.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.3091, allocations: 0.8926 MB / 434.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.199e-05/0.3092, allocations: 0 / 434.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.903e-05/0.3093, allocations: 15.86 kB / 434.4 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.693e-05/0.3093, allocations: 19.84 kB / 434.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.3096, allocations: 51.89 kB / 434.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002351/0.3099, allocations: 135.7 kB / 434.6 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.31, allocations: 15.97 kB / 434.6 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005039/0.3105, allocations: 395.2 kB / 435 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.3106, allocations: 67.77 kB / 435 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.3107, allocations: 12 kB / 435 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.696e-05/0.3107, allocations: 11.94 kB / 435.1 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.3108, allocations: 67.75 kB / 435.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.3109, allocations: 119.1 kB / 435.2 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004121/0.3113, allocations: 351.4 kB / 435.6 MB, free: 3.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3113, allocations: 0 / 435.6 MB, free: 3.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3113, allocations: 3.938 kB / 435.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.3113, allocations: 0 / 435.6 MB, free: 3.227 MB / 334.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.0008167/0.3122, allocations: 0.659 MB / 436.2 MB, free: 2.512 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.3122, allocations: 12.03 kB / 436.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.349e-05/0.3123, allocations: 38.75 kB / 436.3 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.159e-05/0.3123, allocations: 44.7 kB / 436.3 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.3127, allocations: 212.9 kB / 436.5 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.3127, allocations: 4.375 kB / 436.5 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.3127, allocations: 12.38 kB / 436.6 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000321/0.313, allocations: 128.9 kB / 436.7 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.313, allocations: 0 / 436.7 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.3131, allocations: 4 kB / 436.7 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3131, allocations: 0 / 436.7 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.3132, allocations: 63.95 kB / 436.8 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007157/0.3139, allocations: 435.5 kB / 437.2 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.3141, allocations: 70.55 kB / 437.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.3142, allocations: 60.89 kB / 437.3 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.3143, allocations: 0 / 437.3 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004195/0.3147, allocations: 202.7 kB / 437.5 MB, free: 1.133 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.3147, allocations: 0 / 437.5 MB, free: 1.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009008/0.3156, allocations: 472.3 kB / 438 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001498/0.3157, allocations: 170.1 kB / 438.1 MB, free: 448 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008036/0.3165, allocations: 0.5091 MB / 438.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.089e-05/0.3166, allocations: 33.7 kB / 438.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.333e-05/0.3167, allocations: 101.1 kB / 438.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.672e-05/0.3167, allocations: 27.8 kB / 438.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.3168, allocations: 89.5 kB / 438.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.317, allocations: 318.8 kB / 439.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.3172, allocations: 59.97 kB / 439.3 MB, free: 15.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.3173, allocations: 74.8 kB / 439.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003943/0.3177, allocations: 335.3 kB / 439.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3177, allocations: 0 / 439.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005578/0.3183, allocations: 374.9 kB / 440 MB, free: 14.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.3184, allocations: 122.8 kB / 440.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.3184, allocations: 7.984 kB / 440.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.3184, allocations: 0 / 440.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.199e-05/0.3184, allocations: 0 / 440.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3184, allocations: 0 / 440.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.3186, allocations: 11.95 kB / 440.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.86e-05/0.3186, allocations: 43.98 kB / 440.2 MB, free: 14.21 MB / 350.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.000422/0.319, allocations: 370.2 kB / 440.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.383e-05/0.3191, allocations: 35.81 kB / 440.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.3192, allocations: 71.02 kB / 440.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3192, allocations: 0 / 440.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3192, allocations: 4 kB / 440.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.3192, allocations: 0 / 440.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.3204, allocations: 0.7852 MB / 441.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.3204, allocations: 8.062 kB / 441.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.989e-06/0.3204, allocations: 0 / 441.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3204, allocations: 0 / 441.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.3204, allocations: 15.98 kB / 441.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3204, allocations: 0 / 441.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.3204, allocations: 7.875 kB / 441.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007038/0.3211, allocations: 0.5253 MB / 442 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003765/0.3215, allocations: 197.4 kB / 442.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.531e-05/0.3215, allocations: 12 kB / 442.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.3217, allocations: 8 kB / 442.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.3218, allocations: 35.91 kB / 442.3 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.23e-05/0.3219, allocations: 43.92 kB / 442.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005481/0.3224, allocations: 386.9 kB / 442.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3224, allocations: 0 / 442.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003226/0.3227, allocations: 44 kB / 442.7 MB, free: 11.54 MB / 350.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.001128/0.3239, allocations: 1.086 MB / 443.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005836/0.3244, allocations: 373.5 kB / 444.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3245, allocations: 0 / 444.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003524/0.3248, allocations: 305.5 kB / 444.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006149/0.3254, allocations: 123.2 kB / 444.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003796/0.3292, allocations: 2.744 MB / 447.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000576/0.3298, allocations: 0.8022 MB / 448.1 MB, free: 5.859 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.162e-05/0.3299, allocations: 8.656 kB / 448.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.699e-05/0.3299, allocations: 27.42 kB / 448.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3299, allocations: 0 / 448.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03418/0.3641, allocations: 5.86 MB / 454 MB, free: 88 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.176/8.541, allocations: 3.938 kB / 454 MB, free: 84 kB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0023933 Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_BUF3S.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.082029114011675] Failed to read output from testmodel.py, exit status != 0: ['time', 'bUF3S.y'] 8.61068859277293 8.625588911 8.311054004 Calling exit ...