Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 216.3 kB / 24.53 MB, free: 4.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.396/1.396, allocations: 230.6 MB / 258.3 MB, free: 7.996 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 43.92 kB / 378.6 MB, free: 3.223 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2555, allocations: 53.37 MB / 431.9 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002811/0.2583, allocations: 1.53 MB / 433.5 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.2603, allocations: 0.8887 MB / 434.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.588e-05/0.2604, allocations: 0 / 434.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.317e-05/0.2605, allocations: 11.92 kB / 434.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.2606, allocations: 23.84 kB / 434.4 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.2609, allocations: 47.89 kB / 434.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000222/0.2611, allocations: 139.7 kB / 434.6 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.348e-05/0.2612, allocations: 12.23 kB / 434.6 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006734/0.2619, allocations: 0.581 MB / 435.2 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.262, allocations: 71.69 kB / 435.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.2621, allocations: 12 kB / 435.2 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.765e-05/0.2621, allocations: 8 kB / 435.2 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.2622, allocations: 71.64 kB / 435.3 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.2623, allocations: 111.2 kB / 435.4 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004192/0.2627, allocations: 371.2 kB / 435.8 MB, free: 2.977 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2627, allocations: 4 kB / 435.8 MB, free: 2.973 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2627, allocations: 4 kB / 435.8 MB, free: 2.969 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.2627, allocations: 0 / 435.8 MB, free: 2.969 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.0008193/0.2636, allocations: 0.6552 MB / 436.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.2636, allocations: 15.91 kB / 436.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.286e-05/0.2636, allocations: 8.172 kB / 436.5 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.23e-05/0.2637, allocations: 34.75 kB / 436.5 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.015e-05/0.2637, allocations: 36.7 kB / 436.5 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.2641, allocations: 216.8 kB / 436.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.2641, allocations: 12.36 kB / 436.8 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.2641, allocations: 12.38 kB / 436.8 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000342/0.2644, allocations: 133.5 kB / 436.9 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.2645, allocations: 3.984 kB / 436.9 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.2645, allocations: 4 kB / 436.9 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2645, allocations: 0 / 436.9 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.2646, allocations: 55.97 kB / 437 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006885/0.2653, allocations: 431.6 kB / 437.4 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.2655, allocations: 82.47 kB / 437.5 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.2657, allocations: 60.89 kB / 437.5 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.2657, allocations: 4 kB / 437.5 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004501/0.2661, allocations: 202.8 kB / 437.7 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.2661, allocations: 0 / 437.7 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008776/0.267, allocations: 484.1 kB / 438.2 MB, free: 356 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.2671, allocations: 174.2 kB / 438.4 MB, free: 144 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006854/0.2678, allocations: 0.5052 MB / 438.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.727e-05/0.2679, allocations: 33.7 kB / 438.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.023e-05/0.2679, allocations: 97.09 kB / 439 MB, free: 15.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.403e-05/0.268, allocations: 27.84 kB / 439 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.2681, allocations: 77.56 kB / 439.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.2682, allocations: 326.8 kB / 439.4 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.2684, allocations: 60.03 kB / 439.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.2685, allocations: 85.61 kB / 439.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/0.2689, allocations: 342.8 kB / 439.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2689, allocations: 0 / 439.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005674/0.2695, allocations: 388.4 kB / 440.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.534e-05/0.2696, allocations: 130.7 kB / 440.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.2696, allocations: 3.984 kB / 440.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.2696, allocations: 0 / 440.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.823e-05/0.2696, allocations: 4.031 kB / 440.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.2696, allocations: 4 kB / 440.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.2697, allocations: 8 kB / 440.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-05/0.2698, allocations: 63.86 kB / 440.5 MB, free: 13.87 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.0003587/0.2702, allocations: 358.5 kB / 440.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.483e-05/0.2702, allocations: 39.77 kB / 440.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.2703, allocations: 67.08 kB / 441 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.2703, allocations: 4 kB / 441 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2703, allocations: 3.938 kB / 441 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.2703, allocations: 4 kB / 441 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.2714, allocations: 0.7929 MB / 441.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2714, allocations: 0 / 441.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-06/0.2714, allocations: 0 / 441.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2714, allocations: 0 / 441.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-05/0.2714, allocations: 15.98 kB / 441.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.2714, allocations: 3.938 kB / 441.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2714, allocations: 0 / 441.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007108/0.2721, allocations: 0.5371 MB / 442.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003725/0.2725, allocations: 209.3 kB / 442.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.539e-05/0.2726, allocations: 12.19 kB / 442.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.2727, allocations: 19.92 kB / 442.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.2728, allocations: 23.98 kB / 442.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.235e-05/0.2729, allocations: 55.98 kB / 442.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004792/0.2733, allocations: 386.9 kB / 443 MB, free: 11.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2733, allocations: 0 / 443 MB, free: 11.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.2736, allocations: 44 kB / 443 MB, free: 11.17 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.001059/0.2747, allocations: 1.095 MB / 444.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005133/0.2752, allocations: 381.5 kB / 444.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.2752, allocations: 0 / 444.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003053/0.2755, allocations: 301.6 kB / 444.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006354/0.2761, allocations: 127.4 kB / 444.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003588/0.2797, allocations: 2.751 MB / 447.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005078/0.2802, allocations: 0.7983 MB / 448.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.243e-05/0.2803, allocations: 8.656 kB / 448.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.389e-05/0.2804, allocations: 35.42 kB / 448.5 MB, free: 5.426 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2804, allocations: 4 kB / 448.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02822/0.3086, allocations: 6.233 MB / 454.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.19, allocations: 15.5 kB / 454.8 MB, free: 15.24 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Digital_Examples_NRXFER_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.51004467101302] Failed to read output from testmodel.py, exit status != 0: ['time', 'nRXFERGATE.y'] 11.350398209004197 11.37823279 11.110594308 Calling exit ...