Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.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.001715/0.001715, allocations: 121.6 kB / 18.5 MB, free: 4.578 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.002035/0.002035, allocations: 205 kB / 21.45 MB, free: 1.629 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.51/1.51, allocations: 230.5 MB / 254.8 MB, free: 15.29 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.NXFER,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_NXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_NXFER",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.001924/0.001924, allocations: 63.91 kB / 373.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1111, allocations: 53.32 MB / 427 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002885/0.114, allocations: 1.529 MB / 428.5 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.116, allocations: 0.8771 MB / 429.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.04e-05/0.1161, allocations: 0 / 429.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.638e-05/0.1162, allocations: 11.86 kB / 429.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.44e-05/0.1163, allocations: 19.86 kB / 429.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.1165, allocations: 55.88 kB / 429.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000213/0.1167, allocations: 131.7 kB / 429.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.827e-05/0.1168, allocations: 12.22 kB / 429.6 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006235/0.1175, allocations: 0.5809 MB / 430.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.1176, allocations: 79.67 kB / 430.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.841e-05/0.1176, allocations: 8 kB / 430.3 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.24e-05/0.1177, allocations: 12 kB / 430.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.237e-05/0.1178, allocations: 63.75 kB / 430.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.1179, allocations: 115.1 kB / 430.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003884/0.1183, allocations: 378.4 kB / 430.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1183, allocations: 0 / 430.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1183, allocations: 4 kB / 430.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.1183, allocations: 0 / 430.9 MB, free: 0.9727 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.0008154/0.1191, allocations: 0.7267 MB / 431.6 MB, free: 176 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1192, allocations: 12.03 kB / 431.6 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.37e-05/0.1192, allocations: 38.75 kB / 431.6 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.808e-05/0.1193, allocations: 44.64 kB / 431.7 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.1196, allocations: 274.7 kB / 431.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.1196, allocations: 8.375 kB / 432 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.1196, allocations: 8.375 kB / 432 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003085/0.1199, allocations: 133.7 kB / 432.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.12, allocations: 3.984 kB / 432.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.12, allocations: 8 kB / 432.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.12, allocations: 0 / 432.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.1202, allocations: 59.91 kB / 432.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006752/0.1208, allocations: 464.5 kB / 432.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.121, allocations: 82.42 kB / 432.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.1212, allocations: 64.89 kB / 432.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.1212, allocations: 0 / 432.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003869/0.1215, allocations: 202.7 kB / 433 MB, free: 14.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.263e-06/0.1216, allocations: 0 / 433 MB, free: 14.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008464/0.1224, allocations: 487.6 kB / 433.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.1225, allocations: 166.2 kB / 433.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006472/0.1232, allocations: 0.5169 MB / 434.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/0.1232, allocations: 29.7 kB / 434.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.141e-05/0.1233, allocations: 101.1 kB / 434.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.1233, allocations: 31.83 kB / 434.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.1234, allocations: 81.56 kB / 434.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1236, allocations: 326.8 kB / 434.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.1237, allocations: 55.97 kB / 434.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.1239, allocations: 77.67 kB / 434.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003716/0.1242, allocations: 343.2 kB / 435.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1242, allocations: 0 / 435.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005648/0.1248, allocations: 396.3 kB / 435.5 MB, free: 11.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.1249, allocations: 126.8 kB / 435.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1249, allocations: 3.938 kB / 435.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1249, allocations: 0 / 435.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.15e-05/0.1249, allocations: 4 kB / 435.7 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.1249, allocations: 0 / 435.7 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.1251, allocations: 12.03 kB / 435.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.36e-05/0.1251, allocations: 63.92 kB / 435.7 MB, free: 11.67 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.nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.yy,nXFERGATE.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.0003703/0.1255, allocations: 370.9 kB / 436.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.515e-05/0.1256, allocations: 39.77 kB / 436.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.737e-05/0.1257, allocations: 59.16 kB / 436.2 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1257, allocations: 0 / 436.2 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1257, allocations: 0 / 436.2 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1257, allocations: 0 / 436.2 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.1267, allocations: 0.829 MB / 437 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1267, allocations: 3.938 kB / 437 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.198e-06/0.1267, allocations: 0 / 437 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1267, allocations: 0 / 437 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.1267, allocations: 15.98 kB / 437 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1267, allocations: 0 / 437 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.1267, allocations: 3.938 kB / 437 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006837/0.1274, allocations: 0.5408 MB / 437.6 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003107/0.1277, allocations: 252.6 kB / 437.8 MB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.246e-05/0.1278, allocations: 8 kB / 437.8 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.1279, allocations: 15.92 kB / 437.9 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.128, allocations: 23.92 kB / 437.9 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-05/0.1281, allocations: 63.92 kB / 437.9 MB, free: 9.285 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004768/0.1286, allocations: 386.9 kB / 438.3 MB, free: 8.906 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1286, allocations: 0 / 438.3 MB, free: 8.906 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002819/0.1289, allocations: 40 kB / 438.4 MB, free: 8.867 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,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.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.00104/0.1299, allocations: 1.101 MB / 439.5 MB, free: 7.715 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005275/0.1304, allocations: 381.5 kB / 439.8 MB, free: 7.293 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1304, allocations: 0 / 439.8 MB, free: 7.293 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003044/0.1307, allocations: 301.6 kB / 440.1 MB, free: 6.949 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006114/0.1313, allocations: 117 kB / 440.2 MB, free: 6.848 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003527/0.1349, allocations: 2.768 MB / 443 MB, free: 3.965 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005199/0.1354, allocations: 0.8021 MB / 443.8 MB, free: 3.137 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.817e-05/0.1354, allocations: 8.656 kB / 443.8 MB, free: 3.129 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.589e-05/0.1355, allocations: 27.38 kB / 443.8 MB, free: 3.102 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1355, allocations: 0 / 443.8 MB, free: 3.102 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2417/0.3772, allocations: 6.039 MB / 449.9 MB, free: 24.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.927/8.304, allocations: 2.781 kB / 449.9 MB, free: 24.68 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER_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_NXFER.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.794092728290707] Failed to read output from testmodel.py, exit status != 0: ['time', 'nXFERGATE.y'] 8.371601453982294 8.391938151 8.268997798000001 Calling exit ...