Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.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.001568/0.001568, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001672/0.001672, allocations: 218.7 kB / 24.52 MB, free: 3.91 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.419/1.419, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.NXFER,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_NXFER",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_NXFER",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 47.92 kB / 378.5 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2645, allocations: 53.36 MB / 431.9 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002778/0.2673, allocations: 1.489 MB / 433.3 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.2693, allocations: 0.8343 MB / 434.2 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.995e-05/0.2693, allocations: 0 / 434.2 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.796e-05/0.2694, allocations: 15.86 kB / 434.2 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.342e-05/0.2695, allocations: 19.84 kB / 434.2 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.2698, allocations: 55.89 kB / 434.3 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.27, allocations: 127.7 kB / 434.4 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.965e-05/0.2701, allocations: 16.22 kB / 434.4 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006386/0.2707, allocations: 0.5771 MB / 435 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.2709, allocations: 75.69 kB / 435.1 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.418e-05/0.2709, allocations: 12 kB / 435.1 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.395e-05/0.271, allocations: 8 kB / 435.1 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.388e-05/0.2711, allocations: 63.77 kB / 435.1 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.2712, allocations: 83.3 kB / 435.2 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003951/0.2716, allocations: 376.6 kB / 435.6 MB, free: 2.926 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2716, allocations: 7.938 kB / 435.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2716, allocations: 0 / 435.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.2716, allocations: 0 / 435.6 MB, free: 2.918 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.0007357/0.2723, allocations: 0.6592 MB / 436.3 MB, free: 2.203 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.2724, allocations: 8.031 kB / 436.3 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.687e-05/0.2724, allocations: 4.188 kB / 436.3 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.182e-05/0.2724, allocations: 38.75 kB / 436.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.684e-05/0.2725, allocations: 36.7 kB / 436.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.2727, allocations: 224.8 kB / 436.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.2728, allocations: 4.375 kB / 436.6 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.2728, allocations: 8.375 kB / 436.6 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003777/0.2732, allocations: 248.3 kB / 436.8 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2732, allocations: 0 / 436.8 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.2732, allocations: 8 kB / 436.8 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2732, allocations: 3.938 kB / 436.8 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.2734, allocations: 178.8 kB / 437 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006433/0.2741, allocations: 419.5 kB / 437.4 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.2743, allocations: 193.3 kB / 437.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/0.2745, allocations: 179.7 kB / 437.8 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.2745, allocations: 0 / 437.8 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004436/0.275, allocations: 341.5 kB / 438.1 MB, free: 108 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.275, allocations: 0 / 438.1 MB, free: 108 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009606/0.276, allocations: 0.7009 MB / 438.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.2761, allocations: 162.2 kB / 439 MB, free: 15.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000622/0.2767, allocations: 0.5091 MB / 439.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.2767, allocations: 33.7 kB / 439.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.191e-05/0.2768, allocations: 105 kB / 439.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/0.2768, allocations: 31.83 kB / 439.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.2769, allocations: 77.56 kB / 439.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.2771, allocations: 326.8 kB / 440 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.2773, allocations: 182.8 kB / 440.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.2775, allocations: 196.5 kB / 440.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.2778, allocations: 354.2 kB / 440.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2778, allocations: 0 / 440.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006193/0.2784, allocations: 0.5031 MB / 441.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.276e-05/0.2785, allocations: 126.8 kB / 441.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.2785, allocations: 0 / 441.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.2786, allocations: 0 / 441.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.063e-05/0.2786, allocations: 4.125 kB / 441.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.2786, allocations: 7.969 kB / 441.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.2787, allocations: 15.98 kB / 441.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.266e-05/0.2788, allocations: 63.88 kB / 441.5 MB, free: 12.4 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.000347/0.2791, allocations: 358.5 kB / 441.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.318e-05/0.2792, allocations: 39.77 kB / 441.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.2793, allocations: 67.08 kB / 441.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2793, allocations: 0 / 441.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2793, allocations: 4 kB / 441.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.2793, allocations: 0 / 441.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.2803, allocations: 0.8856 MB / 442.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.2803, allocations: 11.94 kB / 442.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.22e-06/0.2803, allocations: 0 / 442.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2803, allocations: 0 / 442.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/0.2804, allocations: 15.98 kB / 442.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.2804, allocations: 3.938 kB / 442.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.2804, allocations: 7.969 kB / 442.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007479/0.2811, allocations: 0.6492 MB / 443.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003596/0.2815, allocations: 217.2 kB / 443.7 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.655e-05/0.2815, allocations: 12 kB / 443.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.2817, allocations: 11.94 kB / 443.7 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.2818, allocations: 27.97 kB / 443.8 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.41e-05/0.2818, allocations: 59.98 kB / 443.8 MB, free: 9.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004576/0.2823, allocations: 382.9 kB / 444.2 MB, free: 9.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2823, allocations: 0 / 444.2 MB, free: 9.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.2826, allocations: 44 kB / 444.2 MB, free: 9.434 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.001085/0.2837, allocations: 1.22 MB / 445.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006373/0.2843, allocations: 0.6046 MB / 446.1 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2843, allocations: 0 / 446.1 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003748/0.2847, allocations: 428.4 kB / 446.5 MB, free: 6.945 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005896/0.2853, allocations: 132.8 kB / 446.6 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003895/0.2892, allocations: 3.356 MB / 450 MB, free: 3.242 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.2894, allocations: 189.7 kB / 450.2 MB, free: 3.035 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.135e-05/0.2895, allocations: 8.609 kB / 450.2 MB, free: 3.027 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.785e-05/0.2895, allocations: 31.42 kB / 450.2 MB, free: 2.996 MB / 350.1 MB Notification: Performance of SimCode: time 9.91e-07/0.2895, allocations: 0 / 450.2 MB, free: 2.996 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02776/0.3173, allocations: 6.614 MB / 456.8 MB, free: 12.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.33, allocations: 11.34 kB / 456.8 MB, free: 12.46 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Digital_Examples_NXFER_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Digital_Examples_NXFER.fmu > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.652544261072762] Failed to read output from testmodel.py, exit status != 0: ['time', 'nXFERGATE.y'] 11.489956766017713 11.505412718 11.230683149 Calling exit ...