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.001237/0.001237, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001333/0.001333, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.473/1.473, allocations: 230.5 MB / 254.7 MB, free: 14.98 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.001933/0.001933, allocations: 71.88 kB / 373.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1073, allocations: 53.31 MB / 426.9 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002738/0.11, allocations: 1.52 MB / 428.4 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.112, allocations: 0.8965 MB / 429.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.937e-05/0.112, allocations: 0 / 429.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.646e-05/0.1121, allocations: 7.922 kB / 429.3 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.31e-05/0.1122, allocations: 15.86 kB / 429.3 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.1124, allocations: 51.88 kB / 429.4 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.1126, allocations: 127.7 kB / 429.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.652e-05/0.1127, allocations: 12.23 kB / 429.5 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006388/0.1134, allocations: 0.581 MB / 430.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.1135, allocations: 75.69 kB / 430.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.011e-05/0.1136, allocations: 12 kB / 430.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.172e-05/0.1136, allocations: 8 kB / 430.2 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.809e-05/0.1137, allocations: 67.75 kB / 430.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.1138, allocations: 119.1 kB / 430.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000387/0.1142, allocations: 374.4 kB / 430.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1142, allocations: 0 / 430.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1142, allocations: 4 kB / 430.7 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.1142, allocations: 0 / 430.7 MB, free: 0.9414 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.0008058/0.115, allocations: 0.7228 MB / 431.5 MB, free: 148 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.1151, allocations: 12.03 kB / 431.5 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.911e-05/0.1151, allocations: 46.69 kB / 431.5 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.247e-05/0.1152, allocations: 36.7 kB / 431.6 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.196/0.3112, allocations: 271.2 kB / 431.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.053e-05/0.3112, allocations: 7.969 kB / 431.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/0.3112, allocations: 6.969 kB / 431.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/0.3116, allocations: 126.3 kB / 432 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3116, allocations: 0 / 432 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.3116, allocations: 9.109 kB / 432 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.3116, allocations: 0.75 kB / 432 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.3118, allocations: 63.61 kB / 432 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007703/0.3126, allocations: 467.5 kB / 432.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.3128, allocations: 85.69 kB / 432.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.3129, allocations: 61.86 kB / 432.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.3129, allocations: 4.531 kB / 432.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003704/0.3133, allocations: 203.4 kB / 432.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.943e-06/0.3133, allocations: 0 / 432.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007866/0.3141, allocations: 483.4 kB / 433.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.3141, allocations: 167.6 kB / 433.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005407/0.3147, allocations: 0.5152 MB / 434 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.3147, allocations: 32.2 kB / 434 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.465e-05/0.3147, allocations: 100.7 kB / 434.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.3148, allocations: 34.12 kB / 434.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.3149, allocations: 85.19 kB / 434.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.423e-05/0.3149, allocations: 324.8 kB / 434.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.3151, allocations: 56.25 kB / 434.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.3152, allocations: 73.69 kB / 434.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.3154, allocations: 347.2 kB / 435 MB, free: 9.328 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3154, allocations: 2.375 kB / 435 MB, free: 9.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004581/0.3159, allocations: 395.2 kB / 435.4 MB, free: 9.156 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.828e-05/0.3159, allocations: 129.7 kB / 435.5 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3159, allocations: 1.125 kB / 435.5 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.316, allocations: 0 / 435.5 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.994e-05/0.316, allocations: 2.062 kB / 435.5 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.316, allocations: 0 / 435.5 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.3161, allocations: 10.58 kB / 435.5 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.471e-05/0.3162, allocations: 57.98 kB / 435.6 MB, free: 9.031 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.00027/0.3165, allocations: 367.7 kB / 436 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.187e-05/0.3165, allocations: 42.36 kB / 436 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.36e-05/0.3166, allocations: 65.33 kB / 436.1 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3166, allocations: 0 / 436.1 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3166, allocations: 1.125 kB / 436.1 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.3166, allocations: 0 / 436.1 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008598/0.3175, allocations: 0.8271 MB / 436.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.3175, allocations: 0 / 436.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-06/0.3175, allocations: 3.156 kB / 436.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3175, allocations: 0.5 kB / 436.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.3175, allocations: 19.64 kB / 436.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3175, allocations: 0.875 kB / 436.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3175, allocations: 1.578 kB / 436.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005526/0.3181, allocations: 0.5442 MB / 437.5 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002977/0.3184, allocations: 249.7 kB / 437.7 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.39e-05/0.3184, allocations: 11.72 kB / 437.7 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.3186, allocations: 9.984 kB / 437.7 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.3187, allocations: 23.62 kB / 437.7 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-05/0.3187, allocations: 66.33 kB / 437.8 MB, free: 7.742 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004194/0.3191, allocations: 390.2 kB / 438.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3191, allocations: 0 / 438.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003174/0.3195, allocations: 41.16 kB / 438.2 MB, free: 7.539 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.0008494/0.3203, allocations: 1.098 MB / 439.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004102/0.3207, allocations: 372 kB / 439.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3207, allocations: 3.375 kB / 439.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.3209, allocations: 301.2 kB / 440 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006038/0.3215, allocations: 113 kB / 440.1 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/0.3247, allocations: 2.778 MB / 442.9 MB, free: 4.145 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.325, allocations: 0.7994 MB / 443.7 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.165e-05/0.3251, allocations: 8.75 kB / 443.7 MB, free: 3.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.852e-05/0.3252, allocations: 26.03 kB / 443.7 MB, free: 3.391 MB / 350.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3252, allocations: 0 / 443.7 MB, free: 3.391 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02973/0.3549, allocations: 6.061 MB / 449.8 MB, free: 2.551 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.85/8.205, allocations: 8.547 kB / 449.8 MB, free: 2.547 MB / 350.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 & /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: 10.508221463765949] Failed to read output from testmodel.py, exit status != 0: ['time', 'nXFERGATE.y'] 8.2736712009646 8.288032159 8.171038963 Calling exit ...