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.001728/0.001728, 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.002214/0.002214, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.403/1.403, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.001468/0.001468, allocations: 39.94 kB / 378.5 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2659, allocations: 53.37 MB / 431.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002848/0.2688, allocations: 1.526 MB / 433.4 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.2709, allocations: 0.9004 MB / 434.3 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.67e-05/0.2709, allocations: 0 / 434.3 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.124e-05/0.271, allocations: 11.81 kB / 434.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.413e-05/0.2711, allocations: 19.86 kB / 434.4 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.2714, allocations: 51.88 kB / 434.4 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.2716, allocations: 131.8 kB / 434.6 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.992e-05/0.2717, allocations: 12.22 kB / 434.6 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006191/0.2723, allocations: 0.581 MB / 435.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.2724, allocations: 75.69 kB / 435.2 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.425e-05/0.2725, allocations: 12 kB / 435.2 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.792e-05/0.2725, allocations: 15.94 kB / 435.2 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.367e-05/0.2726, allocations: 63.75 kB / 435.3 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.2727, allocations: 115.1 kB / 435.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003706/0.2731, allocations: 368.6 kB / 435.8 MB, free: 2.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2731, allocations: 0 / 435.8 MB, free: 2.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.897e-06/0.2731, allocations: 3.984 kB / 435.8 MB, free: 2.977 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.2731, allocations: 0 / 435.8 MB, free: 2.977 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.0007246/0.2738, allocations: 0.6591 MB / 436.4 MB, free: 2.262 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.2739, allocations: 8.031 kB / 436.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.308e-05/0.2739, allocations: 4.188 kB / 436.5 MB, free: 2.25 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.618e-05/0.2739, allocations: 46.67 kB / 436.5 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.452e-05/0.274, allocations: 40.7 kB / 436.5 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.2743, allocations: 216.8 kB / 436.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.2743, allocations: 8.375 kB / 436.8 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.2743, allocations: 12.36 kB / 436.8 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.2746, allocations: 125.5 kB / 436.9 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2746, allocations: 0 / 436.9 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.2746, allocations: 4 kB / 436.9 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2746, allocations: 8 kB / 436.9 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.2748, allocations: 59.95 kB / 437 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006492/0.2754, allocations: 439.5 kB / 437.4 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.2756, allocations: 70.55 kB / 437.5 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.2757, allocations: 60.89 kB / 437.5 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.2757, allocations: 0 / 437.5 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003606/0.2761, allocations: 216.4 kB / 437.7 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.2761, allocations: 0 / 437.7 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008077/0.2769, allocations: 472.1 kB / 438.2 MB, free: 368 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.277, allocations: 166.2 kB / 438.4 MB, free: 164 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006294/0.2776, allocations: 0.5091 MB / 438.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.2777, allocations: 33.7 kB / 438.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.78e-05/0.2777, allocations: 101.1 kB / 439 MB, free: 15.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.2778, allocations: 31.8 kB / 439 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.2779, allocations: 81.55 kB / 439.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.278, allocations: 330.9 kB / 439.4 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.2781, allocations: 55.91 kB / 439.5 MB, free: 15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.2783, allocations: 75.23 kB / 439.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003412/0.2786, allocations: 342.8 kB / 439.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2786, allocations: 4 kB / 439.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005383/0.2792, allocations: 392.2 kB / 440.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.958e-05/0.2792, allocations: 122.8 kB / 440.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2793, allocations: 0 / 440.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.2793, allocations: 4 kB / 440.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.586e-05/0.2793, allocations: 0 / 440.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.2793, allocations: 0 / 440.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.2794, allocations: 11.98 kB / 440.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-05/0.2795, allocations: 63.89 kB / 440.5 MB, free: 13.89 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.0003375/0.2798, allocations: 374.6 kB / 440.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-05/0.2799, allocations: 39.77 kB / 440.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.676e-05/0.28, allocations: 67.08 kB / 441 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.28, allocations: 0 / 441 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.28, allocations: 0 / 441 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.28, allocations: 0 / 441 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009643/0.2809, allocations: 0.7929 MB / 441.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2809, allocations: 0 / 441.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.112e-06/0.2809, allocations: 3.938 kB / 441.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/0.2809, allocations: 8 kB / 441.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.281, allocations: 8 kB / 441.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.281, allocations: 3.938 kB / 441.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.281, allocations: 0 / 441.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006527/0.2816, allocations: 0.5371 MB / 442.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003639/0.282, allocations: 205.3 kB / 442.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.97e-05/0.282, allocations: 15.98 kB / 442.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.2822, allocations: 11.94 kB / 442.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.2823, allocations: 31.95 kB / 442.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-05/0.2824, allocations: 60 kB / 442.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004576/0.2828, allocations: 382.9 kB / 443 MB, free: 11.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2828, allocations: 3.938 kB / 443 MB, free: 11.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.2831, allocations: 44 kB / 443 MB, free: 11.18 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.001043/0.2841, allocations: 1.104 MB / 444.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004802/0.2846, allocations: 373.5 kB / 444.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2846, allocations: 0 / 444.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002827/0.2849, allocations: 301.6 kB / 444.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005876/0.2855, allocations: 131.2 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.00335/0.2888, allocations: 2.747 MB / 447.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004637/0.2893, allocations: 0.8022 MB / 448.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.182e-05/0.2893, allocations: 4.672 kB / 448.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.945e-05/0.2894, allocations: 31.42 kB / 448.5 MB, free: 5.438 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2894, allocations: 0 / 448.5 MB, free: 5.438 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.3155, allocations: 6.235 MB / 454.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.26, allocations: 17.62 kB / 454.8 MB, free: 15.26 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.587028732988983] Failed to read output from testmodel.py, exit status != 0: ['time', 'nXFERGATE.y'] 11.415690799010918 11.430475807 11.154271955 Calling exit ...