Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001302/0.001302, allocations: 111.5 kB / 21.22 MB, free: 0.6484 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.001352/0.001352, allocations: 209.2 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 230.5 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 63.89 kB / 378.5 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2788, allocations: 53.4 MB / 431.9 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003223/0.2821, allocations: 1.499 MB / 433.4 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002119/0.2842, allocations: 0.8303 MB / 434.2 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.535e-05/0.2842, allocations: 3.938 kB / 434.2 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.253e-05/0.2843, allocations: 15.92 kB / 434.2 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.417e-05/0.2844, allocations: 23.84 kB / 434.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.2847, allocations: 55.83 kB / 434.3 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000226/0.2849, allocations: 135.7 kB / 434.5 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.285, allocations: 14.09 kB / 434.5 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004677/0.2855, allocations: 391.3 kB / 434.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.2856, allocations: 71.69 kB / 434.9 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.492e-05/0.2857, allocations: 12 kB / 434.9 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.29e-05/0.2857, allocations: 8 kB / 434.9 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.322e-05/0.2858, allocations: 63.75 kB / 435 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.2859, allocations: 91.3 kB / 435.1 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004022/0.2863, allocations: 354.5 kB / 435.4 MB, free: 2.918 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2863, allocations: 4 kB / 435.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2863, allocations: 0 / 435.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.2863, allocations: 0 / 435.4 MB, free: 2.914 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.0008006/0.2871, allocations: 0.6551 MB / 436.1 MB, free: 2.203 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.2872, allocations: 12.03 kB / 436.1 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.612e-05/0.2872, allocations: 192 / 436.1 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.446e-05/0.2872, allocations: 42.73 kB / 436.2 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.564e-05/0.2873, allocations: 40.7 kB / 436.2 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.2876, allocations: 216.8 kB / 436.4 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.2876, allocations: 8.375 kB / 436.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.869e-05/0.2877, allocations: 12.38 kB / 436.4 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003813/0.288, allocations: 244.3 kB / 436.7 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.288, allocations: 0 / 436.7 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.2881, allocations: 4 kB / 436.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2881, allocations: 0 / 436.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002165/0.2883, allocations: 174.8 kB / 436.8 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006477/0.2889, allocations: 415.5 kB / 437.2 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/0.2892, allocations: 193.3 kB / 437.4 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.2894, allocations: 187.7 kB / 437.6 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.2894, allocations: 0 / 437.6 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004631/0.2899, allocations: 320.8 kB / 437.9 MB, free: 136 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.2899, allocations: 0 / 437.9 MB, free: 136 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009904/0.2909, allocations: 0.6932 MB / 438.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.291, allocations: 170.2 kB / 438.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006771/0.2917, allocations: 0.5168 MB / 439.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.2917, allocations: 29.7 kB / 439.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.025e-05/0.2918, allocations: 101.1 kB / 439.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.2918, allocations: 23.8 kB / 439.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.292, allocations: 93.5 kB / 439.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.2921, allocations: 326.8 kB / 439.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.2923, allocations: 170.8 kB / 440 MB, free: 13.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.2926, allocations: 195.7 kB / 440.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.2929, allocations: 350.4 kB / 440.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.2929, allocations: 3.938 kB / 440.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006522/0.2936, allocations: 495.2 kB / 441.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.2937, allocations: 126.8 kB / 441.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2937, allocations: 0 / 441.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.2937, allocations: 4.031 kB / 441.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.321e-05/0.2937, allocations: 4 kB / 441.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.2937, allocations: 4.109 kB / 441.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.2939, allocations: 19.89 kB / 441.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.259e-05/0.2939, allocations: 39.94 kB / 441.2 MB, free: 12.48 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.0003897/0.2943, allocations: 370.3 kB / 441.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-05/0.2944, allocations: 35.88 kB / 441.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.2945, allocations: 71.03 kB / 441.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2945, allocations: 0 / 441.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2945, allocations: 0 / 441.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2945, allocations: 4 kB / 441.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.2956, allocations: 0.8856 MB / 442.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2956, allocations: 0 / 442.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.997e-06/0.2956, allocations: 3.938 kB / 442.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2956, allocations: 0 / 442.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.2957, allocations: 11.98 kB / 442.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.2957, allocations: 7.938 kB / 442.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2957, allocations: 0 / 442.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007628/0.2964, allocations: 0.6375 MB / 443.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003639/0.2968, allocations: 205.4 kB / 443.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.614e-05/0.2969, allocations: 16 kB / 443.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.297, allocations: 11.94 kB / 443.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.2971, allocations: 19.97 kB / 443.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-05/0.2972, allocations: 47.92 kB / 443.6 MB, free: 9.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005013/0.2977, allocations: 382.9 kB / 443.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2977, allocations: 0 / 443.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002909/0.298, allocations: 44 kB / 444 MB, free: 9.547 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.001199/0.2992, allocations: 1.209 MB / 445.2 MB, free: 8.266 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007238/0.2999, allocations: 0.6164 MB / 445.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2999, allocations: 8 kB / 445.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004046/0.3003, allocations: 420.4 kB / 446.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006575/0.3009, allocations: 130.8 kB / 446.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004082/0.305, allocations: 3.34 MB / 449.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.3053, allocations: 197.6 kB / 449.9 MB, free: 3.152 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.797e-05/0.3054, allocations: 8.656 kB / 449.9 MB, free: 3.145 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.852e-05/0.3054, allocations: 39.36 kB / 449.9 MB, free: 3.105 MB / 350.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3054, allocations: 0 / 449.9 MB, free: 3.105 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02956/0.335, allocations: 6.397 MB / 456.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.52, allocations: 6.562 kB / 456.3 MB, free: 12.84 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_BUF3S_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_BUF3S.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.881430457928218] Failed to read output from testmodel.py, exit status != 0: ['time', 'bUF3S.y'] 11.675269188941456 11.6890479 11.399675325 Calling exit ...