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.001336/0.001336, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.00137/0.00137, allocations: 219 kB / 21.46 MB, free: 1.605 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.447/1.447, allocations: 230.6 MB / 254.8 MB, free: 15.24 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.001633/0.001633, allocations: 51.92 kB / 373.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09965/0.1013, allocations: 53.34 MB / 427 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002897/0.1042, allocations: 1.535 MB / 428.6 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00211/0.1063, allocations: 0.8887 MB / 429.4 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.623e-05/0.1064, allocations: 0 / 429.4 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.843e-05/0.1065, allocations: 11.92 kB / 429.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.569e-05/0.1066, allocations: 15.81 kB / 429.5 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.1068, allocations: 55.88 kB / 429.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002369/0.1071, allocations: 131.7 kB / 429.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.305e-05/0.1072, allocations: 15.97 kB / 429.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004969/0.1077, allocations: 395.2 kB / 430.1 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.1078, allocations: 67.77 kB / 430.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.212e-05/0.1078, allocations: 12 kB / 430.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.725e-05/0.1079, allocations: 8 kB / 430.1 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.108, allocations: 75.62 kB / 430.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.1081, allocations: 111.2 kB / 430.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004224/0.1085, allocations: 350.5 kB / 430.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1085, allocations: 7.938 kB / 430.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1085, allocations: 0 / 430.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.1086, allocations: 0 / 430.7 MB, free: 1.145 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.0009778/0.1095, allocations: 0.7305 MB / 431.4 MB, free: 348 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.1096, allocations: 12.03 kB / 431.4 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.941e-05/0.1096, allocations: 4.172 kB / 431.4 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.528e-05/0.1097, allocations: 42.73 kB / 431.5 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.781e-05/0.1097, allocations: 40.7 kB / 431.5 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003627/0.1101, allocations: 278.8 kB / 431.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.1101, allocations: 8.375 kB / 431.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.1102, allocations: 8.375 kB / 431.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/0.1105, allocations: 121.5 kB / 431.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1105, allocations: 0 / 431.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.1105, allocations: 12 kB / 431.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1105, allocations: 0 / 431.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.1107, allocations: 59.91 kB / 432 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007579/0.1114, allocations: 456.5 kB / 432.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.1116, allocations: 70.55 kB / 432.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.1118, allocations: 68.81 kB / 432.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.1118, allocations: 4 kB / 432.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003918/0.1122, allocations: 198.7 kB / 432.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.773e-06/0.1122, allocations: 0 / 432.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.000865/0.1131, allocations: 470.9 kB / 433.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.1132, allocations: 170.1 kB / 433.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006838/0.1139, allocations: 0.5169 MB / 433.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.1139, allocations: 29.7 kB / 433.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.783e-05/0.114, allocations: 109.1 kB / 434 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.32e-05/0.114, allocations: 23.86 kB / 434.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.1141, allocations: 85.5 kB / 434.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.1143, allocations: 326.8 kB / 434.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.1144, allocations: 51.97 kB / 434.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.1146, allocations: 75.66 kB / 434.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003929/0.115, allocations: 347.2 kB / 434.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.115, allocations: 112 / 434.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006143/0.1156, allocations: 372.3 kB / 435.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.1157, allocations: 126.7 kB / 435.4 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1157, allocations: 0 / 435.4 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.1157, allocations: 0 / 435.4 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.353e-05/0.1158, allocations: 4 kB / 435.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1158, allocations: 0 / 435.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.1159, allocations: 19.94 kB / 435.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.889e-05/0.116, allocations: 43.97 kB / 435.5 MB, free: 11.9 MB / 366.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.0003918/0.1164, allocations: 366.2 kB / 435.8 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.634e-05/0.1164, allocations: 35.81 kB / 435.9 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.1165, allocations: 67.14 kB / 435.9 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1165, allocations: 0 / 435.9 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1165, allocations: 0 / 435.9 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.1166, allocations: 0 / 435.9 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.1176, allocations: 0.8208 MB / 436.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1176, allocations: 192 / 436.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.774e-06/0.1176, allocations: 8 kB / 436.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1176, allocations: 0 / 436.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.117e-05/0.1177, allocations: 19.98 kB / 436.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.1177, allocations: 7.922 kB / 436.8 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1177, allocations: 0 / 436.8 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007085/0.1184, allocations: 0.5137 MB / 437.3 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003329/0.1187, allocations: 244.6 kB / 437.5 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.518e-05/0.1188, allocations: 15.98 kB / 437.6 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.1189, allocations: 15.94 kB / 437.6 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-05/0.119, allocations: 27.91 kB / 437.6 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.365e-05/0.1191, allocations: 43.88 kB / 437.7 MB, free: 9.559 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004949/0.1196, allocations: 390.9 kB / 438 MB, free: 9.176 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1196, allocations: 0 / 438 MB, free: 9.176 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002932/0.1198, allocations: 48 kB / 438.1 MB, free: 9.129 MB / 366.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.001096/0.1209, allocations: 1.074 MB / 439.2 MB, free: 8.004 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005427/0.1215, allocations: 377.5 kB / 439.5 MB, free: 7.586 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1215, allocations: 0 / 439.5 MB, free: 7.586 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003073/0.1218, allocations: 297.6 kB / 439.8 MB, free: 7.246 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006436/0.1224, allocations: 132 kB / 439.9 MB, free: 7.129 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/0.1261, allocations: 2.755 MB / 442.7 MB, free: 4.258 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005228/0.1267, allocations: 0.8061 MB / 443.5 MB, free: 3.426 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.154e-05/0.1267, allocations: 4.672 kB / 443.5 MB, free: 3.422 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.079e-05/0.1268, allocations: 27.42 kB / 443.5 MB, free: 3.395 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1268, allocations: 0 / 443.5 MB, free: 3.395 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2141/0.3409, allocations: 5.804 MB / 449.3 MB, free: 24.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.259/8.6, allocations: 11.28 kB / 449.3 MB, free: 24.73 MB / 366.1 MB " [Timeout remaining time 651] (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: 10.968115231953561] Failed to read output from testmodel.py, exit status != 0: ['time', 'bUF3S.y'] 8.727357257972471 8.749591969999999 8.637206464 Calling exit ...