Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.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.001259/0.001259, 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.001294/0.001294, allocations: 189.5 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.388/1.388, allocations: 225.7 MB / 253.3 MB, free: 12.8 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.NXFER,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NXFER",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NXFER",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 48.06 kB / 371.2 MB, free: 9.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2726, allocations: 52.18 MB / 423.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002801/0.2754, allocations: 1.478 MB / 424.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.2773, allocations: 0.8108 MB / 425.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.036e-05/0.2774, allocations: 0 / 425.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.408e-05/0.2774, allocations: 7.922 kB / 425.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.394e-05/0.2775, allocations: 27.8 kB / 425.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.2778, allocations: 51.88 kB / 425.7 MB, free: 12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002238/0.278, allocations: 131.8 kB / 425.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.671e-05/0.2781, allocations: 16.2 kB / 425.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006677/0.2788, allocations: 0.5809 MB / 426.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.279, allocations: 75.73 kB / 426.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.5e-05/0.279, allocations: 8 kB / 426.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.555e-05/0.279, allocations: 12 kB / 426.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.2791, allocations: 63.7 kB / 426.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.2793, allocations: 83.36 kB / 426.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004218/0.2797, allocations: 384.5 kB / 427.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2797, allocations: 0 / 427.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2797, allocations: 0 / 427.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.2797, allocations: 0 / 427.1 MB, free: 10.66 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.0007996/0.2805, allocations: 0.6552 MB / 427.7 MB, free: 9.949 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.2805, allocations: 12.03 kB / 427.7 MB, free: 9.938 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.314e-05/0.2805, allocations: 192 / 427.7 MB, free: 9.938 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.332e-05/0.2806, allocations: 38.73 kB / 427.8 MB, free: 9.891 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.2807, allocations: 44.7 kB / 427.8 MB, free: 9.848 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.281, allocations: 208.9 kB / 428 MB, free: 9.617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.281, allocations: 12.38 kB / 428 MB, free: 9.605 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.281, allocations: 8.375 kB / 428 MB, free: 9.598 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004005/0.2814, allocations: 252.3 kB / 428.3 MB, free: 9.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.2814, allocations: 0 / 428.3 MB, free: 9.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.2814, allocations: 4 kB / 428.3 MB, free: 9.316 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.2814, allocations: 0 / 428.3 MB, free: 9.316 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002317/0.2817, allocations: 178.8 kB / 428.5 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006824/0.2824, allocations: 419.5 kB / 428.9 MB, free: 8.664 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/0.2826, allocations: 193.3 kB / 429.1 MB, free: 8.441 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.2829, allocations: 183.7 kB / 429.2 MB, free: 8.234 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.2829, allocations: 3.984 kB / 429.2 MB, free: 8.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004726/0.2833, allocations: 325.6 kB / 429.6 MB, free: 7.863 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.452e-06/0.2833, allocations: 3.938 kB / 429.6 MB, free: 7.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001001/0.2843, allocations: 0.7049 MB / 430.3 MB, free: 7.074 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.2845, allocations: 170.2 kB / 430.4 MB, free: 6.871 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006764/0.2851, allocations: 0.5168 MB / 430.9 MB, free: 6.344 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/0.2852, allocations: 29.7 kB / 431 MB, free: 6.309 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.22e-05/0.2853, allocations: 101.1 kB / 431.1 MB, free: 6.207 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.2853, allocations: 23.81 kB / 431.1 MB, free: 6.184 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.2854, allocations: 97.42 kB / 431.2 MB, free: 6.082 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2856, allocations: 322.8 kB / 431.5 MB, free: 5.758 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.2858, allocations: 178.8 kB / 431.7 MB, free: 5.559 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.286, allocations: 196.5 kB / 431.9 MB, free: 5.336 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003838/0.2864, allocations: 354.8 kB / 432.2 MB, free: 4.938 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.2864, allocations: 4 kB / 432.2 MB, free: 4.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006731/0.2871, allocations: 0.4991 MB / 432.7 MB, free: 4.379 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.2872, allocations: 122.8 kB / 432.8 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2872, allocations: 0 / 432.8 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.2872, allocations: 8.031 kB / 432.9 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.197e-05/0.2872, allocations: 3.984 kB / 432.9 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.2872, allocations: 0 / 432.9 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.2874, allocations: 8 kB / 432.9 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.007e-05/0.2874, allocations: 63.86 kB / 432.9 MB, free: 4.152 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.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.0004003/0.2878, allocations: 362.5 kB / 433.3 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.695e-05/0.2879, allocations: 43.7 kB / 433.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.288, allocations: 67.08 kB / 433.4 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.288, allocations: 0 / 433.4 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.288, allocations: 0 / 433.4 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.288, allocations: 4 kB / 433.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.2892, allocations: 0.8896 MB / 434.3 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2892, allocations: 3.938 kB / 434.3 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.17e-06/0.2892, allocations: 0 / 434.3 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.2892, allocations: 0 / 434.3 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.008e-05/0.2892, allocations: 15.98 kB / 434.3 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.2892, allocations: 3.938 kB / 434.3 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.2892, allocations: 0 / 434.3 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007698/0.29, allocations: 0.6609 MB / 435 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003659/0.2904, allocations: 205.3 kB / 435.2 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.918e-05/0.2904, allocations: 12.19 kB / 435.2 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.2905, allocations: 23.92 kB / 435.2 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.2906, allocations: 27.97 kB / 435.2 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.992e-05/0.2907, allocations: 59.92 kB / 435.3 MB, free: 1.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004856/0.2912, allocations: 382.9 kB / 435.7 MB, free: 1.215 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2912, allocations: 0 / 435.7 MB, free: 1.215 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002937/0.2915, allocations: 44 kB / 435.7 MB, free: 1.172 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,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.001215/0.2927, allocations: 1.216 MB / 436.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006925/0.2934, allocations: 0.6085 MB / 437.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2934, allocations: 4.062 kB / 437.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003954/0.2938, allocations: 424.3 kB / 437.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006142/0.2944, allocations: 134.5 kB / 438.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004108/0.2985, allocations: 3.352 MB / 441.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.2988, allocations: 193.6 kB / 441.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.517e-05/0.2989, allocations: 12.64 kB / 441.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/0.2989, allocations: 27.44 kB / 441.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of SimCode: time 6.72e-07/0.2989, allocations: 0 / 441.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02772/0.3266, allocations: 6.598 MB / 448.3 MB, free: 4.219 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.35, allocations: 4 kB / 448.3 MB, free: 4.215 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NXFER_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NXFER.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.697405070997775] Failed to read output from testmodel.py, exit status != 0: ['time', 'nXFERGATE.y'] 11.516126043978147 11.54097118 11.255910632 Calling exit ...