Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 101.5 kB / 21.21 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 190.7 kB / 24.49 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 225.7 MB / 253.3 MB, free: 12.83 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 47.92 kB / 371.2 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2744, allocations: 52.18 MB / 423.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003414/0.2778, allocations: 1.47 MB / 424.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.2798, allocations: 0.807 MB / 425.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.193e-05/0.2799, allocations: 0 / 425.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.28, allocations: 7.922 kB / 425.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.001e-05/0.2801, allocations: 23.78 kB / 425.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002829/0.2803, allocations: 55.89 kB / 425.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.2805, allocations: 123.8 kB / 425.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.2806, allocations: 16.2 kB / 425.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006502/0.2813, allocations: 0.581 MB / 426.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.2814, allocations: 79.69 kB / 426.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.822e-05/0.2815, allocations: 8 kB / 426.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.529e-05/0.2815, allocations: 12 kB / 426.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.409e-05/0.2816, allocations: 63.7 kB / 426.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.2817, allocations: 79.36 kB / 426.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004179/0.2821, allocations: 384.5 kB / 427 MB, free: 10.7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.2822, allocations: 4 kB / 427 MB, free: 10.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2822, allocations: 0 / 427 MB, free: 10.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.2822, allocations: 0 / 427 MB, free: 10.7 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.0007907/0.283, allocations: 0.6552 MB / 427.7 MB, free: 9.984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.283, allocations: 8.031 kB / 427.7 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.765e-05/0.283, allocations: 4.188 kB / 427.7 MB, free: 9.973 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.863e-05/0.2831, allocations: 46.75 kB / 427.8 MB, free: 9.918 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.86e-05/0.2831, allocations: 36.7 kB / 427.8 MB, free: 9.883 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.2834, allocations: 216.9 kB / 428 MB, free: 9.645 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.2835, allocations: 8.359 kB / 428 MB, free: 9.637 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.2835, allocations: 8.375 kB / 428 MB, free: 9.629 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003776/0.2839, allocations: 248.3 kB / 428.3 MB, free: 9.355 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.2839, allocations: 0 / 428.3 MB, free: 9.355 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.966e-05/0.2839, allocations: 11.98 kB / 428.3 MB, free: 9.344 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-06/0.2839, allocations: 0 / 428.3 MB, free: 9.344 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002101/0.2841, allocations: 178.8 kB / 428.5 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006271/0.2847, allocations: 419.6 kB / 428.9 MB, free: 8.691 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.285, allocations: 189.3 kB / 429 MB, free: 8.473 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002667/0.2853, allocations: 183.7 kB / 429.2 MB, free: 8.266 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.292e-06/0.2853, allocations: 0 / 429.2 MB, free: 8.266 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000475/0.2858, allocations: 321.5 kB / 429.5 MB, free: 7.902 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.2858, allocations: 4 kB / 429.5 MB, free: 7.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001079/0.2868, allocations: 0.7189 MB / 430.3 MB, free: 7.102 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.287, allocations: 162.2 kB / 430.4 MB, free: 6.906 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006665/0.2876, allocations: 0.5207 MB / 430.9 MB, free: 6.375 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.2877, allocations: 33.7 kB / 431 MB, free: 6.336 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.882e-05/0.2877, allocations: 97.12 kB / 431.1 MB, free: 6.238 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.947e-05/0.2878, allocations: 39.72 kB / 431.1 MB, free: 6.199 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.2879, allocations: 77.56 kB / 431.2 MB, free: 6.117 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.2881, allocations: 330.8 kB / 431.5 MB, free: 5.785 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.2883, allocations: 174.8 kB / 431.7 MB, free: 5.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.2885, allocations: 192.5 kB / 431.9 MB, free: 5.371 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003802/0.2889, allocations: 351.3 kB / 432.2 MB, free: 4.973 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2889, allocations: 0 / 432.2 MB, free: 4.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007061/0.2896, allocations: 0.5106 MB / 432.7 MB, free: 4.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.2897, allocations: 122.8 kB / 432.8 MB, free: 4.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.2897, allocations: 4 kB / 432.8 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.2897, allocations: 0 / 432.8 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.932e-05/0.2897, allocations: 0 / 432.8 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.2897, allocations: 0 / 432.8 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.2899, allocations: 11.98 kB / 432.9 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.582e-05/0.2899, allocations: 63.88 kB / 432.9 MB, free: 4.188 MB / 334.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.0003725/0.2903, allocations: 362.5 kB / 433.3 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.26e-05/0.2904, allocations: 43.8 kB / 433.3 MB, free: 3.758 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.2905, allocations: 67.2 kB / 433.4 MB, free: 3.688 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.2905, allocations: 0 / 433.4 MB, free: 3.688 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.2905, allocations: 4 kB / 433.4 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.2905, allocations: 0 / 433.4 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.2916, allocations: 0.8934 MB / 434.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2916, allocations: 0 / 434.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.088e-06/0.2916, allocations: 0 / 434.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2916, allocations: 4 kB / 434.3 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/0.2916, allocations: 11.94 kB / 434.3 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.2916, allocations: 3.938 kB / 434.3 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2916, allocations: 8 kB / 434.3 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007692/0.2924, allocations: 0.657 MB / 435 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003635/0.2927, allocations: 209.3 kB / 435.2 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.039e-05/0.2928, allocations: 12 kB / 435.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.2929, allocations: 11.94 kB / 435.2 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.293, allocations: 27.97 kB / 435.2 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.426e-05/0.2931, allocations: 55.94 kB / 435.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000478/0.2936, allocations: 390.9 kB / 435.7 MB, free: 1.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2936, allocations: 0 / 435.7 MB, free: 1.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.2939, allocations: 44 kB / 435.7 MB, free: 1.207 MB / 334.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.001135/0.295, allocations: 1.224 MB / 436.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006642/0.2957, allocations: 0.6046 MB / 437.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2957, allocations: 0 / 437.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000385/0.2961, allocations: 432.3 kB / 437.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005922/0.2966, allocations: 119.9 kB / 438.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004224/0.3009, allocations: 3.364 MB / 441.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.3012, allocations: 197.6 kB / 441.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.143e-05/0.3012, allocations: 8.656 kB / 441.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.52e-05/0.3013, allocations: 31.42 kB / 441.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3013, allocations: 0 / 441.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03076/0.3321, allocations: 6.607 MB / 448.3 MB, free: 4.238 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.32, allocations: 4.062 kB / 448.3 MB, free: 4.234 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.62868320895359] Failed to read output from testmodel.py, exit status != 0: ['time', 'nRXFERGATE.y'] 11.482387996977195 11.497618052 11.212410267 Calling exit ...