Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.415/1.415, allocations: 230.6 MB / 258.3 MB, free: 8.043 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 47.92 kB / 378.6 MB, free: 3.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2868, allocations: 53.36 MB / 431.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002787/0.2896, allocations: 1.553 MB / 433.5 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.2917, allocations: 0.8887 MB / 434.4 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.375e-05/0.2917, allocations: 4 kB / 434.4 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.929e-05/0.2918, allocations: 15.86 kB / 434.4 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.452e-05/0.2919, allocations: 15.86 kB / 434.4 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.2922, allocations: 55.88 kB / 434.4 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002369/0.2924, allocations: 135.7 kB / 434.6 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.2925, allocations: 11.98 kB / 434.6 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00049/0.293, allocations: 395.2 kB / 435 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.2932, allocations: 71.73 kB / 435 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.533e-05/0.2932, allocations: 12 kB / 435.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.744e-05/0.2932, allocations: 12 kB / 435.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.2933, allocations: 67.7 kB / 435.1 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.2935, allocations: 115.1 kB / 435.2 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004104/0.2939, allocations: 354.9 kB / 435.6 MB, free: 3.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2939, allocations: 0 / 435.6 MB, free: 3.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2939, allocations: 0 / 435.6 MB, free: 3.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.2939, allocations: 0 / 435.6 MB, free: 3.215 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.0007746/0.2947, allocations: 0.658 MB / 436.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.2947, allocations: 8.031 kB / 436.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.466e-05/0.2947, allocations: 4.188 kB / 436.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.725e-05/0.2948, allocations: 42.73 kB / 436.3 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.486e-05/0.2948, allocations: 40.7 kB / 436.3 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.2951, allocations: 212.9 kB / 436.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.2951, allocations: 4.375 kB / 436.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/0.2952, allocations: 16.31 kB / 436.6 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/0.2955, allocations: 121.5 kB / 436.7 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.2955, allocations: 0 / 436.7 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.2955, allocations: 7.938 kB / 436.7 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.2955, allocations: 4 kB / 436.7 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.2956, allocations: 59.97 kB / 436.8 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006532/0.2963, allocations: 427.5 kB / 437.2 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.2965, allocations: 74.53 kB / 437.3 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.2966, allocations: 60.89 kB / 437.3 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.2966, allocations: 0 / 437.3 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003871/0.297, allocations: 198.7 kB / 437.5 MB, free: 1.129 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.297, allocations: 0 / 437.5 MB, free: 1.129 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008083/0.2978, allocations: 468.2 kB / 438 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.2979, allocations: 170.3 kB / 438.1 MB, free: 448 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006619/0.2986, allocations: 0.5168 MB / 438.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.2986, allocations: 33.7 kB / 438.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.225e-05/0.2987, allocations: 101.1 kB / 438.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/0.2987, allocations: 23.8 kB / 438.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.2989, allocations: 89.5 kB / 438.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.299, allocations: 330.8 kB / 439.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.2991, allocations: 51.97 kB / 439.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.2993, allocations: 73.67 kB / 439.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003474/0.2996, allocations: 337.5 kB / 439.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2996, allocations: 0 / 439.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005349/0.3001, allocations: 372.3 kB / 440 MB, free: 14.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.3002, allocations: 130.8 kB / 440.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3003, allocations: 0 / 440.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3003, allocations: 0 / 440.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.08e-05/0.3003, allocations: 4 kB / 440.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.351e-06/0.3003, allocations: 0 / 440.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.3004, allocations: 15.94 kB / 440.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.22e-05/0.3005, allocations: 44.05 kB / 440.2 MB, free: 14.2 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.0003789/0.3009, allocations: 370.3 kB / 440.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.251e-05/0.3009, allocations: 35.81 kB / 440.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.301, allocations: 67.08 kB / 440.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.301, allocations: 0 / 440.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.301, allocations: 0 / 440.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.301, allocations: 0 / 440.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.302, allocations: 0.7851 MB / 441.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.302, allocations: 0 / 441.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.979e-06/0.302, allocations: 0 / 441.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.302, allocations: 0 / 441.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/0.3021, allocations: 19.98 kB / 441.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3021, allocations: 3.938 kB / 441.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3021, allocations: 0 / 441.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006791/0.3028, allocations: 0.5366 MB / 442 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003641/0.3031, allocations: 197.4 kB / 442.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.482e-05/0.3032, allocations: 12 kB / 442.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.3033, allocations: 15.92 kB / 442.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.3034, allocations: 23.97 kB / 442.3 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-05/0.3035, allocations: 51.92 kB / 442.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004828/0.304, allocations: 386.9 kB / 442.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.304, allocations: 0 / 442.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002897/0.3043, allocations: 40 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.001047/0.3053, allocations: 1.093 MB / 443.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000517/0.3058, allocations: 365.5 kB / 444.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3058, allocations: 0 / 444.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003184/0.3061, allocations: 305.8 kB / 444.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006401/0.3068, allocations: 118.6 kB / 444.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003733/0.3105, allocations: 2.743 MB / 447.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005525/0.3111, allocations: 0.8067 MB / 448.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.795e-05/0.3111, allocations: 12.64 kB / 448.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.23e-05/0.3112, allocations: 31.42 kB / 448.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3112, allocations: 0 / 448.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02845/0.3396, allocations: 5.983 MB / 454.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.33, allocations: 9.734 kB / 454.2 MB, free: 15.98 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Digital_Examples_BUF3S_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Digital_Examples_BUF3S.fmu > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.663376685988624] Failed to read output from testmodel.py, exit status != 0: ['time', 'bUF3S.y'] 11.491156924981624 11.505513295 11.208579304 Calling exit ...