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.001356/0.001356, allocations: 105.1 kB / 21.22 MB, free: 0.6211 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.001388/0.001388, allocations: 211.8 kB / 24.52 MB, free: 3.93 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.42/1.42, allocations: 230.6 MB / 258.3 MB, free: 7.758 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.001481/0.001481, allocations: 47.94 kB / 378.5 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2589, allocations: 53.36 MB / 431.9 MB, free: 6.586 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002754/0.2617, allocations: 1.487 MB / 433.3 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.2636, allocations: 0.8381 MB / 434.2 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.457e-05/0.2637, allocations: 0 / 434.2 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.693e-05/0.2637, allocations: 15.86 kB / 434.2 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.681e-05/0.2638, allocations: 15.88 kB / 434.2 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.2641, allocations: 55.88 kB / 434.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.2643, allocations: 131.7 kB / 434.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.19e-05/0.2644, allocations: 12.22 kB / 434.4 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006367/0.265, allocations: 0.581 MB / 435 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.2652, allocations: 79.67 kB / 435.1 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.453e-05/0.2652, allocations: 12 kB / 435.1 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.389e-05/0.2653, allocations: 8 kB / 435.1 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.711e-05/0.2653, allocations: 63.77 kB / 435.1 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.2655, allocations: 83.3 kB / 435.2 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003961/0.2659, allocations: 380.6 kB / 435.6 MB, free: 2.828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2659, allocations: 0 / 435.6 MB, free: 2.828 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2659, allocations: 0 / 435.6 MB, free: 2.828 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.2659, allocations: 0 / 435.6 MB, free: 2.828 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.0007769/0.2666, allocations: 0.6618 MB / 436.3 MB, free: 2.113 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.2667, allocations: 8.031 kB / 436.3 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.21e-05/0.2667, allocations: 192 / 436.3 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.752e-05/0.2668, allocations: 42.75 kB / 436.3 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.35e-05/0.2668, allocations: 36.7 kB / 436.3 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.2671, allocations: 224.8 kB / 436.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.2671, allocations: 8.375 kB / 436.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/0.2672, allocations: 8.375 kB / 436.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003735/0.2675, allocations: 244.3 kB / 436.8 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2675, allocations: 0 / 436.8 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.2676, allocations: 4 kB / 436.8 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2676, allocations: 4 kB / 436.8 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002207/0.2678, allocations: 178.8 kB / 437 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006701/0.2685, allocations: 423.5 kB / 437.4 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.2687, allocations: 193.3 kB / 437.6 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.2689, allocations: 187.7 kB / 437.8 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.2689, allocations: 0 / 437.8 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004474/0.2694, allocations: 333.5 kB / 438.1 MB, free: 16 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.2694, allocations: 4 kB / 438.1 MB, free: 12 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009976/0.2704, allocations: 0.6963 MB / 438.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.2705, allocations: 170.2 kB / 439 MB, free: 15.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006397/0.2711, allocations: 0.5091 MB / 439.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.2712, allocations: 29.7 kB / 439.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.125e-05/0.2712, allocations: 105.1 kB / 439.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.047e-05/0.2713, allocations: 39.72 kB / 439.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.2714, allocations: 77.56 kB / 439.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.2716, allocations: 326.8 kB / 440.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.2718, allocations: 178.8 kB / 440.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.272, allocations: 200.5 kB / 440.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003754/0.2724, allocations: 347.3 kB / 440.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2724, allocations: 0 / 440.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006619/0.273, allocations: 0.503 MB / 441.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/0.2731, allocations: 126.8 kB / 441.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2731, allocations: 4 kB / 441.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.2731, allocations: 4.031 kB / 441.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.891e-05/0.2732, allocations: 0 / 441.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2732, allocations: 0 / 441.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.2733, allocations: 11.98 kB / 441.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.579e-05/0.2734, allocations: 63.88 kB / 441.5 MB, free: 12.32 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.000365/0.2737, allocations: 362.5 kB / 441.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.758e-05/0.2738, allocations: 39.77 kB / 441.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.957e-05/0.2739, allocations: 63.08 kB / 441.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.2739, allocations: 3.984 kB / 441.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.2739, allocations: 8.094 kB / 441.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.2739, allocations: 7.938 kB / 441.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.275, allocations: 0.8817 MB / 442.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.275, allocations: 192 / 442.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.925e-06/0.275, allocations: 4 kB / 442.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.275, allocations: 7.938 kB / 442.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.2751, allocations: 8 kB / 442.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.2751, allocations: 3.938 kB / 442.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2751, allocations: 4 kB / 442.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007326/0.2758, allocations: 0.6559 MB / 443.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003481/0.2761, allocations: 209.3 kB / 443.7 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.859e-05/0.2762, allocations: 19.98 kB / 443.7 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.2763, allocations: 11.94 kB / 443.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.2764, allocations: 31.95 kB / 443.8 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.2e-05/0.2765, allocations: 52 kB / 443.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004621/0.277, allocations: 390.9 kB / 444.2 MB, free: 9.383 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.277, allocations: 0 / 444.2 MB, free: 9.383 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.2772, allocations: 40 kB / 444.2 MB, free: 9.344 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.001172/0.2784, allocations: 1.208 MB / 445.5 MB, free: 8.062 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000695/0.2791, allocations: 0.6124 MB / 446.1 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2791, allocations: 3.938 kB / 446.1 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004073/0.2795, allocations: 432.3 kB / 446.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006584/0.2802, allocations: 122.8 kB / 446.6 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004047/0.2842, allocations: 3.349 MB / 450 MB, free: 3.156 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.2845, allocations: 193.7 kB / 450.2 MB, free: 2.945 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.336e-05/0.2845, allocations: 12.72 kB / 450.2 MB, free: 2.934 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.809e-05/0.2846, allocations: 27.42 kB / 450.2 MB, free: 2.906 MB / 350.1 MB Notification: Performance of SimCode: time 9.21e-07/0.2846, allocations: 0 / 450.2 MB, free: 2.906 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02819/0.3128, allocations: 6.613 MB / 456.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.4, allocations: 6.875 kB / 456.8 MB, free: 12.38 MB / 366.1 MB " [Timeout remaining time 648] (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.74193507398013] Failed to read output from testmodel.py, exit status != 0: ['time', 'nRXFERGATE.y'] 11.557771201012656 11.571504982 11.302692649 Calling exit ...