Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 115.7 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 190.6 kB / 21.43 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.6 MB / 249.8 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 51.92 kB / 366.3 MB, free: 0.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1202, allocations: 52.14 MB / 418.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002664/0.1229, allocations: 1.53 MB / 420 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.1248, allocations: 0.8497 MB / 420.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.245e-05/0.1249, allocations: 0 / 420.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.869e-05/0.125, allocations: 15.86 kB / 420.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.004e-05/0.125, allocations: 23.78 kB / 420.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.1253, allocations: 51.89 kB / 420.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.1255, allocations: 135.7 kB / 421.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.108e-05/0.1256, allocations: 15.98 kB / 421.1 MB, free: 10 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004444/0.126, allocations: 383.3 kB / 421.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.1262, allocations: 75.62 kB / 421.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.524e-05/0.1262, allocations: 12 kB / 421.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.627e-05/0.1262, allocations: 8 kB / 421.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.187e-05/0.1263, allocations: 67.75 kB / 421.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.1264, allocations: 111.2 kB / 421.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003723/0.1268, allocations: 358.4 kB / 422.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1268, allocations: 4 kB / 422.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1268, allocations: 0 / 422.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1268, allocations: 0 / 422.1 MB, free: 9.004 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.0008164/0.1276, allocations: 0.7382 MB / 422.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.1277, allocations: 8.031 kB / 422.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.231e-05/0.1277, allocations: 192 / 422.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.309e-05/0.1277, allocations: 38.75 kB / 422.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.509e-05/0.1278, allocations: 40.7 kB / 422.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.1281, allocations: 282.7 kB / 423.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.1281, allocations: 4.375 kB / 423.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.1281, allocations: 8.375 kB / 423.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003012/0.1284, allocations: 133.5 kB / 423.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1285, allocations: 3.938 kB / 423.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.1285, allocations: 8 kB / 423.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.1285, allocations: 0 / 423.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.1286, allocations: 55.97 kB / 423.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000641/0.1293, allocations: 464.5 kB / 423.9 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.1294, allocations: 74.48 kB / 423.9 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.1296, allocations: 64.89 kB / 424 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.55e-06/0.1296, allocations: 0 / 424 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003544/0.1299, allocations: 202.7 kB / 424.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.1299, allocations: 0 / 424.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008275/0.1308, allocations: 464.1 kB / 424.6 MB, free: 6.207 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.1309, allocations: 162.2 kB / 424.8 MB, free: 6.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000658/0.1315, allocations: 0.5169 MB / 425.3 MB, free: 5.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.1316, allocations: 33.7 kB / 425.4 MB, free: 5.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.314e-05/0.1316, allocations: 97.14 kB / 425.4 MB, free: 5.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.1317, allocations: 31.8 kB / 425.5 MB, free: 5.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.1318, allocations: 77.56 kB / 425.6 MB, free: 5.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.132, allocations: 326.8 kB / 425.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.1321, allocations: 55.91 kB / 425.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.1322, allocations: 83.86 kB / 426 MB, free: 4.762 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000381/0.1326, allocations: 346.8 kB / 426.3 MB, free: 4.371 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1326, allocations: 4 kB / 426.4 MB, free: 4.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005614/0.1332, allocations: 372.3 kB / 426.7 MB, free: 3.973 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.535e-05/0.1333, allocations: 126.8 kB / 426.8 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1333, allocations: 0 / 426.8 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.1333, allocations: 0 / 426.8 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.018e-05/0.1333, allocations: 4 kB / 426.8 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1333, allocations: 0 / 426.8 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.1334, allocations: 16.03 kB / 426.9 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-05/0.1335, allocations: 44.03 kB / 426.9 MB, free: 3.762 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.000377/0.1339, allocations: 370.2 kB / 427.3 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.202e-05/0.1339, allocations: 39.89 kB / 427.3 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.134, allocations: 67.14 kB / 427.4 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.134, allocations: 4 kB / 427.4 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.134, allocations: 3.938 kB / 427.4 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.134, allocations: 0 / 427.4 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000996/0.135, allocations: 0.8017 MB / 428.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.135, allocations: 0 / 428.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.198e-06/0.135, allocations: 0 / 428.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.135, allocations: 0 / 428.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-05/0.1351, allocations: 19.98 kB / 428.2 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1351, allocations: 3.938 kB / 428.2 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1351, allocations: 0 / 428.2 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006671/0.1357, allocations: 0.5253 MB / 428.7 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003085/0.1361, allocations: 252.6 kB / 429 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.066e-05/0.1361, allocations: 12 kB / 429 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.1362, allocations: 15.92 kB / 429 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.246e-05/0.1363, allocations: 19.98 kB / 429 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.769e-05/0.1364, allocations: 39.98 kB / 429.1 MB, free: 1.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004716/0.1369, allocations: 386.9 kB / 429.4 MB, free: 1.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1369, allocations: 0 / 429.4 MB, free: 1.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002966/0.1372, allocations: 48 kB / 429.5 MB, free: 1.008 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.00108/0.1382, allocations: 1.085 MB / 430.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005071/0.1387, allocations: 369.5 kB / 430.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1388, allocations: 0 / 430.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003338/0.1391, allocations: 309.5 kB / 431.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006212/0.1397, allocations: 126 kB / 431.4 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/0.1432, allocations: 2.768 MB / 434.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005186/0.1437, allocations: 0.8061 MB / 434.9 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.012e-05/0.1438, allocations: 8.656 kB / 434.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.538e-05/0.1439, allocations: 27.42 kB / 435 MB, free: 11.25 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1439, allocations: 0 / 435 MB, free: 11.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02309/0.167, allocations: 5.81 MB / 440.8 MB, free: 5.555 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.886/8.053, allocations: 18.64 kB / 440.8 MB, free: 5.539 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_BUF3S_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_BUF3S.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.611341123993043] Failed to read output from testmodel.py, exit status != 0: ['time', 'bUF3S.y'] 8.177669844997581 8.382901322 8.253721044 Calling exit ...