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.001279/0.001279, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001456/0.001456, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.461/1.461, allocations: 230.4 MB / 254.7 MB, free: 15 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.001875/0.001875, allocations: 71.88 kB / 373.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09892/0.1008, allocations: 53.31 MB / 426.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002684/0.1035, allocations: 1.55 MB / 428.4 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.1054, allocations: 0.8771 MB / 429.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.009e-05/0.1055, allocations: 4 kB / 429.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.417e-05/0.1056, allocations: 15.8 kB / 429.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.328e-05/0.1057, allocations: 19.84 kB / 429.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.1059, allocations: 51.89 kB / 429.4 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.1061, allocations: 135.7 kB / 429.5 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.333e-05/0.1062, allocations: 15.98 kB / 429.5 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004501/0.1067, allocations: 391.3 kB / 429.9 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.1068, allocations: 71.69 kB / 430 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.552e-05/0.1068, allocations: 12 kB / 430 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.527e-05/0.1069, allocations: 8 kB / 430 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.792e-05/0.1069, allocations: 63.77 kB / 430.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.1071, allocations: 115.2 kB / 430.2 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003769/0.1074, allocations: 362.4 kB / 430.5 MB, free: 1.164 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1074, allocations: 0 / 430.5 MB, free: 1.164 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1074, allocations: 0 / 430.5 MB, free: 1.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.1075, allocations: 0 / 430.5 MB, free: 1.164 MB / 350.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.0007874/0.1082, allocations: 0.7344 MB / 431.3 MB, free: 364 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.1083, allocations: 8.031 kB / 431.3 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.736e-05/0.1083, allocations: 42.69 kB / 431.3 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.609e-05/0.1084, allocations: 40.7 kB / 431.4 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1794/0.2878, allocations: 273.6 kB / 431.6 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.947e-05/0.2879, allocations: 6.562 kB / 431.6 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.2879, allocations: 11.56 kB / 431.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003242/0.2882, allocations: 116.5 kB / 431.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.2883, allocations: 1.906 kB / 431.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.2883, allocations: 4.422 kB / 431.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.2883, allocations: 4.656 kB / 431.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.2884, allocations: 57.98 kB / 431.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006792/0.2891, allocations: 457.9 kB / 432.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.2893, allocations: 72.47 kB / 432.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.2894, allocations: 66.42 kB / 432.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.2894, allocations: 1.531 kB / 432.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003387/0.2898, allocations: 208.5 kB / 432.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.804e-06/0.2898, allocations: 0 / 432.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007121/0.2905, allocations: 463.8 kB / 433.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.2905, allocations: 165.7 kB / 433.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005102/0.291, allocations: 0.5173 MB / 433.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.291, allocations: 31.05 kB / 433.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.056e-05/0.2911, allocations: 102.8 kB / 433.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.2911, allocations: 24.53 kB / 433.9 MB, free: 9.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.136e-05/0.2912, allocations: 84.28 kB / 434 MB, free: 9.938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.652e-05/0.2913, allocations: 322.6 kB / 434.3 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.2914, allocations: 60.06 kB / 434.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.2915, allocations: 74.56 kB / 434.4 MB, free: 9.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/0.2917, allocations: 343.7 kB / 434.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2917, allocations: 1.188 kB / 434.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004269/0.2921, allocations: 382.2 kB / 435.1 MB, free: 9.176 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.372e-05/0.2922, allocations: 126.1 kB / 435.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2922, allocations: 4.156 kB / 435.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.2922, allocations: 1.156 kB / 435.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.931e-05/0.2922, allocations: 2.469 kB / 435.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.2922, allocations: 1.094 kB / 435.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.2924, allocations: 15.19 kB / 435.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-05/0.2924, allocations: 39.62 kB / 435.3 MB, free: 9.047 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.0002554/0.2927, allocations: 373.8 kB / 435.7 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.295e-05/0.2927, allocations: 39.2 kB / 435.7 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.463e-05/0.2928, allocations: 65.53 kB / 435.8 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.2928, allocations: 1.188 kB / 435.8 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.2928, allocations: 0.5625 kB / 435.8 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2928, allocations: 0 / 435.8 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007683/0.2936, allocations: 0.806 MB / 436.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2936, allocations: 1.406 kB / 436.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.46e-06/0.2936, allocations: 3.375 kB / 436.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.2936, allocations: 3.781 kB / 436.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.2936, allocations: 14.97 kB / 436.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2936, allocations: 1.344 kB / 436.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2936, allocations: 1.562 kB / 436.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005081/0.2941, allocations: 0.5325 MB / 437.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002681/0.2944, allocations: 241.9 kB / 437.4 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.031e-05/0.2944, allocations: 14.97 kB / 437.4 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.2946, allocations: 7.406 kB / 437.4 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.435e-05/0.2947, allocations: 22.8 kB / 437.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-05/0.2947, allocations: 47.7 kB / 437.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003845/0.2951, allocations: 388 kB / 437.9 MB, free: 7.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2951, allocations: 4.016 kB / 437.9 MB, free: 7.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.2954, allocations: 44.16 kB / 437.9 MB, free: 7.57 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.0007249/0.2961, allocations: 1.078 MB / 439 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004058/0.2965, allocations: 375 kB / 439.4 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2965, allocations: 0 / 439.4 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.2967, allocations: 299.2 kB / 439.7 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006053/0.2973, allocations: 124.5 kB / 439.8 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002833/0.3001, allocations: 2.764 MB / 442.5 MB, free: 4.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.3004, allocations: 0.8021 MB / 443.3 MB, free: 3.438 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.654e-05/0.3005, allocations: 12.39 kB / 443.4 MB, free: 3.434 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.3005, allocations: 30.83 kB / 443.4 MB, free: 3.41 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3005, allocations: 0 / 443.4 MB, free: 3.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03912/0.3397, allocations: 5.798 MB / 449.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.769/8.108, allocations: 1.25 kB / 449.2 MB, free: 2.723 MB / 350.1 MB " [Timeout remaining time 652] (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.40770753286779] Failed to read output from testmodel.py, exit status != 0: ['time', 'bUF3S.y'] 8.173931597266346 8.191092574 8.079739553 Calling exit ...