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.001877/0.001877, allocations: 109 kB / 18.49 MB, free: 4.602 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.002517/0.002517, allocations: 216.7 kB / 21.46 MB, free: 1.648 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.515/1.515, allocations: 230.5 MB / 254.7 MB, free: 15.02 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.001896/0.001896, allocations: 59.91 kB / 373.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1136, allocations: 53.38 MB / 427.1 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003105/0.1167, allocations: 1.537 MB / 428.6 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002169/0.1189, allocations: 0.8809 MB / 429.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.84e-05/0.1189, allocations: 0 / 429.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.1191, allocations: 11.92 kB / 429.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.1192, allocations: 19.86 kB / 429.5 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.1194, allocations: 55.81 kB / 429.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002274/0.1197, allocations: 135.7 kB / 429.7 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1198, allocations: 11.98 kB / 429.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004732/0.1202, allocations: 399.2 kB / 430.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.1204, allocations: 63.75 kB / 430.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.884e-05/0.1204, allocations: 12 kB / 430.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.673e-05/0.1205, allocations: 8 kB / 430.2 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.864e-05/0.1206, allocations: 63.77 kB / 430.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.1207, allocations: 119.1 kB / 430.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003852/0.1211, allocations: 354.5 kB / 430.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1211, allocations: 0 / 430.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1211, allocations: 4 kB / 430.7 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.1211, allocations: 0 / 430.7 MB, free: 0.9648 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.0008415/0.1219, allocations: 0.7343 MB / 431.4 MB, free: 160 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.122, allocations: 12.03 kB / 431.5 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.477e-05/0.122, allocations: 4.125 kB / 431.5 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.96e-05/0.122, allocations: 38.75 kB / 431.5 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.176e-05/0.1221, allocations: 48.69 kB / 431.5 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1933/0.3154, allocations: 272.1 kB / 431.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.628e-05/0.3154, allocations: 6.062 kB / 431.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/0.3154, allocations: 12.44 kB / 431.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.3158, allocations: 120.9 kB / 432 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3158, allocations: 2.703 kB / 432 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.3158, allocations: 7.156 kB / 432 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3158, allocations: 1.312 kB / 432 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.316, allocations: 65.89 kB / 432 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006169/0.3166, allocations: 441.8 kB / 432.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.3167, allocations: 74.8 kB / 432.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.3169, allocations: 61.23 kB / 432.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.3169, allocations: 7.188 kB / 432.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003545/0.3173, allocations: 206.8 kB / 432.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.893e-06/0.3173, allocations: 0 / 432.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007386/0.318, allocations: 465.1 kB / 433.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.318, allocations: 168 kB / 433.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005221/0.3186, allocations: 0.5202 MB / 433.9 MB, free: 9.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.3186, allocations: 30.8 kB / 434 MB, free: 9.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.91e-05/0.3186, allocations: 96.2 kB / 434.1 MB, free: 9.805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.154e-05/0.3187, allocations: 37.12 kB / 434.1 MB, free: 9.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.3188, allocations: 83.95 kB / 434.2 MB, free: 9.762 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.364e-05/0.3188, allocations: 323.1 kB / 434.5 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.319, allocations: 57.84 kB / 434.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.3191, allocations: 71.06 kB / 434.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.3193, allocations: 343.5 kB / 435 MB, free: 9.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3193, allocations: 1.969 kB / 435 MB, free: 9.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004653/0.3198, allocations: 382.9 kB / 435.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.201e-05/0.3199, allocations: 130.8 kB / 435.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3199, allocations: 4.125 kB / 435.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3199, allocations: 2.031 kB / 435.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.058e-05/0.3199, allocations: 1.5 kB / 435.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.3199, allocations: 1.531 kB / 435.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.32, allocations: 10.56 kB / 435.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.226e-05/0.3201, allocations: 40.23 kB / 435.5 MB, free: 8.871 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.0002559/0.3204, allocations: 363 kB / 435.9 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.986e-05/0.3204, allocations: 43.83 kB / 435.9 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.468e-05/0.3205, allocations: 65.58 kB / 436 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3205, allocations: 5.031 kB / 436 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3205, allocations: 1.406 kB / 436 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3205, allocations: 0 / 436 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008234/0.3213, allocations: 0.806 MB / 436.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3213, allocations: 0.8906 kB / 436.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-06/0.3213, allocations: 1.094 kB / 436.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3213, allocations: 0 / 436.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.3214, allocations: 14.3 kB / 436.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.3214, allocations: 3.844 kB / 436.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.3214, allocations: 3.188 kB / 436.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000554/0.3219, allocations: 0.5327 MB / 437.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000246/0.3222, allocations: 242.7 kB / 437.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.339e-05/0.3222, allocations: 12.03 kB / 437.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.3224, allocations: 10.3 kB / 437.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.3225, allocations: 28.14 kB / 437.6 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.931e-05/0.3225, allocations: 45.95 kB / 437.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003974/0.3229, allocations: 389.2 kB / 438.1 MB, free: 7.375 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3229, allocations: 0 / 438.1 MB, free: 7.375 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002889/0.3232, allocations: 45.19 kB / 438.1 MB, free: 7.371 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.000774/0.324, allocations: 1.084 MB / 439.2 MB, free: 6.492 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000419/0.3244, allocations: 373 kB / 439.6 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3244, allocations: 0 / 439.6 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.3246, allocations: 303.4 kB / 439.8 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006465/0.3252, allocations: 120.3 kB / 440 MB, free: 5.895 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00302/0.3283, allocations: 2.762 MB / 442.7 MB, free: 3.977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.3285, allocations: 0.8079 MB / 443.5 MB, free: 3.238 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.627e-05/0.3286, allocations: 5.703 kB / 443.5 MB, free: 3.238 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.537e-05/0.3286, allocations: 26.94 kB / 443.6 MB, free: 3.219 MB / 350.1 MB Notification: Performance of SimCode: time 6.42e-07/0.3286, allocations: 0 / 443.6 MB, free: 3.219 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.3518, allocations: 5.824 MB / 449.4 MB, free: 2.457 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.159/8.511, allocations: 4.594 kB / 449.4 MB, free: 2.457 MB / 350.1 MB " [Timeout remaining time 651] (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: 10.989725671999622] Failed to read output from testmodel.py, exit status != 0: ['time', 'bUF3S.y'] 8.636285462009255 8.656560594 8.531574329 Calling exit ...