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.001305/0.001305, allocations: 105.1 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.001415/0.001415, allocations: 213.9 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.402/1.402, allocations: 230.6 MB / 258.3 MB, free: 8.074 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.001996/0.001996, allocations: 68.77 kB / 378.5 MB, free: 3.219 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2789, allocations: 53.37 MB / 431.9 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003148/0.2821, allocations: 1.538 MB / 433.5 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002784/0.2849, allocations: 0.8965 MB / 434.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.444e-05/0.285, allocations: 4 kB / 434.4 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.2851, allocations: 7.922 kB / 434.4 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.2852, allocations: 19.8 kB / 434.4 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.2855, allocations: 59.81 kB / 434.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003045/0.2858, allocations: 135.7 kB / 434.6 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.286, allocations: 15.98 kB / 434.6 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007361/0.2867, allocations: 391.3 kB / 435 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.2869, allocations: 75.73 kB / 435 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.176e-05/0.287, allocations: 8 kB / 435 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.266e-05/0.287, allocations: 12 kB / 435.1 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.2871, allocations: 67.64 kB / 435.1 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001678/0.2873, allocations: 111.2 kB / 435.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005819/0.2879, allocations: 359.3 kB / 435.6 MB, free: 3.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2879, allocations: 0 / 435.6 MB, free: 3.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2879, allocations: 0 / 435.6 MB, free: 3.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.2879, allocations: 0 / 435.6 MB, free: 3.273 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.001121/0.289, allocations: 0.6591 MB / 436.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.2891, allocations: 8.031 kB / 436.3 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.596e-05/0.2891, allocations: 42.73 kB / 436.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.45e-05/0.2892, allocations: 40.7 kB / 436.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003946/0.2896, allocations: 216.8 kB / 436.5 MB, free: 2.223 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.2896, allocations: 4.375 kB / 436.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/0.2897, allocations: 8.375 kB / 436.6 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004302/0.2901, allocations: 128.7 kB / 436.7 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.2901, allocations: 0 / 436.7 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.2901, allocations: 8 kB / 436.7 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2902, allocations: 0 / 436.7 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002247/0.2904, allocations: 55.97 kB / 436.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000972/0.2913, allocations: 435.5 kB / 437.2 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002796/0.2916, allocations: 74.53 kB / 437.2 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.2918, allocations: 60.89 kB / 437.3 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.2919, allocations: 7.984 kB / 437.3 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005287/0.2924, allocations: 198.6 kB / 437.5 MB, free: 1.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.914e-06/0.2924, allocations: 0 / 437.5 MB, free: 1.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001264/0.2937, allocations: 460.3 kB / 438 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001757/0.2938, allocations: 174.2 kB / 438.1 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.2949, allocations: 0.5092 MB / 438.6 MB, free: 15.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/0.2949, allocations: 33.64 kB / 438.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.295, allocations: 113 kB / 438.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.617e-05/0.2951, allocations: 19.86 kB / 438.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.2953, allocations: 85.5 kB / 438.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.2955, allocations: 326.8 kB / 439.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.2957, allocations: 59.88 kB / 439.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.2959, allocations: 65.69 kB / 439.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000596/0.2965, allocations: 347.2 kB / 439.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2965, allocations: 3.938 kB / 439.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008887/0.2974, allocations: 367.2 kB / 440 MB, free: 14.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000137/0.2975, allocations: 126.8 kB / 440.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2975, allocations: 0 / 440.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.2975, allocations: 0 / 440.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.736e-05/0.2976, allocations: 3.938 kB / 440.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.2976, allocations: 4 kB / 440.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.2978, allocations: 19.94 kB / 440.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.907e-05/0.2979, allocations: 40.03 kB / 440.2 MB, free: 14.25 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.0005551/0.2984, allocations: 366.2 kB / 440.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.67e-05/0.2985, allocations: 35.81 kB / 440.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00018/0.2987, allocations: 67.09 kB / 440.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.2987, allocations: 0 / 440.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2987, allocations: 0 / 440.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2987, allocations: 0 / 440.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.3003, allocations: 0.7889 MB / 441.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3003, allocations: 4 kB / 441.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.53e-06/0.3003, allocations: 0 / 441.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3003, allocations: 0 / 441.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.13e-05/0.3003, allocations: 15.98 kB / 441.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.3003, allocations: 4.188 kB / 441.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.3003, allocations: 3.938 kB / 441.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.3014, allocations: 0.5253 MB / 442 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006036/0.302, allocations: 197.4 kB / 442.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.271e-05/0.3021, allocations: 8 kB / 442.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.3023, allocations: 19.97 kB / 442.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.3025, allocations: 27.92 kB / 442.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.373e-05/0.3025, allocations: 43.92 kB / 442.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008191/0.3034, allocations: 386.9 kB / 442.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3034, allocations: 0 / 442.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005028/0.3039, allocations: 47.94 kB / 442.7 MB, free: 11.59 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.001436/0.3053, allocations: 1.078 MB / 443.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000676/0.306, allocations: 377.5 kB / 444.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.306, allocations: 0 / 444.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003833/0.3064, allocations: 301.6 kB / 444.5 MB, free: 9.699 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008602/0.3072, allocations: 125.8 kB / 444.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003618/0.3108, allocations: 2.745 MB / 447.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005034/0.3113, allocations: 0.8061 MB / 448.1 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.763e-05/0.3114, allocations: 4.672 kB / 448.1 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.968e-05/0.3114, allocations: 31.42 kB / 448.2 MB, free: 5.867 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3114, allocations: 0 / 448.2 MB, free: 5.867 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03572/0.3472, allocations: 5.857 MB / 454 MB, free: 132 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.178/8.525, allocations: 10.14 kB / 454 MB, free: 128 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_BUF3S_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 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: 10.94932260690257] Failed to read output from testmodel.py, exit status != 0: ['time', 'bUF3S.y'] 8.608226379845291 8.62305991 8.33200972 Calling exit ...