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.001331/0.001331, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001481/0.001481, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.416/1.416, allocations: 230.6 MB / 258.3 MB, free: 8.059 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.001994/0.001994, allocations: 64.77 kB / 378.5 MB, free: 3.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2646, allocations: 53.36 MB / 431.9 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002675/0.2673, allocations: 1.539 MB / 433.4 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.2692, allocations: 0.8926 MB / 434.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.545e-05/0.2692, allocations: 0 / 434.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.607e-05/0.2693, allocations: 11.88 kB / 434.3 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.626e-05/0.2694, allocations: 23.84 kB / 434.4 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.2696, allocations: 51.83 kB / 434.4 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.2698, allocations: 135.7 kB / 434.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.066e-05/0.2699, allocations: 16.22 kB / 434.6 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006322/0.2705, allocations: 0.5771 MB / 435.1 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.2707, allocations: 75.7 kB / 435.2 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.488e-05/0.2707, allocations: 8 kB / 435.2 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.45e-05/0.2707, allocations: 12 kB / 435.2 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.542e-05/0.2708, allocations: 67.69 kB / 435.3 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.271, allocations: 119.2 kB / 435.4 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003958/0.2714, allocations: 371.3 kB / 435.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2714, allocations: 0 / 435.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.456e-06/0.2714, allocations: 3.984 kB / 435.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.2714, allocations: 0 / 435.8 MB, free: 3.016 MB / 334.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.0007869/0.2722, allocations: 0.6475 MB / 436.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.2722, allocations: 8.031 kB / 436.4 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.078e-05/0.2722, allocations: 42.73 kB / 436.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.259e-05/0.2723, allocations: 44.64 kB / 436.5 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.2726, allocations: 220.8 kB / 436.7 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.2726, allocations: 8.375 kB / 436.8 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.079e-05/0.2727, allocations: 8.375 kB / 436.8 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003208/0.273, allocations: 136.5 kB / 436.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.273, allocations: 0 / 436.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.273, allocations: 4 kB / 436.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.273, allocations: 0 / 436.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.2732, allocations: 63.94 kB / 437 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006578/0.2738, allocations: 435.5 kB / 437.4 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.274, allocations: 74.55 kB / 437.5 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.2742, allocations: 60.89 kB / 437.5 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.808e-06/0.2742, allocations: 0 / 437.5 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003607/0.2745, allocations: 210.8 kB / 437.7 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.2745, allocations: 0 / 437.7 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008025/0.2753, allocations: 472.1 kB / 438.2 MB, free: 424 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.2754, allocations: 170.2 kB / 438.4 MB, free: 216 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006976/0.2761, allocations: 0.5091 MB / 438.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.2762, allocations: 29.7 kB / 438.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.198e-05/0.2762, allocations: 109 kB / 439 MB, free: 15.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.2763, allocations: 27.77 kB / 439 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.2764, allocations: 81.55 kB / 439.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.2765, allocations: 326.8 kB / 439.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.2767, allocations: 59.97 kB / 439.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.2768, allocations: 73.69 kB / 439.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003555/0.2772, allocations: 346.2 kB / 439.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.2772, allocations: 3.938 kB / 439.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005472/0.2777, allocations: 388.4 kB / 440.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.728e-05/0.2778, allocations: 122.8 kB / 440.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.2778, allocations: 4 kB / 440.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.2778, allocations: 4.141 kB / 440.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.465e-05/0.2779, allocations: 11.88 kB / 440.4 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.2779, allocations: 4.062 kB / 440.4 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.278, allocations: 11.98 kB / 440.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-05/0.2781, allocations: 59.94 kB / 440.5 MB, free: 13.93 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.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.0003707/0.2784, allocations: 362.4 kB / 440.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.412e-05/0.2785, allocations: 39.77 kB / 440.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.2786, allocations: 63.08 kB / 440.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.2786, allocations: 8 kB / 441 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2786, allocations: 0 / 441 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2786, allocations: 0 / 441 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.2796, allocations: 0.7968 MB / 441.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.2796, allocations: 0 / 441.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.708e-06/0.2796, allocations: 0 / 441.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2796, allocations: 0 / 441.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/0.2797, allocations: 16 kB / 441.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2797, allocations: 0 / 441.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2797, allocations: 3.938 kB / 441.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006487/0.2803, allocations: 0.5332 MB / 442.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003761/0.2807, allocations: 209.3 kB / 442.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.6e-05/0.2808, allocations: 15.98 kB / 442.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.2809, allocations: 8 kB / 442.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.281, allocations: 31.91 kB / 442.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.73e-05/0.2811, allocations: 52 kB / 442.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004801/0.2815, allocations: 394.8 kB / 443 MB, free: 11.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2815, allocations: 4 kB / 443 MB, free: 11.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.2818, allocations: 40 kB / 443 MB, free: 11.23 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,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.001111/0.2829, allocations: 1.092 MB / 444.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005147/0.2834, allocations: 377.5 kB / 444.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2834, allocations: 64 / 444.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003105/0.2838, allocations: 301.6 kB / 444.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005854/0.2843, allocations: 125.3 kB / 444.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00365/0.288, allocations: 2.756 MB / 447.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005016/0.2885, allocations: 0.8061 MB / 448.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.644e-05/0.2886, allocations: 8.656 kB / 448.5 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.02e-05/0.2886, allocations: 31.42 kB / 448.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of SimCode: time 7.42e-07/0.2886, allocations: 0 / 448.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03023/0.3188, allocations: 6.109 MB / 454.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.327/8.646, allocations: 7.625 kB / 454.6 MB, free: 15.38 MB / 366.1 MB " [Timeout remaining time 651] (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: 11.028506170026958] Failed to read output from testmodel.py, exit status != 0: ['time', 'nXFERGATE.y'] 8.718125591054559 8.739845661 8.464353035 Calling exit ...