Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.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.001811/0.001811, allocations: 122.1 kB / 18.46 MB, free: 4.566 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.002084/0.002084, allocations: 215.3 kB / 21.41 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.477/1.477, allocations: 227.7 MB / 251.9 MB, free: 15.88 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-beta.om/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.NRXFER,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 71.81 kB / 365.2 MB, free: 204 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1072, allocations: 50.55 MB / 415.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002814/0.1101, allocations: 1.517 MB / 417.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001949/0.1121, allocations: 0.8732 MB / 418.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.601e-05/0.1121, allocations: 4 kB / 418.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.558e-05/0.1123, allocations: 11.86 kB / 418.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.831e-05/0.1123, allocations: 15.86 kB / 418.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.1126, allocations: 51.88 kB / 418.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.1128, allocations: 139.7 kB / 418.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1129, allocations: 24.22 kB / 418.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006447/0.1136, allocations: 0.5693 MB / 419 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.1138, allocations: 71.7 kB / 419 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.416e-05/0.1138, allocations: 11.94 kB / 419.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.875e-05/0.1139, allocations: 12 kB / 419.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.114, allocations: 59.77 kB / 419.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.1141, allocations: 115.1 kB / 419.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004397/0.1146, allocations: 378.4 kB / 419.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1146, allocations: 4 kB / 419.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1146, allocations: 0 / 419.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.1146, allocations: 0 / 419.6 MB, free: 9.746 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.0008895/0.1155, allocations: 0.7228 MB / 420.3 MB, free: 8.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.1156, allocations: 12.03 kB / 420.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.98e-05/0.1156, allocations: 38.75 kB / 420.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.233e-05/0.1157, allocations: 40.7 kB / 420.4 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.1161, allocations: 278.6 kB / 420.7 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.1161, allocations: 8.375 kB / 420.7 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.1161, allocations: 8.375 kB / 420.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000321/0.1165, allocations: 133.7 kB / 420.8 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.1165, allocations: 4 kB / 420.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.1165, allocations: 8 kB / 420.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1165, allocations: 0 / 420.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.1167, allocations: 59.95 kB / 420.9 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007512/0.1175, allocations: 468.4 kB / 421.4 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.1177, allocations: 98.55 kB / 421.5 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.1179, allocations: 88.88 kB / 421.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.1179, allocations: 112 / 421.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004217/0.1183, allocations: 210.6 kB / 421.8 MB, free: 7.383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.1183, allocations: 0 / 421.8 MB, free: 7.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008765/0.1192, allocations: 476.3 kB / 422.2 MB, free: 6.887 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.1194, allocations: 170.2 kB / 422.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006618/0.12, allocations: 0.5169 MB / 422.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.1201, allocations: 29.7 kB / 422.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.535e-05/0.1202, allocations: 105 kB / 423 MB, free: 6.012 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.593e-05/0.1202, allocations: 23.84 kB / 423.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.1203, allocations: 89.55 kB / 423.1 MB, free: 5.895 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1205, allocations: 326.8 kB / 423.5 MB, free: 5.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.1206, allocations: 55.97 kB / 423.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.1208, allocations: 73.69 kB / 423.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003814/0.1212, allocations: 346.6 kB / 423.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1212, allocations: 0 / 423.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00056/0.1218, allocations: 392.3 kB / 424.3 MB, free: 4.629 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001645/0.1219, allocations: 128.5 kB / 424.4 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1219, allocations: 0 / 424.4 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.122, allocations: 0 / 424.4 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.472e-05/0.122, allocations: 7.875 kB / 424.4 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.122, allocations: 8.031 kB / 424.5 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.1221, allocations: 11.98 kB / 424.5 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.933e-05/0.1222, allocations: 59.94 kB / 424.5 MB, free: 4.395 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.nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.yy,nRXFERGATE.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.0004032/0.1226, allocations: 362.8 kB / 424.9 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/0.1227, allocations: 35.77 kB / 424.9 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.1228, allocations: 67.14 kB / 425 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.1228, allocations: 3.984 kB / 425 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.1228, allocations: 0 / 425 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.1228, allocations: 0 / 425 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.1239, allocations: 0.8252 MB / 425.8 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.1239, allocations: 4.062 kB / 425.8 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.201e-06/0.1239, allocations: 3.984 kB / 425.8 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1239, allocations: 0 / 425.8 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.1239, allocations: 12 kB / 425.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1239, allocations: 0 / 425.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1239, allocations: 3.938 kB / 425.8 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006854/0.1246, allocations: 0.541 MB / 426.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003162/0.125, allocations: 252.6 kB / 426.6 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.831e-05/0.125, allocations: 11.98 kB / 426.6 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.1252, allocations: 12 kB / 426.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.1253, allocations: 27.91 kB / 426.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.86e-05/0.1253, allocations: 59.94 kB / 426.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004876/0.1258, allocations: 390.8 kB / 427.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1258, allocations: 0 / 427.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.1261, allocations: 40 kB / 427.2 MB, free: 1.594 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,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.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.00105/0.1272, allocations: 1.099 MB / 428.2 MB, free: 460 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005631/0.1278, allocations: 433.5 kB / 428.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1278, allocations: 0 / 428.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003575/0.1281, allocations: 377.6 kB / 429 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006174/0.1288, allocations: 130.8 kB / 429.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003539/0.1323, allocations: 2.75 MB / 431.9 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/0.1328, allocations: 0.8021 MB / 432.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.792e-05/0.1329, allocations: 4.672 kB / 432.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.086e-05/0.133, allocations: 31.42 kB / 432.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.133, allocations: 0 / 432.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03116/0.1641, allocations: 6.046 MB / 438.8 MB, free: 5.691 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.874/8.038, allocations: 14.02 kB / 438.8 MB, free: 5.68 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0023933 Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.719043963006698] Failed to read output from testmodel.py, exit status != 0: ['time', 'nRXFERGATE.y'] 8.107877436908893 8.314700012 8.197589766 Calling exit ...