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.001669/0.001669, allocations: 105.1 kB / 21.22 MB, free: 0.6797 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.002/0.002, allocations: 209.9 kB / 24.54 MB, free: 4.055 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.383/1.383, 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.001871/0.001871, allocations: 68.75 kB / 378.6 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2808, allocations: 53.36 MB / 431.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002896/0.2837, allocations: 1.53 MB / 433.4 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.2856, allocations: 0.8965 MB / 434.3 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.783e-05/0.2857, allocations: 4 kB / 434.3 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.112e-05/0.2857, allocations: 7.875 kB / 434.4 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.29e-05/0.2858, allocations: 15.86 kB / 434.4 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.286, allocations: 59.81 kB / 434.4 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.2863, allocations: 131.7 kB / 434.6 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.853e-05/0.2863, allocations: 16.22 kB / 434.6 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006937/0.287, allocations: 0.5771 MB / 435.1 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.2872, allocations: 79.69 kB / 435.2 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.2872, allocations: 8 kB / 435.2 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.735e-05/0.2872, allocations: 12 kB / 435.2 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.857e-05/0.2873, allocations: 71.69 kB / 435.3 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.2874, allocations: 111.2 kB / 435.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003667/0.2878, allocations: 371.3 kB / 435.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2878, allocations: 0 / 435.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2878, allocations: 0 / 435.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.2878, allocations: 0 / 435.8 MB, free: 3.012 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.0008184/0.2886, allocations: 0.6552 MB / 436.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.2887, allocations: 8.031 kB / 436.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.668e-05/0.2887, allocations: 46.67 kB / 436.5 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.676e-05/0.2888, allocations: 40.7 kB / 436.5 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.2891, allocations: 224.8 kB / 436.8 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.2891, allocations: 4.375 kB / 436.8 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.2891, allocations: 4.375 kB / 436.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.2894, allocations: 129.7 kB / 436.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.2894, allocations: 0 / 436.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.2894, allocations: 8 kB / 436.9 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.2894, allocations: 0 / 436.9 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.2896, allocations: 59.97 kB / 437 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006492/0.2902, allocations: 443.5 kB / 437.4 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.2904, allocations: 74.55 kB / 437.5 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.2905, allocations: 60.89 kB / 437.5 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.2905, allocations: 0 / 437.5 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003836/0.2909, allocations: 210.8 kB / 437.7 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.2909, allocations: 4 kB / 437.7 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009049/0.2918, allocations: 471.4 kB / 438.2 MB, free: 412 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.2919, allocations: 170.2 kB / 438.4 MB, free: 204 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000766/0.2927, allocations: 0.5169 MB / 438.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.2927, allocations: 25.7 kB / 438.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.71e-05/0.2928, allocations: 105.1 kB / 439 MB, free: 15.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.2928, allocations: 23.8 kB / 439 MB, free: 15.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.2929, allocations: 85.55 kB / 439.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.2931, allocations: 330.8 kB / 439.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.2932, allocations: 55.97 kB / 439.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.2933, allocations: 73.69 kB / 439.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004168/0.2938, allocations: 335.3 kB / 439.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2938, 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.0005804/0.2943, allocations: 392.3 kB / 440.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001524/0.2945, allocations: 126.8 kB / 440.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.2945, allocations: 4.141 kB / 440.4 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.2945, allocations: 3.938 kB / 440.4 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.999e-05/0.2945, allocations: 7.984 kB / 440.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2945, allocations: 0 / 440.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.2946, allocations: 11.98 kB / 440.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.691e-05/0.2947, allocations: 59.94 kB / 440.5 MB, free: 13.92 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.0003677/0.2951, allocations: 374.4 kB / 440.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/0.2951, allocations: 35.77 kB / 440.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.2952, allocations: 67.09 kB / 440.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2952, allocations: 0 / 440.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2952, allocations: 3.984 kB / 441 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.2952, allocations: 0 / 441 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.2964, allocations: 0.7891 MB / 441.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2964, allocations: 0 / 441.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.958e-06/0.2964, allocations: 192 / 441.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2964, allocations: 0 / 441.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.2964, allocations: 19.94 kB / 441.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2964, allocations: 0 / 441.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.2964, allocations: 7.938 kB / 441.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006536/0.2971, allocations: 0.5366 MB / 442.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003728/0.2975, allocations: 213.3 kB / 442.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.827e-05/0.2975, allocations: 8 kB / 442.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.2977, allocations: 11.98 kB / 442.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.2978, allocations: 31.91 kB / 442.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.279e-05/0.2978, allocations: 55.98 kB / 442.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005088/0.2983, allocations: 394.9 kB / 443 MB, free: 11.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2983, allocations: 0 / 443 MB, free: 11.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.2986, allocations: 40 kB / 443 MB, free: 11.21 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.00132/0.2999, allocations: 1.089 MB / 444.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005627/0.3005, allocations: 373.5 kB / 444.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3005, allocations: 4.062 kB / 444.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003252/0.3008, allocations: 305.5 kB / 444.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006052/0.3014, allocations: 117 kB / 444.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003831/0.3053, allocations: 2.756 MB / 447.7 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005097/0.3058, allocations: 0.7983 MB / 448.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.696e-05/0.3058, allocations: 12.66 kB / 448.5 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.918e-05/0.3059, allocations: 23.44 kB / 448.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3059, allocations: 0 / 448.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05719/0.3631, allocations: 6.123 MB / 454.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.265/8.628, allocations: 6.875 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_NXFER_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 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.091921220067888] Failed to read output from testmodel.py, exit status != 0: ['time', 'nXFERGATE.y'] 8.70085177430883 8.729021523 8.436256428 Calling exit ...