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.001443/0.001443, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001408/0.001408, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.383/1.383, allocations: 230.6 MB / 258.3 MB, free: 7.762 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.001499/0.001499, allocations: 55.92 kB / 378.5 MB, free: 3.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2719, allocations: 53.36 MB / 431.9 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002907/0.2748, allocations: 1.487 MB / 433.3 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002105/0.2769, allocations: 0.8381 MB / 434.2 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.454e-05/0.277, allocations: 7.938 kB / 434.2 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.544e-05/0.2771, allocations: 7.922 kB / 434.2 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.567e-05/0.2772, allocations: 15.86 kB / 434.2 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.2774, allocations: 59.81 kB / 434.3 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002639/0.2777, allocations: 131.8 kB / 434.4 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.2778, allocations: 19.97 kB / 434.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004809/0.2783, allocations: 391.2 kB / 434.8 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.2784, allocations: 71.77 kB / 434.9 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.236e-05/0.2785, allocations: 8 kB / 434.9 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.492e-05/0.2785, allocations: 12 kB / 434.9 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.984e-05/0.2786, allocations: 63.7 kB / 435 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.2787, allocations: 83.34 kB / 435 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004007/0.2791, allocations: 359.4 kB / 435.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2791, allocations: 0 / 435.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2791, allocations: 0 / 435.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.2791, allocations: 0 / 435.4 MB, free: 3.121 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.0008033/0.2799, allocations: 0.659 MB / 436 MB, free: 2.406 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.28, allocations: 8.031 kB / 436.1 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.851e-05/0.28, allocations: 8.188 kB / 436.1 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.278e-05/0.28, allocations: 42.73 kB / 436.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.245e-05/0.2801, allocations: 40.64 kB / 436.1 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.2804, allocations: 220.8 kB / 436.4 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.2804, allocations: 4.375 kB / 436.4 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.2805, allocations: 12.38 kB / 436.4 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000426/0.2809, allocations: 244.3 kB / 436.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.2809, allocations: 0 / 436.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.2809, allocations: 4 kB / 436.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.2809, allocations: 0 / 436.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002185/0.2812, allocations: 182.8 kB / 436.8 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000774/0.2819, allocations: 411.6 kB / 437.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.2822, allocations: 189.3 kB / 437.4 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.2824, allocations: 179.7 kB / 437.6 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.2824, allocations: 0 / 437.6 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004664/0.2829, allocations: 321.4 kB / 437.9 MB, free: 344 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.2829, allocations: 0 / 437.9 MB, free: 344 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001008/0.2839, allocations: 0.6971 MB / 438.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.284, allocations: 162.2 kB / 438.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007297/0.2848, allocations: 0.5169 MB / 439.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.2848, allocations: 33.69 kB / 439.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.499e-05/0.2849, allocations: 105 kB / 439.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.2849, allocations: 31.78 kB / 439.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.2851, allocations: 77.52 kB / 439.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002288/0.2853, allocations: 326.8 kB / 439.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.2855, allocations: 178.8 kB / 440 MB, free: 14.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.2858, allocations: 188.5 kB / 440.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004775/0.2862, allocations: 354.5 kB / 440.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.2862, allocations: 8 kB / 440.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000661/0.2869, allocations: 499.2 kB / 441 MB, free: 12.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.287, allocations: 126.8 kB / 441.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.287, allocations: 0 / 441.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.287, allocations: 4 kB / 441.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.931e-05/0.287, allocations: 0 / 441.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.287, allocations: 0 / 441.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.2872, allocations: 19.88 kB / 441.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.265e-05/0.2872, allocations: 43.94 kB / 441.2 MB, free: 12.67 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.0003736/0.2876, allocations: 358.3 kB / 441.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.098e-05/0.2877, allocations: 39.84 kB / 441.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.2878, allocations: 67.08 kB / 441.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2878, allocations: 0 / 441.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2878, allocations: 0 / 441.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2878, allocations: 4 kB / 441.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.289, allocations: 0.8894 MB / 442.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.289, allocations: 0 / 442.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.939e-06/0.289, allocations: 7.938 kB / 442.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.289, allocations: 0 / 442.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.289, allocations: 8 kB / 442.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.289, allocations: 7.938 kB / 442.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.289, allocations: 0 / 442.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008793/0.2899, allocations: 0.6453 MB / 443.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000421/0.2903, allocations: 201.4 kB / 443.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.966e-05/0.2904, allocations: 15.98 kB / 443.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.2905, allocations: 11.94 kB / 443.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.2906, allocations: 23.97 kB / 443.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.783e-05/0.2907, allocations: 47.88 kB / 443.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004835/0.2912, allocations: 386.9 kB / 443.9 MB, free: 9.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2912, allocations: 0 / 443.9 MB, free: 9.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002838/0.2914, allocations: 40 kB / 443.9 MB, free: 9.746 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.001264/0.2927, allocations: 1.216 MB / 445.1 MB, free: 8.457 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007751/0.2935, allocations: 0.6046 MB / 445.7 MB, free: 7.754 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.2935, allocations: 7.938 kB / 445.8 MB, free: 7.746 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004341/0.2939, allocations: 420.4 kB / 446.2 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006314/0.2946, allocations: 125.8 kB / 446.3 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004314/0.2989, allocations: 3.348 MB / 449.6 MB, free: 3.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.2992, allocations: 202.4 kB / 449.8 MB, free: 3.352 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.325e-05/0.2992, allocations: 8.656 kB / 449.8 MB, free: 3.344 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.2993, allocations: 27.38 kB / 449.9 MB, free: 3.316 MB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.2993, allocations: 0 / 449.9 MB, free: 3.316 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03003/0.3293, allocations: 6.415 MB / 456.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.38, allocations: 11.5 kB / 456.3 MB, free: 13.09 MB / 366.1 MB " [Timeout remaining time 648] (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.669888751930557] Failed to read output from testmodel.py, exit status != 0: ['time', 'bUF3S.y'] 11.542356324964203 11.558153558 11.275995041 Calling exit ...