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.001438/0.001438, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.00159/0.00159, allocations: 220.5 kB / 22.92 MB, free: 5.535 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.292/1.292, allocations: 230.5 MB / 256.4 MB, free: 8.422 MB / 206.1 MB " [Timeout remaining time 179] 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.001818/0.001818, allocations: 67.89 kB / 376.1 MB, free: 4.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2279, allocations: 53.31 MB / 429.4 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002426/0.2304, allocations: 1.537 MB / 430.9 MB, free: 5.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.2322, allocations: 0.8888 MB / 431.8 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.854e-05/0.2322, allocations: 4 kB / 431.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.582e-05/0.2323, allocations: 11.86 kB / 431.8 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.245e-05/0.2324, allocations: 15.88 kB / 431.8 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.2326, allocations: 55.81 kB / 431.9 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.2328, allocations: 123.8 kB / 432 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.49e-05/0.2329, allocations: 24.2 kB / 432 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005995/0.2335, allocations: 0.5732 MB / 432.6 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.2336, allocations: 75.69 kB / 432.7 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.18e-05/0.2337, allocations: 12 kB / 432.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.389e-05/0.2337, allocations: 8 kB / 432.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.448e-05/0.2338, allocations: 67.7 kB / 432.8 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.2339, allocations: 111.2 kB / 432.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003659/0.2343, allocations: 382.8 kB / 433.3 MB, free: 3.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2343, allocations: 0 / 433.3 MB, free: 3.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2343, allocations: 0 / 433.3 MB, free: 3.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.2343, allocations: 0 / 433.3 MB, free: 3.57 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.0007161/0.235, allocations: 0.7266 MB / 434 MB, free: 2.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.235, allocations: 12.03 kB / 434 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.687e-05/0.2351, allocations: 42.73 kB / 434 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.201e-05/0.2351, allocations: 44.64 kB / 434.1 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.2354, allocations: 274.6 kB / 434.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.2354, allocations: 8.375 kB / 434.4 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.2354, allocations: 16.36 kB / 434.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.2357, allocations: 129.7 kB / 434.5 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.2357, allocations: 4 kB / 434.5 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.2357, allocations: 3.984 kB / 434.5 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.2357, allocations: 4 kB / 434.5 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.2359, allocations: 55.97 kB / 434.6 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005863/0.2365, allocations: 468.4 kB / 435 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.2366, allocations: 82.53 kB / 435.1 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.2368, allocations: 60.89 kB / 435.2 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.2368, allocations: 0 / 435.2 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003117/0.2371, allocations: 206.8 kB / 435.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.2371, allocations: 0 / 435.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007592/0.2378, allocations: 480.1 kB / 435.8 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.2379, allocations: 178.2 kB / 436 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006044/0.2386, allocations: 0.5091 MB / 436.5 MB, free: 12 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.226e-05/0.2386, allocations: 29.7 kB / 436.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.8e-05/0.2387, allocations: 109 kB / 436.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.825e-05/0.2387, allocations: 27.84 kB / 436.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.2388, allocations: 81.55 kB / 436.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.2389, allocations: 326.8 kB / 437.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.2391, allocations: 59.97 kB / 437.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.2392, allocations: 73.69 kB / 437.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/0.2395, allocations: 346.2 kB / 437.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2395, allocations: 3.938 kB / 437.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005186/0.2401, allocations: 392.3 kB / 437.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.499e-05/0.2401, allocations: 122.8 kB / 438.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.2401, allocations: 0 / 438.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.2402, allocations: 0 / 438.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.723e-05/0.2402, allocations: 3.969 kB / 438.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2402, allocations: 8 kB / 438.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.2403, allocations: 15.98 kB / 438.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.04e-05/0.2404, allocations: 55.94 kB / 438.1 MB, free: 14.25 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.0003224/0.2407, allocations: 362.8 kB / 438.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.056e-05/0.2407, allocations: 35.77 kB / 438.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.694e-05/0.2408, allocations: 75.12 kB / 438.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2408, allocations: 0 / 438.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.2408, allocations: 0 / 438.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.2408, allocations: 4 kB / 438.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009246/0.2418, allocations: 0.8134 MB / 439.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2418, allocations: 3.938 kB / 439.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.607e-06/0.2418, allocations: 0 / 439.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.2418, allocations: 0 / 439.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.2418, allocations: 19.98 kB / 439.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2418, allocations: 0 / 439.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.2418, allocations: 3.938 kB / 439.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006239/0.2424, allocations: 0.5334 MB / 440 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003021/0.2427, allocations: 260.5 kB / 440.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/0.2428, allocations: 12.06 kB / 440.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.2429, allocations: 8 kB / 440.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.399e-05/0.243, allocations: 31.91 kB / 440.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.838e-05/0.2431, allocations: 59.92 kB / 440.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000439/0.2435, allocations: 386.9 kB / 440.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2435, allocations: 0 / 440.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.2438, allocations: 47.94 kB / 440.8 MB, free: 11.45 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.0009447/0.2447, allocations: 1.101 MB / 441.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004599/0.2452, allocations: 377.5 kB / 442.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2452, allocations: 0 / 442.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000269/0.2454, allocations: 301.6 kB / 442.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005813/0.246, allocations: 123.8 kB / 442.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003356/0.2494, allocations: 2.755 MB / 445.4 MB, free: 6.562 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.2498, allocations: 0.7983 MB / 446.2 MB, free: 5.738 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.274e-05/0.2499, allocations: 8.656 kB / 446.2 MB, free: 5.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.776e-05/0.2499, allocations: 27.42 kB / 446.2 MB, free: 5.703 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2499, allocations: 0 / 446.2 MB, free: 5.703 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02975/0.2797, allocations: 6.077 MB / 452.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.25/7.53, allocations: 7.188 kB / 452.3 MB, free: 15.64 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 & /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 --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: 9.60045860199898]