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.00169/0.00169, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.001875/0.001875, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.566/1.566, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.001952/0.001952, allocations: 75.83 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1102, allocations: 53.32 MB / 427 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002844/0.113, allocations: 1.525 MB / 428.5 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.115, allocations: 0.8848 MB / 429.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.348e-05/0.1151, allocations: 0 / 429.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.722e-05/0.1152, allocations: 3.938 kB / 429.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.855e-05/0.1153, allocations: 27.78 kB / 429.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.1155, allocations: 51.88 kB / 429.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.1158, allocations: 127.8 kB / 429.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1159, allocations: 12.22 kB / 429.6 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006601/0.1165, allocations: 0.5848 MB / 430.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.1167, allocations: 71.75 kB / 430.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.267e-05/0.1167, allocations: 8 kB / 430.3 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.097e-05/0.1167, allocations: 12 kB / 430.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.1169, allocations: 63.7 kB / 430.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.117, allocations: 119.2 kB / 430.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004367/0.1174, allocations: 378.4 kB / 430.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1174, allocations: 0 / 430.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1174, allocations: 0 / 430.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1175, allocations: 0 / 430.9 MB, free: 0.9102 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.0008735/0.1183, allocations: 0.7305 MB / 431.6 MB, free: 108 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.1184, allocations: 12.03 kB / 431.6 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.476e-05/0.1184, allocations: 38.75 kB / 431.6 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.63e-05/0.1185, allocations: 40.7 kB / 431.7 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1793/0.2978, allocations: 271.8 kB / 431.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.251e-05/0.2979, allocations: 6.812 kB / 431.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.2979, allocations: 12.16 kB / 432 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.2982, allocations: 126.9 kB / 432.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.2982, allocations: 2.922 kB / 432.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.2983, allocations: 3.062 kB / 432.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.2983, allocations: 2.422 kB / 432.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.2984, allocations: 64.98 kB / 432.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006425/0.2991, allocations: 461.5 kB / 432.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.2992, allocations: 79.45 kB / 432.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.2994, allocations: 60.81 kB / 432.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.2994, allocations: 6.094 kB / 432.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003243/0.2997, allocations: 206 kB / 433 MB, free: 10.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.763e-06/0.2997, allocations: 0 / 433 MB, free: 10.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007356/0.3004, allocations: 485.3 kB / 433.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.3005, allocations: 169.9 kB / 433.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005174/0.301, allocations: 0.5144 MB / 434.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.301, allocations: 31.86 kB / 434.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.933e-05/0.3011, allocations: 101.9 kB / 434.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.3011, allocations: 35.88 kB / 434.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.3012, allocations: 79.11 kB / 434.3 MB, free: 9.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.52e-05/0.3013, allocations: 325.3 kB / 434.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.3014, allocations: 56.48 kB / 434.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.3015, allocations: 80.69 kB / 434.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.3018, allocations: 344.4 kB / 435.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3018, allocations: 0 / 435.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004514/0.3022, allocations: 395.8 kB / 435.5 MB, free: 9.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.242e-05/0.3023, allocations: 126.3 kB / 435.6 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3023, allocations: 1.344 kB / 435.6 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3023, allocations: 1.5 kB / 435.6 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.88e-05/0.3023, allocations: 3.844 kB / 435.7 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3023, allocations: 5.781 kB / 435.7 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.3024, allocations: 14.05 kB / 435.7 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.147e-05/0.3025, allocations: 52.59 kB / 435.7 MB, free: 9.035 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.0002404/0.3027, allocations: 364.1 kB / 436.1 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.764e-05/0.3028, allocations: 43.73 kB / 436.1 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.168e-05/0.3029, allocations: 61.38 kB / 436.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3029, allocations: 2.344 kB / 436.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3029, allocations: 3.469 kB / 436.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3029, allocations: 0 / 436.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007674/0.3036, allocations: 0.8256 MB / 437 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3036, allocations: 2.188 kB / 437 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.871e-06/0.3037, allocations: 3.359 kB / 437 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3037, allocations: 0.5938 kB / 437 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.3037, allocations: 17.77 kB / 437 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3037, allocations: 3.719 kB / 437 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3037, allocations: 5.188 kB / 437 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005353/0.3042, allocations: 0.5385 MB / 437.6 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002463/0.3045, allocations: 244.2 kB / 437.8 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.066e-05/0.3045, allocations: 11.39 kB / 437.8 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.3046, allocations: 10.06 kB / 437.8 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.001e-05/0.3047, allocations: 30.27 kB / 437.9 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.703e-05/0.3048, allocations: 60.48 kB / 437.9 MB, free: 7.738 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003821/0.3052, allocations: 390.9 kB / 438.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3052, allocations: 0 / 438.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002829/0.3055, allocations: 41.19 kB / 438.4 MB, free: 7.531 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.0007265/0.3062, allocations: 1.097 MB / 439.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003834/0.3066, allocations: 379.1 kB / 439.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3066, allocations: 0 / 439.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.3068, allocations: 300.8 kB / 440.1 MB, free: 6.074 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005811/0.3074, allocations: 120.3 kB / 440.2 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002818/0.3102, allocations: 2.767 MB / 443 MB, free: 4.137 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.3105, allocations: 0.8037 MB / 443.8 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.837e-05/0.3105, allocations: 9.562 kB / 443.8 MB, free: 3.398 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.3106, allocations: 25.92 kB / 443.8 MB, free: 3.379 MB / 350.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3106, allocations: 1.062 kB / 443.8 MB, free: 3.379 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.3397, allocations: 6.065 MB / 449.9 MB, free: 2.527 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.762/8.102, allocations: 2.422 kB / 449.9 MB, free: 2.527 MB / 350.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.744901616126299] Failed to read output from testmodel.py, exit status != 0: ['time', 'nRXFERGATE.y'] 8.169707916676998 8.18252999 8.062250798 Calling exit ...